From 81ad247aafb085b6a555b05dceed6324ca2553c6 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 29 Jul 2024 17:31:02 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E7=BB=91=E5=AE=9A=E4=BD=9C=E5=93=81?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ChaoseTopicPersionController.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/chooseTopicPersion/controller/ChaoseTopicPersionController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/chooseTopicPersion/controller/ChaoseTopicPersionController.java index 048e76e2..ee96092f 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/chooseTopicPersion/controller/ChaoseTopicPersionController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/chooseTopicPersion/controller/ChaoseTopicPersionController.java @@ -197,6 +197,15 @@ public class ChaoseTopicPersionController extends JeecgController bmbhadd(@RequestParam(name="ids",required=true) String ids,@RequestParam(name="xmtmid",required=true) String xmtmid,HttpServletRequest req) { String strs[] = ids.split(","); + for (int o = 0 ; o < strs.length ; o++){ + UpfilePersion upfilePersion = upfilePersionService.getById(strs[o]); + QueryWrapper queryWrapperctp1 = new QueryWrapper<>(); + queryWrapperctp1.eq("bmcode",upfilePersion.getApplyCode()); + List listctp1 = chaoseTopicPersionService.list(queryWrapperctp1); + if(listctp1.size()==0){ + return Result.error(upfilePersion.getTopicName()+"未选题,绑定失败!"); + } + } AnnComGroTop annComGroTop = new AnnComGroTop(); QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(annComGroTop, req.getParameterMap()); queryWrapper.eq("ann_com_p_g",xmtmid); From c1402fc977945cfc919ce0a781dff7581c5bac04 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854@qq.com> Date: Mon, 29 Jul 2024 18:31:33 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E5=AD=A6=E6=A0=A1=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=207.29?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/UserHomePageController.java | 7 ++++ .../service/UserHomePageServiceImpl.java | 36 +++++-------------- 2 files changed, 15 insertions(+), 28 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java index 8941f315..315dbc5f 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/controller/UserHomePageController.java @@ -48,4 +48,11 @@ public class UserHomePageController { Map result = homePageService.report4School(); return Result.ok(result); } + + @ApiOperation(value = "河南机电-部门综合报告", notes = "河南机电-部门综合报告") + @GetMapping(value = "/report4Depart") + public Result report4Depart(String orgCode) { + Map result = homePageService.report4Depart(orgCode); + return Result.ok(result); + } } diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java index 6a676b5b..25648040 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/homepage/service/UserHomePageServiceImpl.java @@ -392,12 +392,11 @@ public class UserHomePageServiceImpl implements UserHomePageService { } else { countMap.put("已完成比赛比率", 0); } + resultMap.putAll(countMap); List evaluationCollects = iPersonalAbilityEvaluationCollectService - .list(new LambdaQueryWrapper() - .orderByDesc(PersonalAbilityEvaluationCollect::getCreateTime) - .last(" limit 60")); - resultMap.put("前60名学生能力值", evaluationCollects); + .list(new LambdaQueryWrapper()); +// resultMap.put("前60名学生能力值", evaluationCollects); List vos = new LinkedList<>(); Map> capacityIdListMap = Optional.ofNullable(evaluationCollects).orElse(new LinkedList<>()).stream() @@ -416,7 +415,7 @@ public class UserHomePageServiceImpl implements UserHomePageService { vo.setCapacityName(departAbilityEvaluationList.get(0).getCapacityName()); vos.add(vo); }); - resultMap.put("前60名学生能力平均值", vos); + resultMap.put("学生能力平均值", vos); List> abilityList = new LinkedList<>(); List years = DateUtils.getLastxYear(2); @@ -635,13 +634,12 @@ public class UserHomePageServiceImpl implements UserHomePageService { } else { countMap.put("已完成比赛比率", 0); } + resultMap.putAll(countMap); List evaluationCollects = iPersonalAbilityEvaluationCollectService .list(new LambdaQueryWrapper() - .eq(PersonalAbilityEvaluationCollect::getDepetId, departId) - .orderByDesc(PersonalAbilityEvaluationCollect::getCreateTime) - .last(" limit 60")); - resultMap.put("前60名学生能力值", evaluationCollects); + .eq(PersonalAbilityEvaluationCollect::getDepetId, departId)); +// resultMap.put("学生综合能力值分析", evaluationCollects); List vos = new LinkedList<>(); Map> capacityIdListMap = Optional.ofNullable(evaluationCollects).orElse(new LinkedList<>()).stream() @@ -660,7 +658,7 @@ public class UserHomePageServiceImpl implements UserHomePageService { vo.setCapacityName(departAbilityEvaluationList.get(0).getCapacityName()); vos.add(vo); }); - resultMap.put("前60名学生能力平均值", vos); + resultMap.put("学生能力平均值", vos); List> abilityList = new LinkedList<>(); List years = DateUtils.getLastxYear(2); @@ -852,22 +850,4 @@ public class UserHomePageServiceImpl implements UserHomePageService { return map; } - List getCompList() { - List annualCompPointList = iAnnualCompPointService.list(new LambdaQueryWrapper() - .eq(AnnualCompPoint::getRequireApply, "Y")); - List compVoList = new LinkedList<>(); - Optional.ofNullable(annualCompPointList).orElse(new LinkedList<>()).stream().forEach(p -> { - CompVo compVo = new CompVo(); - BeanUtils.copyProperties(p, compVo); - List list = iAnnualCompetitionProjectRegistrationService.list(new LambdaQueryWrapper() - .eq(AnnualCompetitionProjectRegistration::getAnnualCompid, p.getId())); - if (!ObjectUtils.isEmpty(list)) { - Set entryFormats = list.stream().map(bo -> bo.getEnrollCode()).collect(Collectors.toSet()); - Long count = iTeamManagementService.count(new LambdaQueryWrapper().in(TeamManagement::getEnrollCode, entryFormats)); - compVo.setNumber(count.intValue()); - } - }); - return compVoList; - } - } From 428889aeca255f355827d4cb3aca9fea9c413503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Mon, 29 Jul 2024 18:39:48 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E4=B8=93=E5=AE=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=A2=98=E7=9B=AE=E8=87=AA=E5=8A=A8=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../topic/controller/TopicController.java | 12 +++++++ .../src/views/topic/Topic.api.ts | 8 +++++ .../src/views/topic/components/TopicForm.vue | 31 +++++++++++++++++-- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java index b2c57051..d412ee2b 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/topic/controller/TopicController.java @@ -273,6 +273,18 @@ public class TopicController extends JeecgController { } return Result.OK(); } + + //用于查询根据id获取的年度比赛项目 + @GetMapping(value = "/getdate") + public Result getdate(@RequestParam(name="annualCompid",required=true) String annualCompid) { + QueryWrapper queryWrapper= new QueryWrapper<>(); + queryWrapper.eq("id",annualCompid); + AnnualCompPoint annualCompPoint =annualCompPointService.getOne(queryWrapper); + return Result.OK(annualCompPoint.getObjName()); + } + + + /** * 添加 * diff --git a/jeecgboot-vue3-master/src/views/topic/Topic.api.ts b/jeecgboot-vue3-master/src/views/topic/Topic.api.ts index 688d928c..700efa12 100644 --- a/jeecgboot-vue3-master/src/views/topic/Topic.api.ts +++ b/jeecgboot-vue3-master/src/views/topic/Topic.api.ts @@ -17,6 +17,7 @@ enum Api { importExcel = '/topic/topic/importExcel', exportXls = '/topic/topic/exportXls', addScoreSta = '/scoresta/scoreSta/addScoreSta', + getdate = '/topic/topic/getdate', } export const addScoreSta = (params, isUpdate) => { @@ -46,6 +47,13 @@ export const list3 = (params) => defHttp.get({url: Api.list3, params}); export const list5 = (params) => defHttp.get({url: Api.list5, params}); export const Update = (params) => defHttp.post({url: Api.edit, params}); export const select = (params) => defHttp.post({url: Api.select, params}); +/*export const getdate = (params) => defHttp.get({url: Api.getdate, params});*/ + +export const getdate = (params) => + defHttp.get({ + url: Api.getdate, + params + }); /** * 删除单个 diff --git a/jeecgboot-vue3-master/src/views/topic/components/TopicForm.vue b/jeecgboot-vue3-master/src/views/topic/components/TopicForm.vue index 9164321c..e3cb5e09 100644 --- a/jeecgboot-vue3-master/src/views/topic/components/TopicForm.vue +++ b/jeecgboot-vue3-master/src/views/topic/components/TopicForm.vue @@ -56,8 +56,14 @@ import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue'; import JPopup from '/@/components/Form/src/jeecg/components/JPopup.vue'; import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue'; import { getValueType } from '/@/utils'; -import { saveOrUpdate,select } from '../Topic.api'; +import { saveOrUpdate,select,getdate } from '../Topic.api'; import { Form } from 'ant-design-vue'; +import {useRoute} from "vue-router"; +import {demoArticleListApi} from "/@/api/demo/mainHome"; +const $Route = useRoute() +//把路由中的数据转化到组件中 + + const props = defineProps({ formDisabled: { type: Boolean, default: false }, @@ -101,12 +107,32 @@ const disabled = computed(()=>{ } return props.formDisabled; }); +function routrtodate() { + const annualCompid = $Route.query.annualCompid; + formData.annualCompid = annualCompid; + console.log( formData.annualCompid,annualCompid,'111') +}; +routrtodate(); +let compName = '' +function getData() { + return new Promise((resovle,rej) => { + const annualCompid = $Route.query.annualCompid; + getdate({ annualCompid:annualCompid }).then(res => { + console.log(res,'2222') + compName = res + resovle(res) + }) + }) +}; +// getData(); /** * 新增 */ -function add() { +async function add() { +const res = await getData() + setFieldsValue({annualCompid:formData.annualCompid,annualCompid_dictText:res}) edit({}); } function change(record){ @@ -166,6 +192,7 @@ async function submitForm() { * popup组件值改变事件 */ function setFieldsValue(map) { + console.log(map) Object.keys(map).map((key) => { formData[key] = map[key]; }); From 66eb1d759667b2c1ac00658b92631aa2da78fed0 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 29 Jul 2024 18:58:09 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E5=A5=96=E9=A1=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/awardpersion/AwardPersionList.vue | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue b/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue index f640d1a3..6063b520 100644 --- a/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue +++ b/jeecgboot-vue3-master/src/views/awardpersion/AwardPersionList.vue @@ -11,21 +11,40 @@ dictCode="annual,annual_name,id" /> + + + + + + + + + + + + + + + + + + + + 查询 重置 - - {{ toggleSearchStatus ? '收起' : '展开' }} - - From fd05b03a3af31c3ce3a2a02a0953ea242f75b57d Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 29 Jul 2024 18:59:35 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E5=A5=96=E9=A1=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../awardpersion/controller/AwardPersionController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java index 80251297..1ec8927e 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/awardpersion/controller/AwardPersionController.java @@ -152,7 +152,7 @@ public class AwardPersionController extends JeecgController page = new Page(pageNo, pageSize); QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(awardPersion, req.getParameterMap()); - queryWrapper.eq("studentorg",sysDepartService.queryDepartsByUsername(user.getUsername()).get(0).getOrgCode()); + queryWrapper.eq("studentorg",sysDepartService.queryDepartsByUsername(user.getUsername()).get(0).getId()); IPage pageList = awardPersionService.page(page, queryWrapper); return Result.OK(pageList); }else { @@ -225,7 +225,7 @@ public class AwardPersionController extends JeecgController listtm = teamManagementService.list(queryWrappertm); for (int l = 0 ; l < listtm.size() ; l++){ SysUser sysUser = sysUserService.getById(listtm.get(l).getUserId()); - list.get(i).setStudentorg(sysDepartService.queryDepartsByUsername(sysUser.getUsername()).get(0).getOrgCode()); + list.get(i).setStudentorg(sysDepartService.queryDepartsByUsername(sysUser.getUsername()).get(0).getId()); if(listaca.get(0).getFirstPrize().equals(list.get(i).getAwardname())){ list.get(i).setAwardsort(1); list.get(i).setAwardid(listaca.get(0).getId()); From 73b2edc618dc9ba9ecfc496b22157c3c9afceb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Mon, 29 Jul 2024 19:37:56 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=8A=A5=E5=90=8D?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E5=90=8D=E5=AD=97=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...alCompetitionProjectRegistrationController.java | 2 +- .../AnnualCompetitionProjectRegistration.data.ts | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java index 05841c76..2aa65af5 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcompetitionprojectregistration/controller/AnnualCompetitionProjectRegistrationController.java @@ -595,7 +595,7 @@ public class AnnualCompetitionProjectRegistrationController { //设置报名编号 management.setEnrollCode(enrollCode); //根据名称查用户id(如果前端传的只是姓名的话) - SysUser user = sysUserService.query().eq("realname", management.getUserId()).one(); + SysUser user = sysUserService.query().eq("id", management.getUserId()).one(); management.setUserId(user.getId()); //补全用户未输入信息 -- 是否队长 if (management.getCaptain() == null) diff --git a/jeecgboot-vue3-master/src/views/annualcompetitionprojectregistration/student/AnnualCompetitionProjectRegistration.data.ts b/jeecgboot-vue3-master/src/views/annualcompetitionprojectregistration/student/AnnualCompetitionProjectRegistration.data.ts index 0b662249..15da55c8 100644 --- a/jeecgboot-vue3-master/src/views/annualcompetitionprojectregistration/student/AnnualCompetitionProjectRegistration.data.ts +++ b/jeecgboot-vue3-master/src/views/annualcompetitionprojectregistration/student/AnnualCompetitionProjectRegistration.data.ts @@ -114,15 +114,25 @@ export const formSchema: FormSchema[] = [ export const teamManagementColumns: JVxeColumn[] = [ { title: '用户', - key: 'userId', + key: 'realname', type: JVxeTypes.popup, popupCode: 'user_code', - fieldConfig: [{source: 'realname', target: 'userId'}], + fieldConfig: [ + {source: 'id', target: 'userId'}, + { source: 'realname', target: 'realname' } + ], width: '200px', placeholder: '请输入${title}', defaultValue: '', }, + + { + label: '', + field: 'userId', + component: 'Input', + show: false, + }, { title: '是否队长', key: 'captain', From 1e75ec486dfa84afa3361e66c12656573e313491 Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Mon, 29 Jul 2024 19:39:11 +0800 Subject: [PATCH 7/8] =?UTF-8?q?'=E5=AF=B9=E6=8E=A5=E5=89=A9=E4=BD=99?= =?UTF-8?q?=E4=B8=89=E4=B8=AA=E6=8A=A5=E5=91=8A'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3-master/src/api/common/api.ts | 15 +++ .../components/cakeChart.vue | 18 ++- .../components/cardList.vue | 71 +++++----- .../components/cardList2.vue | 12 +- .../components/cardList3.vue | 22 +-- .../components/cardList4.vue | 16 +-- .../components/cardList5.vue | 2 +- .../components/cardList6.vue | 16 +-- .../components/cardList8.vue | 23 ++-- .../components/randerChart.vue | 126 ++++++++++-------- .../components/ringChart.vue | 19 +-- .../comprehensiveReport.vue | 98 ++++++++++---- .../comprehensiveEvaluation/department.vue | 80 ++++++++--- .../organizingCommittee.vue | 2 +- 14 files changed, 326 insertions(+), 194 deletions(-) diff --git a/jeecgboot-vue3-master/src/api/common/api.ts b/jeecgboot-vue3-master/src/api/common/api.ts index 237e17fc..70fc989c 100644 --- a/jeecgboot-vue3-master/src/api/common/api.ts +++ b/jeecgboot-vue3-master/src/api/common/api.ts @@ -188,4 +188,19 @@ export const getOrganizingCommitteeReport = () => { return defHttp.get({ url:'/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg' }) +} +// /user/login/homepage/report4School +// 学校综合报告 +export const getComprehensiveReport = () => { + return defHttp.get({ + url:'/user/login/homepage/report4School' + }) +} +// 部门 +// http://localhost:18083/jeecg-boot/user/login/homepage/report4Depart +export const getdepartmentReport = (params:any) => { + return defHttp.get({ + url:'/user/login/homepage/report4School', + params + }) } \ No newline at end of file diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cakeChart.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cakeChart.vue index cc131717..d838523e 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cakeChart.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cakeChart.vue @@ -6,6 +6,9 @@ import echarts from '/@/utils/lib/echarts'; import { onMounted } from 'vue'; + const props = defineProps(['data']) + console.log(props.data); + const throttle = (fn: any) => { let timer: any; return function () { @@ -20,6 +23,12 @@ }; }; onMounted(() => { + let arr:any = [] + for (const key in props.data) { + arr.push({value:props.data[key],name:key}) + } + console.log(arr,props.data); + // @ts-ignore const myChart = echarts.init(document.getElementById('cakeChart')); const option = { @@ -34,16 +43,11 @@ series: [ { - name: 'Access From', + name: '国家ABC类比赛占比', type: 'pie', radius: '60%', center:['50%','55%'], - data: [ - { value: 1048, name: '比赛一',itemStyle: {color: '#0052d9'} }, - { value: 735, name: '比赛二',itemStyle: {color: '#699ef5'} }, - { value: 580, name: '比赛三',itemStyle: {color: '#d9e1ff'} }, - // { value: 484, name: '比赛四' ,itemStyle: {color: '#0052d9'}}, - ], + data: arr, labelLine: { show: false, }, diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList.vue index ce272e7f..535ec75b 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList.vue @@ -6,13 +6,13 @@
能力名称
-
能力分数
-
达标情况
+
能力分数
+
-
-
{{ item.text }}
-
{{ item.max }}
-
达标
+
+
{{ item.capacityName }}
+
{{ item.value }}
+
@@ -21,10 +21,10 @@
能力分数
达标情况
-
-
{{ item.text }}
-
{{ item.max }}
-
达标
+
+
{{ item.capacityName }}
+
{{ item.value }}
+
@@ -36,60 +36,61 @@ import { SvgIcon } from '/@/components/Icon'; const props = defineProps({ - data: { + DATA: { type: Array, default: [ { - text: '前言探索', - max: 100, + capacityName: '前言探索', + value: 0, }, { - text: '奠定基础', - max: 100, + capacityName: '奠定基础', + value: 0, }, { - text: '知识分析', - max: 100, + capacityName: '知识分析', + value: 0, }, { - text: '社会责任', - max: 100, + capacityName: '社会责任', + value: 0, }, { - text: '独立思考', - max: 100, + capacityName: '独立思考', + value: 0, }, { - text: '拓宽视野', - max: 100, + capacityName: '拓宽视野', + value: 0, }, { - text: '激发兴趣', - max: 100, + capacityName: '激发兴趣', + value: 0, }, { - text: '沟通协调', - max: 100, + capacityName: '沟通协调', + value: 0, }, { - text: '设计开发', - max: 100, + capacityName: '设计开发', + value: 0, }, { - text: '研判分析', - max: 100, + capacityName: '研判分析', + value: 0, }, { - text: '创新能力', - max: 100, + capacityName: '创新能力', + value: 0, }, { - text: '团队协作', - max: 100, + capacityName: '团队协作', + value: 0, }, ], }, }); + let data = JSON.parse(props.DATA) let falg = false; const unfold = () => { const dom: any = document.querySelector('.foo_card') as Element; diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList2.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList2.vue index 8942acea..7b6c9547 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList2.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList2.vue @@ -11,12 +11,12 @@
比赛层次
参赛人数
-
-
国赛
-
全国高级计算机大赛
-
计算机算法
-
高级
-
212
+
+
{{ item.typeName }}
+
{{ item.compName }}
+
{{item.pointName}}
+
{{ item.projectLevel }}
+
{{ item.number }}
diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList3.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList3.vue index bea7a15d..7a5264e7 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList3.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList3.vue @@ -10,17 +10,17 @@
比赛名称
项目名称
层次
-
奖项数量
-
数量
+
奖项名称
+ -
-
国赛
-
全国高级计算机大赛
-
计算机比赛
-
高级
-
100
- -
76
+
+
{{ item.typeName }}
+
{{ item.pointName }}
+
{{ item.compName }}
+
{{ item.projectLevel }}
+
{{ item.awardName }}
+ +
@@ -34,6 +34,8 @@ type: Array, }, }); + console.log(props.data,'1121'); + let falg = false; const unfold = () => { const dom: any = document.querySelector('.foo_card3') as Element; diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList4.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList4.vue index 6d530508..922a5b08 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList4.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList4.vue @@ -6,15 +6,15 @@
部门名称
-
参加比赛数
-
参加人数
-
队伍数
+
比赛总人数
+
个人赛人数
+
团队赛人数
-
-
机电学院
-
1212
-
1212
-
1212
+
+
{{ item.部门名称 }}
+
{{ item.比赛总人数 }}
+
{{ item.个人赛人数 }}
+
{{ item.团队赛人数 }}
diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList5.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList5.vue index f4c678e8..d1fe01d0 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList5.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList5.vue @@ -10,7 +10,7 @@
积分
-
+
{{ index +1 }}
diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList6.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList6.vue index 53be50a7..d06667bc 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList6.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList6.vue @@ -7,21 +7,21 @@
部门名称
-
获奖人数
-
一等奖
+
获奖人数
+
-
+
-
机电学院
-
1212
+
{{ i.部门名称 }}
+ +
{{ i.获取人数 }}
diff --git a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList8.vue b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList8.vue index de71698e..cabeb7ce 100644 --- a/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList8.vue +++ b/jeecgboot-vue3-master/src/views/comprehensiveEvaluation/components/cardList8.vue @@ -1,20 +1,26 @@