From b5dee3a41dbb3638e227eeb55cffe2d7899429f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=99=E6=84=8F?= Date: Tue, 1 Jul 2025 21:13:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=95=8C=E9=9D=A2=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportConfig/component/editReportConfig.vue | 3 ++- .../system/reportConfig/component/reportView.vue | 4 ++++ Web/src/views/system/tenant/index.vue | 13 ++++++++++--- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Web/src/views/system/reportConfig/component/editReportConfig.vue b/Web/src/views/system/reportConfig/component/editReportConfig.vue index 41a1a5a6..b8485d93 100644 --- a/Web/src/views/system/reportConfig/component/editReportConfig.vue +++ b/Web/src/views/system/reportConfig/component/editReportConfig.vue @@ -28,7 +28,8 @@ - + + diff --git a/Web/src/views/system/reportConfig/component/reportView.vue b/Web/src/views/system/reportConfig/component/reportView.vue index 9d8e4e76..0f748d81 100644 --- a/Web/src/views/system/reportConfig/component/reportView.vue +++ b/Web/src/views/system/reportConfig/component/reportView.vue @@ -172,11 +172,15 @@ const handleExport = () => { cancelButtonText: t('取消'), type: 'warning', }).then(() => { + state.isLoading = true; getAPI(SysReportConfigApi) .apiSysReportConfigExportToExcelPost({ id: Number(reportConfigId), execParams: state.queryParams }, { responseType: 'blob' }) .then((res) => { var fileName = getFileName(res.headers); downloadByData(res.data as any, fileName); + }) + .finally(() => { + state.isLoading = false; }); }); }; diff --git a/Web/src/views/system/tenant/index.vue b/Web/src/views/system/tenant/index.vue index b68c3e24..ef946126 100644 --- a/Web/src/views/system/tenant/index.vue +++ b/Web/src/views/system/tenant/index.vue @@ -29,7 +29,7 @@ - +