diff --git a/ruoyi-ui/src/views/ccdiEmployee/index.vue b/ruoyi-ui/src/views/ccdiEmployee/index.vue index 5a622e0..26f9b24 100644 --- a/ruoyi-ui/src/views/ccdiEmployee/index.vue +++ b/ruoyi-ui/src/views/ccdiEmployee/index.vue @@ -247,6 +247,20 @@ 取 消 + + + +
+ +
@@ -346,6 +360,12 @@ export default { headers: { Authorization: "Bearer " + getToken() }, // 上传的地址 url: process.env.VUE_APP_BASE_API + "/ccdi/employee/importData" + }, + // 导入结果弹窗 + importResult: { + open: false, + title: "导入结果", + content: "" } }; }, @@ -501,10 +521,9 @@ export default { this.upload.isUploading = false; this.upload.open = false; this.getList(); - this.$alert(response.msg, "导入结果", { - dangerouslyUseHTMLString: true, - customClass: 'import-result-dialog' - }); + // 显示导入结果弹窗 + this.importResult.content = response.msg; + this.importResult.open = true; }, // 提交上传文件 submitFileForm() { @@ -632,96 +651,42 @@ export default { font-size: 13px; margin-right: 8px; } - - + +