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 9d77e99f..e711cd0c 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 7b443f77..79ab8026 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); + }); }