From 3e6161248b133f8f41d4660c4fe61a0f196aead6 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 19 Feb 2025 09:15:21 +0800 Subject: [PATCH] =?UTF-8?q?bug#1889=E6=99=BA=E8=83=BD=E5=A1=AB=E8=A1=A8?= =?UTF-8?q?=E2=80=9D=E6=8F=90=E4=BA=A4=E2=80=9C=E5=90=8E=E5=BA=94=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E8=AF=A6=E6=83=85=E9=A1=B5=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E8=AF=A6=E6=83=85=E9=A1=B5=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E7=8A=B6=E6=80=81=E4=B8=BA=E2=80=9D=E5=B7=B2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E2=80=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/smartExcel/cpts/excel-view.vue | 1 + src/views/modules/base/smartExcel/cpts/filling-info.vue | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/modules/base/smartExcel/cpts/excel-view.vue b/src/views/modules/base/smartExcel/cpts/excel-view.vue index 8ec53ee0c..d51e664dd 100644 --- a/src/views/modules/base/smartExcel/cpts/excel-view.vue +++ b/src/views/modules/base/smartExcel/cpts/excel-view.vue @@ -253,6 +253,7 @@ export default { const { data, code, msg } = await requestPost(url, parm) if (code === 0) { this.$message.success('操作成功') + this.$emit('close') } else { console.log(msg); } diff --git a/src/views/modules/base/smartExcel/cpts/filling-info.vue b/src/views/modules/base/smartExcel/cpts/filling-info.vue index 7664c7c84..e4bed74f1 100644 --- a/src/views/modules/base/smartExcel/cpts/filling-info.vue +++ b/src/views/modules/base/smartExcel/cpts/filling-info.vue @@ -142,7 +142,6 @@ export default { }, methods: { async getPeriodTaskList() { - console.log(this.formData, "sdfkljlksdf"); let parms = { pageNo: 1, pageSize: 100, @@ -164,8 +163,10 @@ export default { this.infoObj = { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction } }); }, - close() { - this.showView = false + async close() { + this.showView = false; + await this.getDetail(); + await this.getPeriodTaskList(); }, handleClickBack() { this.$emit('close')