Browse Source

[完善]选择试卷bug

智慧矿山应急安全培训、考核、演练管理系统
邵佳豪 2 years ago
parent
commit
89c3530fe7
  1. 2
      src/app/examiner/create-test-score/create-test-score.component.ts
  2. 2
      src/app/examiner/examiner-new-one/examiner-new-one.component.ts

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

@ -1005,6 +1005,8 @@ export class CreateTestScoreComponent implements OnInit {
//编辑每条预案试卷
edit(item) {
console.log('这张试卷中这个预案的信息', item);
console.log('这张试卷中这个预案的信息', this.unitId);
if (item.planLevel === 0) {
//自定义预案
sessionStorage.setItem("planId", item.planComponentId);

2
src/app/examiner/examiner-new-one/examiner-new-one.component.ts

@ -175,7 +175,7 @@ export class ExaminerNewOneComponent implements OnInit {
}
else {
for (var i = 0; i < this.selectedunitArr.length; i++) {
if (this.selectedunitArr[i].id == element.companyIntegrityScore.companyId) {
if (this.selectedunitArr[i].id == element.id) {
this.selectedunitArr.splice(i, 1)
}
}

Loading…
Cancel
Save