From 89c3530fe7c10f5c344f5a88fd5dd69a63366678 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Tue, 9 May 2023 14:53:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E9=80=89=E6=8B=A9=E8=AF=95?= =?UTF-8?q?=E5=8D=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../examiner/create-test-score/create-test-score.component.ts | 2 ++ src/app/examiner/examiner-new-one/examiner-new-one.component.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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) } }