Browse Source

[完善]四周毗邻分数统计

master
邵佳豪 4 years ago
parent
commit
d51f119383
  1. 3
      src/app/examiner/create-test-score/create-test-score.component.ts

3
src/app/examiner/create-test-score/create-test-score.component.ts

@ -334,7 +334,7 @@ export class CreateTestScoreComponent implements OnInit {
//key代表第几个建筑
//计算整个单位的总分
this.unitId[key].score = this.unitId[key].basicInfoScore + 0
this.unitId[key].score = this.unitId[key].basicInfoScore + this.unitId[key].aroundScore
//计算整个试卷的总分
let examScore = 0
@ -368,7 +368,6 @@ export class CreateTestScoreComponent implements OnInit {
i.checked ? selectedNum.push(i) : ''
})
})
// console.log(7894,selectedNum)
if(selectedNum.length != 0 ){
this.unitId[key].aroundScore ? this.unitId[key].aroundItemScore = this.unitId[key].aroundScore / selectedNum.length : null
}else{

Loading…
Cancel
Save