| | |
| | | listParkingSpaceInfo:{ |
| | | parkingSpaces:[], |
| | | total:0, |
| | | records:1 |
| | | records:1, |
| | | num:'' |
| | | } |
| | | }, |
| | | _initMethod:function(){ |
| | |
| | | _initEvent:function(){ |
| | | vc.on('listParkingSpace','listParkingSpaceData',function(){ |
| | | vc.component._listParkingSpaceData(DEFAULT_PAGE,DEFAULT_ROWS); |
| | | vc.component.listParkingSpaceInfo.num = ''; |
| | | }); |
| | | vc.on('pagination','page_event',function(_currentPage){ |
| | | vc.component._listParkingSpaceData(_currentPage,DEFAULT_ROWS); |
| | |
| | | params:{ |
| | | page:_page, |
| | | row:_row, |
| | | communityId:vc.getCurrentCommunity().communityId |
| | | communityId:vc.getCurrentCommunity().communityId, |
| | | num:vc.component.listParkingSpaceInfo.num |
| | | } |
| | | } |
| | | |
| | |
| | | }else{ |
| | | return "未知"; |
| | | } |
| | | }, |
| | | queryParkingSpaceMethod:function(){ |
| | | vc.component._listParkingSpaceData(DEFAULT_PAGE,DEFAULT_ROWS); |
| | | } |
| | | } |
| | | }) |