diff --git a/src/app/examiner/create-test-score/create-test-score.component.ts b/src/app/examiner/create-test-score/create-test-score.component.ts index ba626b6..159c49f 100644 --- a/src/app/examiner/create-test-score/create-test-score.component.ts +++ b/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); diff --git a/src/app/examiner/examiner-new-one/examiner-new-one.component.ts b/src/app/examiner/examiner-new-one/examiner-new-one.component.ts index 8f368d0..da84e65 100644 --- a/src/app/examiner/examiner-new-one/examiner-new-one.component.ts +++ b/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) } }