优化代码

This commit is contained in:
wuxw 2022-08-23 23:06:58 +08:00
parent 4f51f12f4a
commit 128c220aff
2 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -23,7 +23,8 @@
roomNum: '', roomNum: '',
unitId: '', unitId: '',
roomSubType: '', roomSubType: '',
ownerName: '' ownerName: '',
communityId : vc.getCurrentCommunity().communityId
}, },
feeConfigs: [], feeConfigs: [],
feeConfigNames: [], feeConfigNames: [],
@ -88,7 +89,7 @@
_loadListOweFeeInfo: function (_page, _row) { _loadListOweFeeInfo: function (_page, _row) {
vc.component.listOweFeeInfo.conditions.page = _page; vc.component.listOweFeeInfo.conditions.page = _page;
vc.component.listOweFeeInfo.conditions.row = _row; vc.component.listOweFeeInfo.conditions.row = _row;
vc.component.listOweFeeInfo.conditions.communityId = vc.getCurrentCommunity().communityId; // vc.component.listOweFeeInfo.conditions.;
let _configIds = ""; let _configIds = "";
$that.listOweFeeInfo.feeConfigNames.forEach(item => { $that.listOweFeeInfo.feeConfigNames.forEach(item => {
_configIds += (item.configId + ',') _configIds += (item.configId + ',')
@ -228,7 +229,9 @@
if (_configIds.endsWith(',')) { if (_configIds.endsWith(',')) {
_configIds = _configIds.substring(0, _configIds.length - 1); _configIds = _configIds.substring(0, _configIds.length - 1);
} }
vc.jumpToPage('/callComponent/exportReportFee/exportData?communityId=' + vc.getCurrentCommunity().communityId + "&pagePath=listOweFee&configIds=" + _configIds);
let _conditions = vc.objToGetParam($that.listOweFeeInfo.conditions)
vc.jumpToPage('/callComponent/exportReportFee/exportData?pagePath=listOweFee&configIds=' + _configIds+"&"+_conditions);
}, },
_toFeeCollectionOrderManage: function () { _toFeeCollectionOrderManage: function () {
vc.jumpToPage('/#/pages/property/feeCollectionOrderManage'); vc.jumpToPage('/#/pages/property/feeCollectionOrderManage');