From 8f5f33483fdff2f5d28f1b5c3e47c3f35fd06ad7 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 17 Jun 2025 07:07:19 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BD=A6=E8=BE=86=E6=94=B6?= =?UTF-8?q?=E8=B4=B9=E6=A8=A1=E7=89=88=E5=AF=BC=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: java110 <928255095@qq.com> --- .../exportCarFeeImportExcel.js | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/public/components/property/exportCarFeeImportExcel/exportCarFeeImportExcel.js b/public/components/property/exportCarFeeImportExcel/exportCarFeeImportExcel.js index 802badf11..5227cede3 100644 --- a/public/components/property/exportCarFeeImportExcel/exportCarFeeImportExcel.js +++ b/public/components/property/exportCarFeeImportExcel/exportCarFeeImportExcel.js @@ -165,9 +165,32 @@ }, _exportExcel: function() { let _paIds = $that.exportCarFeeImportExcelInfo.paIds.join(','); - let _configIds = $that.exportCarFeeImportExcelInfo.configIds.join(','); - vc.jumpToPage('/callComponent/importAndExportFee/exportData?paIds=' + _paIds + "&configIds=" + _configIds + "&communityId=" + vc.getCurrentCommunity().communityId + "&type=2002"); - $('#exportCarFeeImportExcelModel').modal('hide'); + let _configIds = $that.exportFeeImportExcelInfo.configIds.join(','); + let param = { + params: { + paIds: _paIds, + configIds: _configIds, + communityId: vc.getCurrentCommunity().communityId, + type: '2002', + pagePath: 'exportCreateFeeTemplate' + } + }; + //发送get请求 + vc.http.apiGet('/export.exportData', param, + function (json, res) { + let _json = JSON.parse(json); + vc.toast(_json.msg); + if (_json.code == 0) { + $('#exportCarFeeImportExcelModel').modal('hide'); + setTimeout(function () { + vc.jumpToPage('/#/pages/property/downloadTempFile?tab=下载中心') + }, 500); + } + }, + function (errInfo, error) { + console.log('请求失败处理'); + }); + } } });