瀏覽代碼

修改压缩包信息提示问题

gyj 2 年之前
父節點
當前提交
8d0e2d4b7e
共有 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
   },