mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化营业报表退出问题
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
87ff72b15f
commit
22ea6cb3a8
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user