zhangjie 2 år sedan
förälder
incheckning
7e746f8786
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      src/modules/exam/components/ApplyContent.vue

+ 4 - 1
src/modules/exam/components/ApplyContent.vue

@@ -510,6 +510,7 @@ import { copyCard } from "../../card/api";
 const initTaskApply = {
   examId: "",
   examTaskId: "",
+  paperNumber: "",
   paperType: "A",
   paperAttachmentIds: "",
   paperConfirmAttachmentIds: "",
@@ -690,6 +691,7 @@ export default {
       this.curTaskApply.courseName = this.examTask.courseName;
       this.curTaskApply.cardRuleId = this.examTask.cardRuleId;
       this.curTaskApply.customCard = this.examTask.customCard;
+      this.curTaskApply.paperNumber = this.examTask.paperNumber;
       this.curTaskApply.setup = this.examTask.setup;
       this.curTaskApply.includePaper =
         data.printContent.indexOf("PAPER") !== -1;
@@ -727,7 +729,8 @@ export default {
       if (!this.curTaskApply.courseCode || !this.curTaskApply.examId) return;
       const data = await cardForSelectList({
         courseCode: this.curTaskApply.courseCode,
-        examId: this.curTaskApply.examId
+        examId: this.curTaskApply.examId,
+        paperNumber: this.curTaskApply.paperNumber
       });
       this.cards = data || [];
     },