xiatian 3 年 前
コミット
9cf8593be1
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/modules/marking/views/Marking.vue

+ 2 - 2
src/modules/marking/views/Marking.vue

@@ -550,7 +550,7 @@ export default {
         .then((response) => {
           if (response.data.resultCode == "0") {
             self.studentPaper = response.data.data;
-            self.examType = response.data.examType;
+            self.examType = self.studentPaper.examType;
             self.paperMark = true;
             console.log("paper", self.studentPaper);
           } else {
@@ -600,7 +600,7 @@ export default {
         .get(DATA_PROCESS_API + "/studentPapers/" + studentPaperId)
         .then((response) => {
           self.studentPaper = response.data;
-          self.examType = response.data.examType;
+          self.examType = self.studentPaper.examType;
         });
     },
     async getMarkedResultItems(markResultId) {