优化车辆收费模版导出问题

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2025-06-17 07:07:19 +00:00 committed by Gitee
parent 563997a5d6
commit 8f5f33483f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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('请求失败处理');
});
}
}
});