xiatian 2 anni fa
parent
commit
7d1f61a14f

+ 1 - 0
src/modules/questions/views/CheckDuplicateList.vue

@@ -551,6 +551,7 @@ export default {
           firstPropertyId: "",
           secondPropertyId: "",
         };
+        this.getCourses("");
       }
       this.searchQues();
     },

+ 2 - 0
src/modules/questions/views/ImportPaper.vue

@@ -872,6 +872,8 @@ export default {
       }
       if (this.formSearch.courseName) {
         this.getCourses(this.formSearch.courseName);
+      } else {
+        this.getCourses("");
       }
       this.handleCurrentChange(this.currentPage);
     },

+ 1 - 0
src/modules/questions/views/ImportPaperInfo.vue

@@ -181,6 +181,7 @@ export default {
       key: this.user.key,
       token: this.user.token,
     };
+    this.getCourses("");
   },
   mounted() {
     setTimeout(() => {

+ 1 - 0
src/modules/questions/views/InsertPaperTitle.vue

@@ -235,6 +235,7 @@ export default {
         );
       }
     });
+    this.queryCoursesByKeyword("");
   },
   methods: {
     //远端查询课程

+ 3 - 0
src/modules/questions/views/Question.vue

@@ -630,6 +630,7 @@ export default {
           secondPropertyId: "",
         };
         this.currentPage = 1;
+        this.getCourses("");
       } else {
         this.formSearch = JSON.parse(sessionStorage.getItem("question"));
         this.currentPage = parseInt(
@@ -637,6 +638,8 @@ export default {
         );
         if (this.formSearch && this.formSearch.courseId) {
           this.getCourseById(this.formSearch.courseId);
+        } else {
+          this.getCourses("");
         }
       }
       this.searchQues();