From a76dc4c48f200ffe01fe8ebec354e1697e33400a Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Fri, 28 Mar 2025 17:09:49 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pro/admissionRequest/index.vue | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/pro/admissionRequest/index.vue b/src/views/pro/admissionRequest/index.vue index 80868cd..acbc7a8 100644 --- a/src/views/pro/admissionRequest/index.vue +++ b/src/views/pro/admissionRequest/index.vue @@ -212,7 +212,14 @@ - +
@@ -783,6 +790,7 @@ export default { personClose() { this.personBasicOpen = false this.formPerson.fileList = [] + this.onCloseDialog() }, before() { this.active-- @@ -801,7 +809,7 @@ export default { }, importExcel: debounce(function () { - this.loading = true + // this.loading = true let data = [] for (let i = 1; i < this.excelData.length; i++) { data.push(this.excelData[i]) @@ -823,7 +831,7 @@ export default { this.formPerson.fileList = [] this.excelData = [] this.getSubPersonList() - this.loading = false + // this.loading = false } else { this.errorCode = response.msg this.active = 3 @@ -1049,6 +1057,12 @@ export default { } }) }, + + // 关闭导入弹框 + onCloseDialog() { + this.excelData = [] + this.active = 1 + }, }, }