chenken 6 years ago
parent
commit
666fc20d8c

+ 7 - 2
src/modules/oe/views/alreadyAudited.vue

@@ -251,7 +251,12 @@ export default {
       this.showAllCondition = true;
     },
     showSimpleCondition() {
-      this.$message("高级查询条件值已重置");
+      this.$notify({
+        title: "提示",
+        message: "高级查询条件值已重置",
+        type: "info",
+        duration: 2000
+      });
       this.resetForm();
       this.showAllCondition = false;
     },
@@ -261,7 +266,7 @@ export default {
           title: "警告",
           message: "请选择考试批次",
           type: "warning",
-          duration: 1000
+          duration: 2000
         });
         return false;
       }

+ 7 - 2
src/modules/oe/views/awaitingAudit.vue

@@ -381,7 +381,12 @@ export default {
       this.showAllCondition = true;
     },
     showSimpleCondition() {
-      this.$message("高级查询条件值已重置");
+      this.$notify({
+        title: "提示",
+        message: "高级查询条件值已重置",
+        type: "info",
+        duration: 2000
+      });
       this.resetForm();
       this.showAllCondition = false;
     },
@@ -391,7 +396,7 @@ export default {
           title: "警告",
           message: "请选择考试批次",
           type: "warning",
-          duration: 1000
+          duration: 2000
         });
         return false;
       }

+ 7 - 2
src/modules/oe/views/examDetail.vue

@@ -274,7 +274,12 @@ export default {
       this.showAllCondition = true;
     },
     showSimpleCondition() {
-      this.$message("高级查询条件值已重置");
+      this.$notify({
+        title: "提示",
+        message: "高级查询条件值已重置",
+        type: "info",
+        duration: 2000
+      });
       this.resetForm();
       this.showAllCondition = false;
     },
@@ -284,7 +289,7 @@ export default {
           title: "警告",
           message: "请选择考试批次",
           type: "warning",
-          duration: 1000
+          duration: 2000
         });
         return false;
       }

+ 27 - 12
src/modules/oe/views/examScheduling.vue

@@ -309,7 +309,12 @@ export default {
       this.showAllCondition = true;
     },
     showSimpleCondition() {
-      this.$message("高级查询条件值已重置");
+      this.$notify({
+        title: "提示",
+        message: "高级查询条件值已重置",
+        type: "info",
+        duration: 2000
+      });
       this.resetForm();
       this.showAllCondition = false;
     },
@@ -319,7 +324,7 @@ export default {
           title: "警告",
           message: "请选择考试批次",
           type: "warning",
-          duration: 1000
+          duration: 2000
         });
         return false;
       }
@@ -369,9 +374,11 @@ export default {
                 "/admin/preview_paper/" + examRecordList[0].basePaperId
               );
             } else {
-              this.$message({
+              this.$notify({
+                title: "提示",
                 message: "该考生未参加考试",
-                type: "error"
+                type: "error",
+                duration: 2000
               });
             }
           }
@@ -427,9 +434,11 @@ export default {
                 });
             } else {
               this.loading = false;
-              this.$message({
+              this.$notify({
+                title: "提示",
                 message: "该考生未参加考试",
-                type: "error"
+                type: "error",
+                duration: 2000
               });
             }
           }
@@ -443,9 +452,11 @@ export default {
         .then(response => {
           var examRecordDataList = response.data;
           if (examRecordDataList.length == 0) {
-            this.$message({
+            this.$notify({
+              title: "提示",
               message: "该考生未参加考试",
-              type: "error"
+              type: "error",
+              duration: 2000
             });
           } else {
             this.uploadAnswerDialogVisible = true;
@@ -472,9 +483,11 @@ export default {
       this.$http
         .post("/api/ecs_oe_student/offlineExam/submitPaper", param, config)
         .then(() => {
-          this.$message({
+          this.$notify({
+            title: "提示",
             message: "上传成功",
-            type: "success"
+            type: "success",
+            duration: 2000
           });
           this.uploadAnswerDialogVisible = false;
           this.uploadAnswerDialogLoading = false;
@@ -482,9 +495,11 @@ export default {
           this.offlineAnswerFile = "";
         })
         .catch(() => {
-          this.$message({
+          this.$notify({
+            title: "提示",
             message: "上传失败",
-            type: "error"
+            type: "error",
+            duration: 2000
           });
           this.uploadAnswerDialogLoading = false;
           this.$refs.offlineFileInput.value = "";

+ 3 - 0
src/modules/oe/views/examSummary.vue

@@ -14,6 +14,7 @@
                 @clear="getExams"
                 @change="changeExam"
                 placeholder="请选择考试批次"
+                size="small"
               >
                 <el-option
                   v-for="item in examList"
@@ -54,6 +55,7 @@
                         @clear="getOrgs"
                         @change="getOrgExamInfos"
                         placeholder="请选择学习中心"
+                        size="small"
                       >
                         <el-option
                           v-for="item in orgList"
@@ -120,6 +122,7 @@
                         @clear="getCourses"
                         @change="getCourseProgress"
                         placeholder="请选择课程"
+                        size="small"
                       >
                         <el-option
                           v-for="item in courseList"