gyj 2 лет назад
Родитель
Сommit
8113577de5
1 измененных файлов: 13 добавлений и 2 удалений
  1. 13
    2
      src/views/caseManagement/components/caseCompressionPackage.vue

+ 13
- 2
src/views/caseManagement/components/caseCompressionPackage.vue Просмотреть файл

@@ -138,13 +138,24 @@ export default {
138 138
       this.$emit("cancelCompreess");
139 139
       this.upload.isUploading = false;
140 140
       this.$refs.uploadZipBatch.clearFiles();
141
-      this.$alert(
141
+      if(response.code ==200){
142
+        this.$alert(
142 143
         "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
143 144
           response.msg +
144 145
           "</div>",
145 146
         "导入结果",
146 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 159
       this.getcaseApply(this.queryParams);
149 160
     },
150 161
   },