| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: song |
| | | * @LastEditTime: 2023-04-02 14:36:25 |
| | | * @LastEditTime: 2023-04-02 16:42:04 |
| | | * @FilePath: \srs-police-affairs\src\views\house\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | baseUrl = "http://10.141.11.11/" |
| | | } |
| | | |
| | | |
| | | |
| | | // 小区名称类型地址 |
| | | let villageData = res.data.result[0] |
| | | |
| | | this.$EventBus.$emit("toPosition", { |
| | | ...villageData, |
| | | siteJd: Number(villageData.location.lng), |
| | | siteWd: Number(villageData.location.lat) - 0.0021, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | |
| | | this.villageInfo.name = villageData.name |
| | | this.villageInfo.address = villageData.address |
| | | this.villageInfo.type_name = villageData.type_name.split("|")[0] |
| | |
| | | |
| | | this.BuildListLoading = false |
| | | |
| | | this.buildingClick(this.buildingList[0]) |
| | | this.queryBuildings(this.buildingList[0]) |
| | | } |
| | | |
| | | this.callPolicePage.currentPage = 1 |
| | |
| | | this.unitValue = 1 |
| | | }, |
| | | |
| | | queryBuildings (item, aoiArr) { |
| | | this.unitHouseChoosed = [] |
| | | this.pictLoading = true |
| | | if (!aoiArr) { |
| | | this.$EventBus.$emit("clearHouse3D") |
| | | } |
| | | this.buildingChoosed = item |
| | | this.floorInfo.elev = item.elev |
| | | this.floorInfo.floor_num = item.floor_num |
| | | // 获取户籍人口重点人口数据 |
| | | this.choosedBuildId = item.build_id |
| | | this.getVillagePersonStatisticInfoByBuildId(item.build_id) |
| | | this.getHouses(item.build_id, "361102", aoiArr) |
| | | this.floorsType = 1 |
| | | document.querySelector(".floor-num").style.left = "0px" |
| | | this.lastFloorShow = false |
| | | this.unitValue = 1 |
| | | }, |
| | | |
| | | nextBtn () { |
| | | const boxWidth = parseInt(this.$refs.BuildOutBox.offsetWidth) |
| | | // if (parseInt(document.querySelector(".build-box").offsetWidth) > Math.abs(parseInt(document.querySelector(".build-box").style.left)) + boxWidth) { |