1
guanqb
2023-02-01 99e01a28aa16a49aef8a5784840a18a3debaa44f
1
1 files modified
4 ■■■■ changed files
src/views/house/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/house/index.vue
@@ -773,7 +773,6 @@
            this.getVillageInfo(this.$route.query.id)
            getAoiByBgId(this.$route.query.id).then(res => {
                let aoiId = res.data.data.features[0].properties.aoi_id
                console.log(aoiId, 565656566666)
                this.getResidentialQuartersInfo(aoiId, '361102')
            })
            // 使用首页传过来的小区id获取停车场出入口商场和 小区名称类型地址数据
@@ -967,7 +966,6 @@
        // 楼栋单元楼层户室查询
        getHouses (build_id, adcode) {
            getHouses(build_id, adcode).then(res => {
                console.log(res, 999)
                let unitData = res.data.data.unit[this.unitValue - 1].house
                this.floorInfo.house_num = unitData.length
                let houseFloorList = []
@@ -1313,12 +1311,10 @@
        getResidentialQuartersInfo (area_id, adcode) {
            // '6E513C5E5D1611EAB6183C15FB00027B', '361102'
            getResidentialQuartersInfo(area_id, adcode).then(res => {
                console.log(7777)
                if (wallLayer != null) {
                    wallLayer.clear()
                }
                let positionStr = res.data.data.wkt.slice(12, res.data.data.wkt.length - 2).replace(/,/g, ';').replace(/ /g, ',').replace(/,0/g, ',10')
                console.log(res, positionStr, 111221)
                let wall = new global.DC.Wall(positionStr)
                wall.setStyle({