From 5c81fc4dcf89fcf0e38731e1b4f0f121bdc8cf51 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Wed, 18 Sep 2024 14:00:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E6=B5=8B=E9=AA=8C?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=BE=97=E5=88=86=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/trainingList/testResult.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/newMap/display/trainingList/testResult.vue b/src/views/newMap/display/trainingList/testResult.vue index 0b2e3eaed..9fe9e71a4 100644 --- a/src/views/newMap/display/trainingList/testResult.vue +++ b/src/views/newMap/display/trainingList/testResult.vue @@ -74,12 +74,13 @@ export default { } else if (index === 2) { const scoringRuleList = this.$store.state.trainingNew.scoringRules; let total = 0; - if (scoringRuleList && scoringRuleList.details && scoringRuleList.details.length) { - scoringRuleList.details.forEach(item => { - total += item.score; + if (scoringRuleList && scoringRuleList.length) { + scoringRuleList.forEach(item => { + total += item.fullMarks; }); } sums[index] = total; + sums[index] = total; } else if (index === 3) { const values = data.map(item => Number(item[column.property])); sums[index] = values.reduce((prev, curr) => { From cbdfc5724366beaf4344f0e15a01e03c4a24241d Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Tue, 24 Sep 2024 10:59:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=88=90=E9=83=BD=E4=B8=89=E5=8F=B7?= =?UTF-8?q?=E7=BA=BF=E7=8E=B0=E5=9C=B0=E4=BB=BF=E7=9C=9F=E6=97=A0=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E6=93=8D=E4=BD=9C=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/chengdu_03/menus/localWorkMenu.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jmapNew/theme/chengdu_03/menus/localWorkMenu.vue b/src/jmapNew/theme/chengdu_03/menus/localWorkMenu.vue index f20200129..7c5c085a7 100644 --- a/src/jmapNew/theme/chengdu_03/menus/localWorkMenu.vue +++ b/src/jmapNew/theme/chengdu_03/menus/localWorkMenu.vue @@ -2,7 +2,14 @@