Skip to content

Commit 8d755fd

Browse files
928255095gitee-org
authored andcommitted
优化欠费信息导出问题
Signed-off-by: java110 <[email protected]>
1 parent c267cba commit 8d755fd

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

public/pages/property/listOweFee/listOweFee.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,23 @@
229229
}
230230
//&configIds= + _configIds
231231
let _conditions = vc.objToGetParam($that.listOweFeeInfo.conditions)
232-
vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=listOweFee' + "&" + _conditions);
232+
//vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=listOweFee' + "&" + _conditions);
233+
_conditions.pagePath = 'listOweFee';
234+
let param = {
235+
params: _conditions
236+
};
237+
//发送get请求
238+
vc.http.apiGet('/export.exportData', param,
239+
function (json, res) {
240+
let _json = JSON.parse(json);
241+
vc.toast(_json.msg);
242+
if (_json.code == 0) {
243+
vc.jumpToPage('/#/pages/property/downloadTempFile?tab=下载中心')
244+
}
245+
},
246+
function (errInfo, error) {
247+
console.log('请求失败处理');
248+
});
233249
},
234250
_toFeeCollectionOrderManage: function () {
235251
vc.jumpToPage('/#/pages/property/feeCollectionOrderManage');

0 commit comments

Comments
 (0)