| | |
| | | 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获取停车场出入口商场和 小区名称类型地址数据 |
| | |
| | | // 楼栋单元楼层户室查询 |
| | | 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 = [] |
| | |
| | | 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({ |