| 
					
				 | 
			
			
				@@ -146,39 +146,73 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     title: '楼栋信息' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }).then((e) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (e.ids.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    let lengthSum = e.ids.length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    switch (lengthSum) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.addressType = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.addressType = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        case 3: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.addressType = 3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        case 4: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.addressType = 4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.floorName = e.ids[3]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        case 5: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.addressType = 5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.floorName = e.ids[3]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            this.formData.houseId = e.ids[4]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                debugger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let address = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (!!e.roomId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.addressType = 5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.buildingId = e.buildingId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.unitName = e.unitId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.floorName = e.floorId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.houseId = e.roomId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    address = e.buildingName + '-' + e.unitName + '-' + e.floor + '-' + e.roomName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else if (!!e.floorId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.addressType = 4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.buildingId = e.buildingId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.unitName = e.unitId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.floorName = e.floorId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.houseId = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    address = e.buildingName + '-' + e.unitName + '-' + e.floor; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else if (!!e.unitId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.addressType = 3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.buildingId = e.buildingId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.unitName = e.unitId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.floorName = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.houseId = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    address = e.buildingName + '-' + e.unitName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else if (!!e.buildingId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.addressType = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.buildingId = e.buildingId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.unitName = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.floorName = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.formData.houseId = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    address = e.buildingName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.formData.address = ` ${e.buildingName} - ${e.unitName} - ${e.roomName}`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // console.log(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // debugger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // if (e.ids.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     let lengthSum = e.ids.length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     switch (lengthSum) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.addressType = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.addressType = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         case 3: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.addressType = 3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         case 4: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.addressType = 4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.floorName = e.ids[3]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         case 5: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.addressType = 5; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.buildingId = e.ids[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.unitName = e.ids[2]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.floorName = e.ids[3]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             this.formData.houseId = e.ids[4]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //         default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.formData.address = address; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         submit() { 
			 |