shuishen
2023-04-02 67e7b65845a208362ea2e399744dabdf826d1253
Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs
1 files modified
34 ■■■■■ changed files
src/views/house/index.vue 34 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue
@@ -2,7 +2,7 @@
 * @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: 小区-栋-层-房屋
 * 
@@ -748,8 +748,19 @@
                    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]
@@ -810,7 +821,7 @@
                    this.BuildListLoading = false
                    this.buildingClick(this.buildingList[0])
                    this.queryBuildings(this.buildingList[0])
                }
                this.callPolicePage.currentPage = 1
@@ -974,6 +985,25 @@
            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) {