zhangjie 1 жил өмнө
parent
commit
66d2d70823

+ 3 - 3
src/modules/mark/components/ModifyMarkSetting.vue

@@ -124,9 +124,9 @@ const initModalForm = {
   markMode: "",
   markStartTime: "",
   markEndTime: "",
-  // sheetView: "",
-  showObjectScore: "",
-  autoScroll: "",
+  // sheetView: false,
+  showObjectScore: false,
+  autoScroll: false,
   passScore: 60,
   excellentScore: 80,
   sheetConfig: [],

+ 10 - 2
src/modules/mark/components/ScoreCheckDetail.vue

@@ -360,14 +360,22 @@ export default {
       if (type === "objective") {
         this.toMarkObjectiveAnswer(studentIds);
       } else {
-        this.toMarkSubjectiveAnswer(studentIds);
+        this.toMarkSubjectiveAnswer({
+          examId: this.instance.examId,
+          paperNumber: this.instance.paperNumber,
+          studentIds: studentIds,
+        });
       }
     },
     toCheckQuestion(row, type) {
       if (type === "objective") {
         this.toMarkObjectiveAnswer([row.studentId]);
       } else {
-        this.toMarkSubjectiveAnswer([row.studentId]);
+        this.toMarkSubjectiveAnswer({
+          examId: row.examId,
+          paperNumber: row.paperNumber,
+          studentIds: [row.studentId],
+        });
       }
     },
     // img view

+ 2 - 2
src/modules/mark/markMinxin.js

@@ -21,8 +21,8 @@ export default {
       this.$ls.set("check-students", studentIds);
       this.openPage("/mark/check/objective-answer");
     },
-    toMarkSubjectiveAnswer(studentIds) {
-      this.$ls.set("check-students", studentIds);
+    toMarkSubjectiveAnswer({ examId, paperNumber, studentIds }) {
+      this.$ls.set("check-students", { examId, paperNumber, studentIds });
       this.openPage("/mark/check/subjective-answer");
     },
     openPage(url) {