| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-16 15:21:21 |
| | | * @LastEditTime: 2023-02-16 17:10:34 |
| | | * @FilePath: \srs-police-affairs\src\views\house\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | treeEmptyText: "", |
| | | |
| | | contentShow: true, |
| | | unitOptions: [{ value: 1, label: '1单元'}], |
| | | unitOptions: [{ value: 1, label: '1单元' }], |
| | | unitValue: 1, |
| | | searchHouse: '', |
| | | navType: 0, |
| | |
| | | if (current.hasChildren == true) return |
| | | this.filterText = '' |
| | | this.prop = current.name |
| | | circleLayer.clear() |
| | | circleLayer.remove() |
| | | circleLayer = null |
| | | |
| | | this.getResidentialQuartersInfo(current.id, '361102') |
| | | this.getSearchExtensivelyBgAoiDeepdata('ebf48ecaa1fd436fa3d40c4600aa051f', '361100', current.id, '1|3') |
| | | this.getVillageInfo(current.id) |
| | | |
| | | circleLayer.clear() |
| | | circleLayer.remove() |
| | | circleLayer = null |
| | | |
| | | this.$refs.searchTreeInput.blur() |
| | | this.searchTreeName = '' |
| | | this.searchLazyFlag = true |
| | | |
| | | }, |
| | | |
| | | navClick (e) { |
| | |
| | | if (res.data != null && houseData.nwwqd.features != []) { |
| | | let unitData = houseData.nwwqd.features |
| | | this.floorInfo.house_num = unitData.length |
| | | // if (houseData.hwtxa.features.length > 1) { |
| | | if (houseData.hwtxa.features.length > 1) { |
| | | this.isShowUnitChoose = true |
| | | // } |
| | | } |
| | | let allUnitDate = [] |
| | | this.unitOptions= [] |
| | | this.unitOptions = [] |
| | | houseData.hwtxa.features.forEach((item, index) => { |
| | | this.unitOptions.push({ value: `${index + 1}`, label: `${item.properties.pgjmz}` }) |
| | | let unitOptionData = [] |