zhangjie 4 år sedan
förälder
incheckning
fdcf3a6053

+ 2 - 0
src/modules/exam-center/components/CardOptionDialog.vue

@@ -102,6 +102,7 @@ export default {
         courseNameCode: "",
         enablePaperType: "",
         paperAttachmentId: "",
+        paperConfirmAttachmentId: "",
         courseName: "",
         courseCode: "",
         cardSource: "",
@@ -187,6 +188,7 @@ export default {
       }
 
       if (this.modalForm.cardSource === "2") {
+        this.$emit("draft-task");
         this.$refs.UploadSamplePaperDialog.open();
         return;
       }

+ 1 - 0
src/modules/exam-center/views/ExamModify.vue

@@ -382,6 +382,7 @@ export default {
         this.$refs.ExamBusinessUploadFileView.setAttachmentName(
           `${data.tcPAttachment.name}${data.tcPAttachment.type}`
         );
+      this.uploadData.examPlanCodeTemp = this.modalForm.examPlanCodeTemp;
     },
     checkDateRangeValid(startTime, endTime) {
       if (startTime && endTime) {

+ 4 - 1
src/modules/exam-center/views/WaitTask.vue

@@ -71,6 +71,7 @@
 
 <script>
 import { waitTaskListPage, examList } from "../api";
+import { mapActions } from "vuex";
 
 export default {
   name: "wait-task",
@@ -91,9 +92,10 @@ export default {
     this.init();
   },
   methods: {
+    ...mapActions("examCenter", ["updateWaitTaskCount"]),
     init() {
       this.getExamList();
-      this.getList();
+      this.toPage(1);
     },
     async getList() {
       const datas = {
@@ -109,6 +111,7 @@ export default {
     toPage(page) {
       this.current = page;
       this.getList();
+      this.updateWaitTaskCount();
     },
     async getExamList() {
       const data = await examList();