| | |
| | | }, |
| | | |
| | | // 三维接口查询楼栋户室 |
| | | getHouses3DData (build_std_addr_id, adcode, aoiArr) { |
| | | getHouses3DData (build_std_addr_id, adcode, aoiArr, params) { |
| | | this.unitChoosed3DList = [] |
| | | getHouses(build_std_addr_id, adcode).then((res) => { |
| | | let houseData = res.data.data.properties |
| | | |
| | | if (houseData?.nwwqd?.features.length === 0) { |
| | | this.residentDetailsClick(params) |
| | | return |
| | | } |
| | | |
| | | if (res.data.data.properties?.hwtxa?.features) { |
| | | this.$EventBus.$emit("showThreeDimensions", { |
| | |
| | | this.getHouses3DData(res.data.result[0].std_addr_id.split("|")[0], "361102", [ |
| | | [e.wgs84Position.lng, e.wgs84Position.lat], |
| | | e.wgs84Position.alt, |
| | | ]) |
| | | ], res.data.result[0]) |
| | | } |
| | | } |
| | | }) |