实训测验统计得分调整
All checks were successful
local-test分支构建发布到本地服务器 / Build-Publish (push) Successful in 11m0s
All checks were successful
local-test分支构建发布到本地服务器 / Build-Publish (push) Successful in 11m0s
This commit is contained in:
parent
a556f17312
commit
9a0c8e5794
@ -74,9 +74,9 @@ export default {
|
|||||||
} else if (index === 2) {
|
} else if (index === 2) {
|
||||||
const scoringRuleList = this.$store.state.trainingNew.scoringRules;
|
const scoringRuleList = this.$store.state.trainingNew.scoringRules;
|
||||||
let total = 0;
|
let total = 0;
|
||||||
if (scoringRuleList && scoringRuleList.details && scoringRuleList.details.length) {
|
if (scoringRuleList && scoringRuleList.length) {
|
||||||
scoringRuleList.details.forEach(item => {
|
scoringRuleList.forEach(item => {
|
||||||
total += item.score;
|
total += item.fullMarks;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
sums[index] = total;
|
sums[index] = total;
|
||||||
|
Loading…
Reference in New Issue
Block a user