| | |
| | | // 点击户室--大搜 |
| | | residentDetailsClick (params) { |
| | | let residentId = '' |
| | | |
| | | if (params.exttype == 'room') { |
| | | residentId = params.std_addr_id.split('|')[2] |
| | | this.getVillagePersonInfo(residentId) |
| | |
| | | } else { |
| | | residentId = params.std_addr_id.split('|')[1] |
| | | this.getVillagePersonInfo('', residentId) |
| | | this.$EventBus.$emit("toPosition", { |
| | | siteJd: Number(params.lng), |
| | | siteWd: Number(params.lat) - 0.0021, |
| | | siteGd: 240, |
| | | sitePitch: -45, |
| | | }) |
| | | // this.$EventBus.$emit("toPosition", { |
| | | // siteJd: Number(params.lng), |
| | | // siteWd: Number(params.lat) - 0.0021, |
| | | // siteGd: 240, |
| | | // sitePitch: -45, |
| | | // }) |
| | | } |
| | | console.log('residentDetailsClick--then') |
| | | this.getPicURL(residentId) |