From 9630f5f0c834496da20fca1e391dcdfef1021de1 Mon Sep 17 00:00:00 2001 From: fujunling <2984387807@qq.com> Date: 星期三, 26 七月 2023 17:38:01 +0800 Subject: [PATCH] 关闭弹窗 --- Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue index 5268994..6d28988 100644 --- a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue +++ b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue @@ -237,6 +237,7 @@ type: Array, default: () => ({}), }, + resetTable: Function }, computed: { dialogVisible: { @@ -549,11 +550,13 @@ }, ]; } - this.submitLoading = true + this.submitLoading = true submitHistoryimport(params).then((res) => { this.submitLoading = false if (res.data.code === 200) { this.$message.success(res.data.msg); + this.$parent.dialogVisible = false + this.resetTable() } }); }, -- Gitblit v1.9.3