mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +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.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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user