| | |
| | | }); |
| | | }, |
| | | saveMachineInfo: function () { |
| | | vc.component.addMachineInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | if (vc.component.addMachineInfo.locationTypeCd != '2000' && vc.component.addMachineInfo.locationTypeCd != '3000') { //大门时直接写 小区ID |
| | | vc.component.addMachineInfo.locationObjId = vc.component.addMachineInfo.communityId; |
| | | } else if (vc.component.addMachineInfo.locationTypeCd == '2000') { |
| | |
| | | |
| | | return; |
| | | } |
| | | |
| | | vc.component.addMachineInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | |
| | | |
| | | |
| | | |
| | | //不提交数据将数据 回调给侦听处理 |
| | |
| | | }; |
| | | }, |
| | | processResults: function (data) { |
| | | console.log(data, vc.component._filterRoomData(data)); |
| | | console.log(data, vc.component._filterRoomData(data.rooms)); |
| | | return { |
| | | results: vc.component._filterRoomData(data) |
| | | results: vc.component._filterRoomData(data.rooms) |
| | | }; |
| | | }, |
| | | cache: true |