|  |  | @ -62,7 +62,7 @@ | 
			
		
	
		
			
				
					|  |  |  |           <div class="resi-cell-value"> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |             <el-select class="item_width_1" | 
			
		
	
		
			
				
					|  |  |  |                        v-model="rentState" | 
			
		
	
		
			
				
					|  |  |  |                        v-model="rentFlag" | 
			
		
	
		
			
				
					|  |  |  |                        placeholder="请选择" | 
			
		
	
		
			
				
					|  |  |  |                        size="small" | 
			
		
	
		
			
				
					|  |  |  |                        clearable> | 
			
		
	
	
		
			
				
					|  |  | @ -92,18 +92,27 @@ | 
			
		
	
		
			
				
					|  |  |  |                    ref="ref_neighTable" | 
			
		
	
		
			
				
					|  |  |  |                    :staffAgencyId="staffAgencyId" | 
			
		
	
		
			
				
					|  |  |  |                    :showImportBtn="showImportBtn" | 
			
		
	
		
			
				
					|  |  |  |                    :ownerName="ownerName" | 
			
		
	
		
			
				
					|  |  |  |                    :ownerPhone="ownerPhone" | 
			
		
	
		
			
				
					|  |  |  |                    :rentFlag="rentFlag" | 
			
		
	
		
			
				
					|  |  |  |                    @toNextLevel="toNextLevel" | 
			
		
	
		
			
				
					|  |  |  |                    @refreshTree="refreshTree"></build-table> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <room-table v-if="showRoomTable||selTreeObj.level==='building'" | 
			
		
	
		
			
				
					|  |  |  |                   :staffAgencyId="staffAgencyId" | 
			
		
	
		
			
				
					|  |  |  |                   :showImportBtn="showImportBtn" | 
			
		
	
		
			
				
					|  |  |  |                   :ownerName="ownerName" | 
			
		
	
		
			
				
					|  |  |  |                   :ownerPhone="ownerPhone" | 
			
		
	
		
			
				
					|  |  |  |                   :rentFlag="rentFlag" | 
			
		
	
		
			
				
					|  |  |  |                   ref="ref_buildingTable" | 
			
		
	
		
			
				
					|  |  |  |                   @refreshTree="refreshTree"></room-table> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       <community-table v-if="selTreeObj.level!=='building'&&selTreeObj.level!=='neighborHood'&&!showRoomTable" | 
			
		
	
		
			
				
					|  |  |  |                        @toNextLevel="toNextLevel" | 
			
		
	
		
			
				
					|  |  |  |                        :staffAgencyId="staffAgencyId" | 
			
		
	
		
			
				
					|  |  |  |                        :ownerName="ownerName" | 
			
		
	
		
			
				
					|  |  |  |                        :ownerPhone="ownerPhone" | 
			
		
	
		
			
				
					|  |  |  |                        :rentFlag="rentFlag" | 
			
		
	
		
			
				
					|  |  |  |                        ref="ref_communityTable" | 
			
		
	
		
			
				
					|  |  |  |                        @refreshTree="refreshTree"></community-table> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -156,7 +165,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       ], | 
			
		
	
		
			
				
					|  |  |  |       ownerName: '', | 
			
		
	
		
			
				
					|  |  |  |       ownerPhone: '', | 
			
		
	
		
			
				
					|  |  |  |       rentState: '', | 
			
		
	
		
			
				
					|  |  |  |       rentFlag: '', | 
			
		
	
		
			
				
					|  |  |  |       showRoomTable: false, | 
			
		
	
		
			
				
					|  |  |  |       selObj: {}, | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | @ -197,11 +206,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     handleSearch () { | 
			
		
	
		
			
				
					|  |  |  |       if (this.ownerName || this.ownerPhone || this.rentState) { | 
			
		
	
		
			
				
					|  |  |  |       if (this.ownerName || this.ownerPhone || this.rentFlag) { | 
			
		
	
		
			
				
					|  |  |  |         this.showRoomTable = true | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         this.$nextTick(() => { | 
			
		
	
		
			
				
					|  |  |  |           this.$refs['ref_buildingTable'].loadTable('search', this.selTreeObj, this.ownerName, this.ownerPhone, this.rentState) | 
			
		
	
		
			
				
					|  |  |  |           this.$refs['ref_buildingTable'].loadTable('search', this.selTreeObj, this.ownerName, this.ownerPhone, this.rentFlag) | 
			
		
	
		
			
				
					|  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |         this.$message.warning('请输入查询条件') | 
			
		
	
	
		
			
				
					|  |  | @ -214,7 +223,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     resetSearch () { | 
			
		
	
		
			
				
					|  |  |  |       this.ownerName = '' | 
			
		
	
		
			
				
					|  |  |  |       this.ownerPhone = '' | 
			
		
	
		
			
				
					|  |  |  |       this.rentState = '' | 
			
		
	
		
			
				
					|  |  |  |       this.rentFlag = '' | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       this.pageSize = 10 | 
			
		
	
		
			
				
					|  |  |  |       this.pageNo = 1 | 
			
		
	
	
		
			
				
					|  |  | @ -285,7 +294,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     handleNodeClick (obj) { | 
			
		
	
		
			
				
					|  |  |  |       this.ownerName = '' | 
			
		
	
		
			
				
					|  |  |  |       this.ownerPhone = '' | 
			
		
	
		
			
				
					|  |  |  |       this.rentState = '' | 
			
		
	
		
			
				
					|  |  |  |       this.rentFlag = '' | 
			
		
	
		
			
				
					|  |  |  |       this.showRoomTable = false | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |       this.selObj = JSON.parse(JSON.stringify(obj)) | 
			
		
	
	
		
			
				
					|  |  | 
 |