Parcourir la source

修改压缩包信息提示问题

gyj il y a 2 ans
Parent
révision
8d0e2d4b7e
1 fichiers modifiés avec 13 ajouts et 2 suppressions
  1. 13
    2
      src/views/caseManagement/components/caseCompressionPackage.vue

+ 13
- 2
src/views/caseManagement/components/caseCompressionPackage.vue Voir le fichier

138
       this.$emit("cancelCompreess");
138
       this.$emit("cancelCompreess");
139
       this.upload.isUploading = false;
139
       this.upload.isUploading = false;
140
       this.$refs.uploadZipBatch.clearFiles();
140
       this.$refs.uploadZipBatch.clearFiles();
141
-      this.$alert(
141
+      if(response.code ==200){
142
+        this.$alert(
142
         "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
143
         "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
143
           response.msg +
144
           response.msg +
144
           "</div>",
145
           "</div>",
145
         "导入结果",
146
         "导入结果",
146
         { dangerouslyUseHTMLString: true }
147
         { dangerouslyUseHTMLString: true }
147
-      );
148
+      )
149
+      }else{
150
+        this.$alert(
151
+        "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
152
+          "导入压缩失败" +
153
+          "</div>",
154
+        "导入结果",
155
+        { dangerouslyUseHTMLString: true }
156
+      )
157
+      }
158
+      
148
       this.getcaseApply(this.queryParams);
159
       this.getcaseApply(this.queryParams);
149
     },
160
     },
150
   },
161
   },