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 + }, }, }