| | |
| | | contractId: '', |
| | | conditions: { |
| | | contractNameLike: '', |
| | | communityId: vc.getCurrentCommunity().communityId, |
| | | // communityId: vc.getCurrentCommunity().communityId, |
| | | contractCode: '', |
| | | contractType: '', |
| | | state: '' |
| | |
| | | params: vc.component.newContractManageInfo.conditions |
| | | }; |
| | | param.params.contractNameLike = param.params.contractNameLike.trim(); |
| | | param.params.communityId = vc.getCurrentCommunity().communityId; |
| | | // param.params.communityId = vc.getCurrentCommunity().communityId; |
| | | param.params.contractCode = param.params.contractCode.trim(); |
| | | //发送get请求 |
| | | vc.http.apiGet('/contract/queryContract', |
| | |
| | | //重置 |
| | | _resetContractMethod: function () { |
| | | vc.component.newContractManageInfo.conditions.contractNameLike = ""; |
| | | vc.component.newContractManageInfo.conditions.communityId = vc.getCurrentCommunity().communityId; |
| | | // vc.component.newContractManageInfo.conditions.communityId = vc.getCurrentCommunity().communityId; |
| | | vc.component.newContractManageInfo.conditions.contractCode = ""; |
| | | vc.component.newContractManageInfo.conditions.contractType = ""; |
| | | vc.component._listContracts(DEFAULT_PAGE, DEFAULT_ROWS); |