diff --git a/src/app/examiner/create-test-score/create-test-score.component.html b/src/app/examiner/create-test-score/create-test-score.component.html index 6ce160f..53f1901 100644 --- a/src/app/examiner/create-test-score/create-test-score.component.html +++ b/src/app/examiner/create-test-score/create-test-score.component.html @@ -21,7 +21,7 @@ {{item.name}} - {{item.score}} + {{item.score}}+{{item.planScore || 0}} @@ -285,7 +285,7 @@ {{item.isPublic ? '已公开' : '未公开'}} {{item.planLevel | planlevel}} - + 编辑 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 df5b58a..3bf3704 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 @@ -830,6 +830,7 @@ export class CreateTestScoreComponent implements OnInit { x += i.score }) } + element.planScore = x examScore2 += Number(x) }) this.examScore = examScore + examScore2