优化营业报表退出问题

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2025-05-14 06:49:40 +00:00 committed by Gitee
parent 87ff72b15f
commit 22ea6cb3a8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -196,16 +196,23 @@
_condition.row = 10000; _condition.row = 10000;
_condition.componentId = item.componentId; _condition.componentId = item.componentId;
_condition.communityId = _communityId _condition.communityId = _communityId
let _result = []; _condition.pagePath = 'exportCustomReportTableData';
for (let key in _condition) { //vc.jumpToPage('/callComponent/importAndExportFee/exportCustomReportTableData?' + urlParam)
let value = _condition[key]; let param = {
if (!value) { params: _condition
continue; };
} //发送get请求
_result.push(key + '=' + value); vc.http.apiGet('/export.exportData', param,
} function (json, res) {
let urlParam = _result.join('&'); let _json = JSON.parse(json);
vc.jumpToPage('/callComponent/importAndExportFee/exportCustomReportTableData?' + urlParam) vc.toast(_json.msg);
if (_json.code == 0) {
vc.jumpToPage('/#/pages/property/downloadTempFile?tab=下载中心')
}
},
function (errInfo, error) {
console.log('请求失败处理');
});
}, },
_printReportTableMethod: function (_data) { _printReportTableMethod: function (_data) {
vc.saveData('printCommonReportTableData', _data); vc.saveData('printCommonReportTableData', _data);