zhangjie 1 년 전
부모
커밋
6aeec61577
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/modules/mark/components/ScoreCheckDetail.vue

+ 4 - 4
src/modules/mark/components/ScoreCheckDetail.vue

@@ -246,14 +246,14 @@
             <el-button
               class="btn-primary"
               type="text"
-              :disabled="!scope.row.subjectiveScoreList"
+              :disabled="!scope.row.subjectiveCheckFlag"
               @click="toCheckQuestion(scope.row, 'subjective')"
               >主观题检查</el-button
             >
             <el-button
               class="btn-primary"
               type="text"
-              :disabled="!scope.row.objectiveScore"
+              :disabled="!scope.row.objectiveCheckFlag"
               @click="toCheckQuestion(scope.row, 'objective')"
               >客观题检查</el-button
             >
@@ -393,7 +393,7 @@ export default {
       if (!this.multipleSelection.length) return;
       if (type === "objective") {
         const studentIds = this.multipleSelection
-          .filter((item) => item.objectiveScore)
+          .filter((item) => item.objectiveCheckFlag)
           .map((item) => item.studentId);
         if (!studentIds.length) {
           this.$message.error("没有可检查数据!");
@@ -403,7 +403,7 @@ export default {
         this.toMarkObjectiveAnswer(studentIds);
       } else {
         const studentIds = this.multipleSelection
-          .filter((item) => item.subjectiveScoreList)
+          .filter((item) => item.subjectiveCheckFlag)
           .map((item) => item.studentId);
         if (!studentIds.length) {
           this.$message.error("没有可检查数据!");