Explorar o código

禁用的考试批次在考生列表和考生导入中不再显示

deason %!s(int64=5) %!d(string=hai) anos
pai
achega
809de5a8a3

+ 1 - 1
src/modules/examwork/view/examStudent.vue

@@ -1121,7 +1121,7 @@ export default {
         this.queryExams4CopyToLoading = true;
       }
       this.$httpWithMsg
-        .get(EXAM_WORK_API + "/exam/queryByNameLike?name=" + name)
+        .get(EXAM_WORK_API + "/exam/queryByNameLike?enable=true&name=" + name)
         .then(response => {
           if ("search" == where) {
             this.queryExams4SearchLoading = false;

+ 1 - 1
src/modules/examwork/view/examStudentImport.vue

@@ -344,7 +344,7 @@ export default {
       console.log("queryExams; name: " + name);
       this.queryExamsLoading = true;
       this.$httpWithMsg
-        .get(EXAM_WORK_API + "/exam/queryByNameLike?name=" + name)
+        .get(EXAM_WORK_API + "/exam/queryByNameLike?enable=true&name=" + name)
         .then(response => {
           this.queryExamsLoading = false;
           this.examList = response.data;