优化营业报表退出问题

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