Merge remote-tracking branch 'origin/main'

main
王家东 3 months ago
commit a610e2c359
  1. 16
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java
  2. 28
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java
  3. 6
      jeecgboot-vue3-master/src/api/common/api.ts
  4. 12
      jeecgboot-vue3-master/src/api/demo/depart.ts
  5. 25
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/individual.vue
  6. 65
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/organizingCommittee.vue
  7. 22
      jeecgboot-vue3-master/src/views/depart/workbench/components/chExpert/index.vue

@ -50,6 +50,7 @@ import org.jeecg.modules.demo.expert.entity.Expert;
import org.jeecg.modules.demo.expert.service.IExpertService; import org.jeecg.modules.demo.expert.service.IExpertService;
import org.jeecg.modules.demo.expscore.entity.ExpScore; import org.jeecg.modules.demo.expscore.entity.ExpScore;
import org.jeecg.modules.demo.expscore.service.IExpScoreService; import org.jeecg.modules.demo.expscore.service.IExpScoreService;
import org.jeecg.modules.demo.projectlevel.service.IProjectlevelService;
import org.jeecg.modules.demo.score_management.entity.ScoreManagement; import org.jeecg.modules.demo.score_management.entity.ScoreManagement;
import org.jeecg.modules.demo.scorepersion.entity.ScorePersion; import org.jeecg.modules.demo.scorepersion.entity.ScorePersion;
import org.jeecg.modules.demo.scorepersion.service.IScorePersionService; import org.jeecg.modules.demo.scorepersion.service.IScorePersionService;
@ -143,6 +144,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
@Autowired @Autowired
private IInstructorSheetService instructorSheetService; private IInstructorSheetService instructorSheetService;
@Autowired
private IProjectlevelService projectlevelService;
/** /**
* 分页列表查询 * 分页列表查询
@ -1406,6 +1410,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
mapall1.put("xh",p+1); mapall1.put("xh",p+1);
mapall1.put("ndbs",annualCompService.getById(listacp.get(p).getAnnualCompId()).getName()); mapall1.put("ndbs",annualCompService.getById(listacp.get(p).getAnnualCompId()).getName());
mapall1.put("ndbsxm",listacp.get(p).getObjName()); mapall1.put("ndbsxm",listacp.get(p).getObjName());
//加上年度和层次
mapall1.put("nd",annualService.getById(annualCompService.getById(listacp.get(p).getAnnualCompId()).getAnnualid()).getAnnualName());
mapall1.put("cc",projectlevelService.getById(listacp.get(p).getObjLevel()).getName());
jxzListMap.add(mapall1); jxzListMap.add(mapall1);
} }
}else{ }else{
@ -1414,6 +1421,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
mapall2.put("xh",o+1); mapall2.put("xh",o+1);
mapall2.put("ndbs",annualCompService.getById(listacp.get(o).getAnnualCompId()).getName()); mapall2.put("ndbs",annualCompService.getById(listacp.get(o).getAnnualCompId()).getName());
mapall2.put("ndbsxm",listacp.get(o).getObjName()); mapall2.put("ndbsxm",listacp.get(o).getObjName());
//加上年度和层次
mapall2.put("nd",annualService.getById(annualCompService.getById(listacp.get(o).getAnnualCompId()).getAnnualid()).getAnnualName());
mapall2.put("cc",projectlevelService.getById(listacp.get(o).getObjLevel()).getName());
jxzListMap.add(mapall2); jxzListMap.add(mapall2);
} }
} }
@ -1431,6 +1441,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
mapall3.put("xh",q+1); mapall3.put("xh",q+1);
mapall3.put("ndbs",annualCompService.getById(listacpls.get(q).getAnnualCompId()).getName()); mapall3.put("ndbs",annualCompService.getById(listacpls.get(q).getAnnualCompId()).getName());
mapall3.put("ndbsxm",listacpls.get(q).getObjName()); mapall3.put("ndbsxm",listacpls.get(q).getObjName());
//加上年度和层次
mapall3.put("nd",annualService.getById(annualCompService.getById(listacpls.get(q).getAnnualCompId()).getAnnualid()).getAnnualName());
mapall3.put("cc",projectlevelService.getById(listacpls.get(q).getObjLevel()).getName());
lsListMap.add(mapall3); lsListMap.add(mapall3);
} }
}else{ }else{
@ -1439,6 +1452,9 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
mapall4.put("xh",w+1); mapall4.put("xh",w+1);
mapall4.put("ndbs",annualCompService.getById(listacpls.get(w).getAnnualCompId()).getName()); mapall4.put("ndbs",annualCompService.getById(listacpls.get(w).getAnnualCompId()).getName());
mapall4.put("ndbsxm",listacpls.get(w).getObjName()); mapall4.put("ndbsxm",listacpls.get(w).getObjName());
//加上年度和层次
mapall4.put("nd",annualService.getById(annualCompService.getById(listacpls.get(w).getAnnualCompId()).getAnnualid()).getAnnualName());
mapall4.put("cc",projectlevelService.getById(listacpls.get(w).getObjLevel()).getName());
lsListMap.add(mapall4); lsListMap.add(mapall4);
} }
} }

@ -1741,7 +1741,7 @@ public class AnnualCompetitionProjectRegistrationController {
*/ */
@ApiOperation(value="学生角色分析报告数据接口", notes="学生角色分析报告数据接口") @ApiOperation(value="学生角色分析报告数据接口", notes="学生角色分析报告数据接口")
@GetMapping(value = "/xsfxbg") @GetMapping(value = "/xsfxbg")
public Result<?> xsfxbg( HttpServletRequest req,@RequestParam(name = "recreateFlag") boolean recreateFlag) { public Result<?> xsfxbg( HttpServletRequest req,@RequestParam(name = "recreateFlag") boolean recreateFlag,@RequestParam(name = "annualid") String annualid) {
final String XSFXBG = "xsfxbg"; final String XSFXBG = "xsfxbg";
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
@ -1762,6 +1762,22 @@ public class AnnualCompetitionProjectRegistrationController {
QueryWrapper<AnnualCompetitionProjectRegistration> queryWrapperbm = QueryGenerator.initQueryWrapper(annualCompetitionProjectRegistration, req.getParameterMap()); QueryWrapper<AnnualCompetitionProjectRegistration> queryWrapperbm = QueryGenerator.initQueryWrapper(annualCompetitionProjectRegistration, req.getParameterMap());
queryWrapperbm.in("enroll_code",bmbhs); queryWrapperbm.in("enroll_code",bmbhs);
queryWrapperbm.eq("enroll_static", "2"); queryWrapperbm.eq("enroll_static", "2");
//年度id传过来后需要根据年度id查询有哪些年度比赛,根据年度比赛查询年度比赛项目,然后把得到的年度比赛项目id加到条件中
if(!annualid.equals("")){
QueryWrapper<AnnualComp> queryWrapperAnnual = new QueryWrapper<>();
queryWrapperAnnual.eq("annualid",annualid);
List<AnnualComp> listac = annualCompService.list(queryWrapperAnnual);
if(listac.size()>0){
List<String> tjndbsids = listac.stream().map(AnnualComp::getId).collect(Collectors.toList());
QueryWrapper<AnnualCompPoint> queryWrapperacpt = new QueryWrapper<>();
queryWrapperacpt.in("annual_comp_id",tjndbsids);
List<AnnualCompPoint> listacpt = annualCompPointService.list(queryWrapperacpt);
if(listacpt.size()>0){
List<String> tjndbsxmids = listacpt.stream().map(AnnualCompPoint::getId).collect(Collectors.toList());
queryWrapperbm.in("annual_compid",tjndbsxmids);
}
}
}
List<AnnualCompetitionProjectRegistration> listbm = annualCompetitionProjectRegistrationService.list(queryWrapperbm); List<AnnualCompetitionProjectRegistration> listbm = annualCompetitionProjectRegistrationService.list(queryWrapperbm);
//参加比赛项目数量 //参加比赛项目数量
map.put("cjbsxmsl",listbm.size()); map.put("cjbsxmsl",listbm.size());
@ -2019,7 +2035,7 @@ public class AnnualCompetitionProjectRegistrationController {
if (hasKey) { if (hasKey) {
return Result.OK(redisUtil.get(XSFXBG)); return Result.OK(redisUtil.get(XSFXBG));
} else { } else {
return this.xsfxbg(req,true); return this.xsfxbg(req,true,annualid);
} }
} }
} }
@ -2033,7 +2049,7 @@ public class AnnualCompetitionProjectRegistrationController {
*/ */
@ApiOperation(value="组委会角色分析报告比赛数据接口", notes="组委会角色分析报告比赛数据接口") @ApiOperation(value="组委会角色分析报告比赛数据接口", notes="组委会角色分析报告比赛数据接口")
@GetMapping(value = "/zwhfxbg") @GetMapping(value = "/zwhfxbg")
public Result<?> zwhfxbg( HttpServletRequest req,@RequestParam(name = "recreateFlag") boolean recreateFlag) { public Result<?> zwhfxbg( HttpServletRequest req,@RequestParam(name = "recreateFlag") boolean recreateFlag,@RequestParam(name = "annualid") String annualid) {
final String ZWHFXBG = "zwhfxbg"; final String ZWHFXBG = "zwhfxbg";
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
if (recreateFlag) { if (recreateFlag) {
@ -2048,6 +2064,10 @@ public class AnnualCompetitionProjectRegistrationController {
List<String> ids = list.stream().map(Comp::getId).collect(Collectors.toList()); List<String> ids = list.stream().map(Comp::getId).collect(Collectors.toList());
QueryWrapper<AnnualComp> queryWrapperAnnual = new QueryWrapper<>(); QueryWrapper<AnnualComp> queryWrapperAnnual = new QueryWrapper<>();
queryWrapperAnnual.in(ids.size() != 0, "compid", ids); queryWrapperAnnual.in(ids.size() != 0, "compid", ids);
//加上判断如果年度id传过来就加上条件
if(!annualid.equals("")){
queryWrapperAnnual.eq("annualid",annualid);
}
queryWrapperAnnual.orderByDesc("create_time"); queryWrapperAnnual.orderByDesc("create_time");
List<AnnualComp> annualCompList = annualCompService.list(queryWrapperAnnual); List<AnnualComp> annualCompList = annualCompService.list(queryWrapperAnnual);
if (annualCompList.size() > 0) { if (annualCompList.size() > 0) {
@ -2395,7 +2415,7 @@ public class AnnualCompetitionProjectRegistrationController {
if (hasKey) { if (hasKey) {
return Result.OK(redisUtil.get(ZWHFXBG)); return Result.OK(redisUtil.get(ZWHFXBG));
} else { } else {
return this.zwhfxbg(req,true); return this.zwhfxbg(req,true,annualid);
} }
} }
} }

@ -186,10 +186,12 @@ export const getStudent = (params={recreateFlag:false}) => {
// 组委会报告 // 组委会报告
// /annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg // /annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg
export const getOrganizingCommitteeReport = (params={recreateFlag:false}) => { export const getOrganizingCommitteeReport = (params = {}) => {
const par = { recreateFlag: false, annualid: '' };
Object.assign(par, params);
return defHttp.get({ return defHttp.get({
url: '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg', url: '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg',
params params: par
}) })
} }
// /user/login/homepage/report4School // /user/login/homepage/report4School

@ -10,6 +10,14 @@ enum Api {
// Get personal center-basic settings // Get personal center-basic settings
export const pageSchoolApi = () => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_SCHOOL }); export const pageSchoolApi = () => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_SCHOOL });
export const pageDepartmentApi = (orgCode: string) => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_DEPARTMENT, params: { orgCode } }); export const pageDepartmentApi = (orgCode: string) => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_DEPARTMENT, params: { orgCode } });
export const getZjsybsjs = (params = { recreateFlag: false }) => defHttp.get({ url: Api.PAGE_ZJSYBSJS, params }); export const getZjsybsjs = (params = {}) => {
export const getXsfxbg = (params = { recreateFlag: false }) => defHttp.get({ url: Api.PAGE_XSFXBG, params }); const par = { recreateFlag: false };
Object.assign(par, params);
return defHttp.get({ url: Api.PAGE_ZJSYBSJS, params: par });
};
export const getXsfxbg = (params = {}) => {
const par = { recreateFlag: false, annualid: '' };
Object.assign(par, params);
return defHttp.get({ url: Api.PAGE_XSFXBG, params: par });
};

@ -1,6 +1,8 @@
<template> <template>
<div style="padding: 30px 18.6vw 0; width: 100%;margin: auto;">
年度<j-dict-select-tag placeholder="请选择年度" v-model:value="annualid" dictCode="annual,annual_name,id" />
</div>
<div class="personage" v-if="isLoading"> <div class="personage" v-if="isLoading">
<h1 class="title">机电学院比赛个人报告</h1> <h1 class="title">机电学院比赛个人报告</h1>
<div class="rebuild"> <div class="rebuild">
<div @click="Rebuild">重新生成报告</div> <div @click="Rebuild">重新生成报告</div>
@ -130,13 +132,17 @@
</div> </div>
</div> </div>
<div class="loading" v-else>
<a-spin />
</div>
</template> </template>
<script lang='ts' setup> <script lang='ts' setup>
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import cardList from './components/cardList.vue'; import cardList from './components/cardList.vue';
import randerChart from './components/randerChart.vue'; import randerChart from './components/randerChart.vue';
import { getXsfxbg } from '/@/api/demo/depart'; import { getXsfxbg } from '/@/api/demo/depart';
import { ref } from 'vue'; import { ref, watch } from 'vue';
type allApList = { type allApList = {
jxname: string jxname: string
@ -168,13 +174,26 @@ getXsfxbg().then(res => {
}) })
const Rebuild = async () => { const Rebuild = async () => {
isLoading.value = false isLoading.value = false
const res = await getXsfxbg({ recreateFlag: true }) const res = await getXsfxbg({ recreateFlag: true, annualid: annualid.value })
data.value = res data.value = res
isLoading.value = true isLoading.value = true
} }
const annualid = ref('')
watch(() => annualid.value, () => {
Rebuild()
})
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
.loading {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.rebuild { .rebuild {
display: flex; display: flex;
justify-content: center; justify-content: center;

@ -1,10 +1,15 @@
<template> <template>
<div style="padding: 30px 18.6vw 0; width: 100%;margin: auto;">
年度<j-dict-select-tag placeholder="请选择年度" v-model:value="annualid" dictCode="annual,annual_name,id" />
</div>
<div class="container" v-if="loading"> <div class="container" v-if="loading">
<div class="title">河南机电学院比赛 {{ data.annualCompName }} 组委会报告</div> <div class="title">河南机电学院比赛 {{ data.annualCompName }} 组委会报告</div>
<div class="rebuild" ><div @click="Rebuild">重新生成报告</div></div> <div class="rebuild">
<p class="description" <div @click="Rebuild">重新生成报告</div>
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p </div>
> <p class="description">
我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:
</p>
<div class="card-content"> <div class="card-content">
<div class="item"> <div class="item">
<div class="top-title">当前届数</div> <div class="top-title">当前届数</div>
@ -24,9 +29,9 @@
</div> </div>
</div> </div>
<cardTitle title="参赛学生综合能力评价分析" /> <cardTitle title="参赛学生综合能力评价分析" />
<p class="description" <p class="description">
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p 我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:
> </p>
<div class="year-content"> <div class="year-content">
<div class="left border-000"> <div class="left border-000">
<div class="border-title">年度维度分析</div> <div class="border-title">年度维度分析</div>
@ -37,18 +42,18 @@
</div> </div>
</div> </div>
<cardTitle title="比赛学生获奖情况分析" /> <cardTitle title="比赛学生获奖情况分析" />
<p class="description" <p class="description">
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p 我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:
> </p>
<div class="participation-status-content"> <div class="participation-status-content">
<div class="right border-000"> <div class="right border-000">
<cardList7 :data="data.allApList" /> <cardList7 :data="data.allApList" />
</div> </div>
</div> </div>
<cardTitle title="部门参赛情况分析" /> <cardTitle title="部门参赛情况分析" />
<p class="description" <p class="description">
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p 我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:
> </p>
<div class="participation-status-content"> <div class="participation-status-content">
<div class="right border-000"> <div class="right border-000">
<cardList8 :data="data.csyxbmpm" /> <cardList8 :data="data.csyxbmpm" />
@ -68,7 +73,8 @@
import cardList8 from './components/cardList8.vue'; import cardList8 from './components/cardList8.vue';
import randerChart from './components/randerChart.vue'; import randerChart from './components/randerChart.vue';
import { getOrganizingCommitteeReport } from '/@/api/common/api'; import { getOrganizingCommitteeReport } from '/@/api/common/api';
import {ref} from 'vue' import { ref, watch } from 'vue'
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
const data = ref<any>({}) const data = ref<any>({})
const loading = ref<any>(false) const loading = ref<any>(false)
const getOrganizingCommitteeReportEvent = async () => { const getOrganizingCommitteeReportEvent = async () => {
@ -82,12 +88,21 @@
const Rebuild = async () => { const Rebuild = async () => {
loading.value = false loading.value = false
const res = await getOrganizingCommitteeReport({recreateFlag:true const res = await getOrganizingCommitteeReport({
recreateFlag: true,
annualid: annualid.value
}) })
console.log(res); console.log(res);
data.value = res data.value = res
loading.value = true loading.value = true
} }
// ===============
const annualid = ref('')
watch(() => annualid.value, () => {
Rebuild()
})
// ===============
const formatTitle = (index: number) => { const formatTitle = (index: number) => {
const arr: any = ['当前届数', '参赛人数', '参赛队伍数', '比赛项目数']; const arr: any = ['当前届数', '参赛人数', '参赛队伍数', '比赛项目数'];
return arr[index]; return arr[index];
@ -164,23 +179,28 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.container { .container {
width: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
// height: 100vh; // height: 100vh;
padding-bottom: 30px; padding-bottom: 30px;
.title { .title {
width: 100%; width: 100%;
font-size: 36px; font-size: 36px;
text-align: center; text-align: center;
font-weight: 700; font-weight: 700;
} }
.description { .description {
text-indent: 2em; text-indent: 2em;
margin: 30px 0; margin: 30px 0;
} }
.card-content { .card-content {
display: flex; display: flex;
.item { .item {
width: 25%; width: 25%;
height: 100px; height: 100px;
@ -190,14 +210,17 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
padding: 10px 15px; padding: 10px 15px;
.top-title { .top-title {
font-size: 12px; font-size: 12px;
color: #aaa; color: #aaa;
} }
.sum { .sum {
font-size: 36px; font-size: 36px;
font-weight: 700; font-weight: 700;
} }
.content { .content {
display: flex; display: flex;
width: 100%; width: 100%;
@ -207,48 +230,58 @@
color: #999; color: #999;
} }
} }
.item:nth-child(4) { .item:nth-child(4) {
margin: 0; margin: 0;
} }
} }
.year-content { .year-content {
width: 100%; width: 100%;
height: auto; height: auto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.left { .left {
width: 500px; width: 500px;
height: 500px; height: 500px;
} }
.right { .right {
flex: 1; flex: 1;
height: auto; height: auto;
margin-left: 50px; margin-left: 50px;
} }
} }
.participation-status-content { .participation-status-content {
width: 100%; width: 100%;
height: auto; height: auto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.left { .left {
width: 500px; width: 500px;
height: 500px; height: 500px;
margin-left: 50px; margin-left: 50px;
} }
.right { .right {
flex: 1; flex: 1;
height: auto; height: auto;
} }
} }
.footer { .footer {
width: 100%; width: 100%;
margin: 30px 0; margin: 30px 0;
} }
} }
.border-000 { .border-000 {
border: 1px solid #000; border: 1px solid #000;
} }
.border-title { .border-title {
width: 100%; width: 100%;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
@ -257,9 +290,11 @@
font-size: 14px; font-size: 14px;
padding: 0 20px; padding: 0 20px;
} }
.rebuild { .rebuild {
display: flex; display: flex;
justify-content: center; justify-content: center;
div { div {
cursor: pointer; cursor: pointer;
} }

@ -56,15 +56,19 @@
<div class="table"> <div class="table">
<div class="t_item t_head"> <div class="t_item t_head">
<div class="ranking">序号</div> <div class="ranking">序号</div>
<div class="nd">年度</div>
<div class="name">年度比赛名称</div> <div class="name">年度比赛名称</div>
<div class="newp">年度比赛项目</div> <div class="newp">年度比赛项目</div>
<div class="cc">项目层次</div>
</div> </div>
<div class="t_item t_con" v-for="o, i in data.jxzndbsxmList" :key="i"> <div class="t_item t_con" v-for="o, i in data.jxzndbsxmList" :key="i">
<div class="ranking"> <div class="ranking">
<div class="ol">{{ o.xh }}</div> <div class="ol">{{ o.xh }}</div>
</div> </div>
<div class="nd">{{ o.nd }}</div>
<div class="name">{{ o.ndbs }}</div> <div class="name">{{ o.ndbs }}</div>
<div class="newp">{{ o.ndbsxm }}</div> <div class="newp">{{ o.ndbsxm }}</div>
<div class="cc">{{ o.cc }}</div>
</div> </div>
<a-empty v-if="!data.jxzndbsxmList.length" style="margin-top: 50px;" /> <a-empty v-if="!data.jxzndbsxmList.length" style="margin-top: 50px;" />
@ -85,15 +89,19 @@
<div class="table"> <div class="table">
<div class="t_item t_head"> <div class="t_item t_head">
<div class="ranking">序号</div> <div class="ranking">序号</div>
<div class="nd">年度</div>
<div class="name">年度比赛名称</div> <div class="name">年度比赛名称</div>
<div class="newp">年度比赛项目</div> <div class="newp">年度比赛项目</div>
<div class="cc">项目层次</div>
</div> </div>
<div class="t_item t_con" v-for="o, i in data.lsndbsxmList" :key="i"> <div class="t_item t_con" v-for="o, i in data.lsndbsxmList" :key="i">
<div class="ranking"> <div class="ranking">
<div class="ol">{{ o.xh }}</div> <div class="ol">{{ o.xh }}</div>
</div> </div>
<div class="nd">{{ o.nd }}</div>
<div class="name">{{ o.ndbs }}</div> <div class="name">{{ o.ndbs }}</div>
<div class="newp">{{ o.ndbsxm }}</div> <div class="newp">{{ o.ndbsxm }}</div>
<div class="cc">{{ o.cc }}</div>
</div> </div>
<a-empty v-if="!data.lsndbsxmList.length" style="margin-top: 50px;" /> <a-empty v-if="!data.lsndbsxmList.length" style="margin-top: 50px;" />
</div> </div>
@ -112,7 +120,9 @@ import { ref } from 'vue'
type o = { type o = {
xh: string, xh: string,
ndbs: string, ndbs: string,
ndbsxm: string ndbsxm: string,
nd: string,
cc: string,
} }
type ob = { type ob = {
jxzndbsxmNumber: number; jxzndbsxmNumber: number;
@ -270,13 +280,21 @@ function reset() {
} }
.name { .name {
width: calc((542 / 756) * 100%); width: calc((208 / 756) * 100%);
} }
.newp { .newp {
width: calc((134 / 756) * 100%); width: calc((134 / 756) * 100%);
} }
.nd {
width: calc((174 / 756) * 100%);
}
.cc {
width: calc((160 / 756) * 100%);
}
//.total { //.total {
// width: calc((74 / 756) * 100%); // width: calc((74 / 756) * 100%);
//} //}

Loading…
Cancel
Save