From 09aaecec5400e9eed467891f508ccb9378430f3f Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Fri, 18 Apr 2025 13:32:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=87=AA=E6=9F=A5=E8=87=AA=E8=AF=84?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=AF=BC=E5=85=A5=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/check/checknum/checknum.html | 12 +++++++----- .../templates/system/checkReport/checkReport.html | 8 +++++++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html b/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html index 9d77e99..e711cd0 100644 --- a/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html +++ b/ruoyi-admin/src/main/resources/templates/system/check/checknum/checknum.html @@ -318,12 +318,14 @@ $.table.init(options); }); - - /** - * 导出明细 - */ function exportDetail(checkId) { - window.location.href = prefixTable + '/exportDetail?checkId=' + checkId; + $.modal.confirm("确定导出吗?", function() { + $.modal.loading("正在导出数据,请稍候..."); + window.location.href = prefixTable + '/exportDetail?checkId=' + checkId; + setTimeout(function() { + $.modal.closeLoading(); + }, 800); + }); } diff --git a/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html b/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html index 7b443f7..79ab802 100644 --- a/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html +++ b/ruoyi-admin/src/main/resources/templates/system/checkReport/checkReport.html @@ -251,7 +251,13 @@ * 导出明细 */ function exportDetail(checkId) { - window.location.href = prefix + '/exportDetail?checkId=' + checkId; + $.modal.confirm("确定导出吗?", function() { + $.modal.loading("正在导出数据,请稍候..."); + window.location.href = prefix + '/exportDetail?checkId=' + checkId; + setTimeout(function() { + $.modal.closeLoading(); + }, 800); + }); }