ソースを参照

弹框提示语

wenb 2 年 前
親
コミット
9adcb0ef91

+ 1 - 2
web/三相/src/views/sbwh/gjsj/index.vue

@@ -150,7 +150,6 @@
         this.form =row;
       },
       beforeUpload(file){
-        alert(22)
 if(file==null){
   this.$modal.msgSuccess(this.$t('zxcg'));
 }
@@ -164,7 +163,7 @@ if(file==null){
         this.upload.open = false;
         this.upload.isUploading = false;
         this.$refs.upload.clearFiles();
-        this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
+        this.$modal.alert( response.msg);
         this.handleQuery();
       },
 // 提交上传文件

+ 1 - 1
web/三相/src/views/sbwh/shfw/index.vue

@@ -223,7 +223,7 @@
         this.upload.open = false;
         this.upload.isUploading = false;
         this.$refs.upload.clearFiles();
-        this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
+        this.$modal.alert( response.msg);
         this.getList();
       },
 // 提交上传文件

+ 1 - 1
web/安德森/src/views/sbwh/gjsj/index.vue

@@ -163,7 +163,7 @@ if(file==null){
         this.upload.open = false;
         this.upload.isUploading = false;
         this.$refs.upload.clearFiles();
-        this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", this.$t("drjg"), { dangerouslyUseHTMLString: true });
+        this.$modal.alert( response.msg);
         this.handleQuery();
       },
 // 提交上传文件

+ 1 - 1
web/安德森/src/views/sbwh/shfw/index.vue

@@ -223,7 +223,7 @@
         this.upload.open = false;
         this.upload.isUploading = false;
         this.$refs.upload.clearFiles();
-        this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
+        this.$modal.alert( response.msg);
         this.getList();
       },
 // 提交上传文件