| | |
| | | <div> |
| | | <div class="l">所属辖区:</div> |
| | | <div class="r">{{ villageInfo.policeStationName ? villageInfo.policeStationName : '暂无数据' |
| | | }} |
| | | }} |
| | | </div> |
| | | </div> |
| | | <div> |
| | |
| | | <div class="item"> |
| | | <div class="key">名称:</div> |
| | | <div class="value">{{ businessChooseItem.placeName |
| | | }}</div> |
| | | }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="key">类型:</div> |
| | | <div class="value">{{ |
| | | businessChooseItem.labelName |
| | | }}</div> |
| | | }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="key">地址:</div> |
| | | <div class="value">{{ |
| | | businessChooseItem.location |
| | | }}</div> |
| | | }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="key">经度:</div> |
| | | <div class="value">{{ businessChooseItem.x |
| | | }}</div> |
| | | }}</div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="key">纬度:</div> |
| | | <div class="value">{{ businessChooseItem.y |
| | | }}</div> |
| | | }}</div> |
| | | </div> |
| | | </div> |
| | | <map-search-box></map-search-box> |
| | |
| | | isHover: true, |
| | | |
| | | }, |
| | | { |
| | | name: 'fzxc', |
| | | label: "反诈宣传", |
| | | value: 7, |
| | | isHover: true, |
| | | }, |
| | | // { |
| | | // name: 'fzxc', |
| | | // label: "反诈宣传", |
| | | // value: 7, |
| | | // isHover: true, |
| | | // }, |
| | | { |
| | | name: 'smbj', |
| | | label: "扫码报警", |
| | |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[0].children_infos |
| | | this.floorInfo.elev = this.unitAllArr.children_infos[0].elev == 1 ? '有' : '无' |
| | | // this.floorInfo.floor_num = this.unitAllArr.children_infos[0].children_infos.length |
| | | this.isShowFloorCount = false |
| | | let buildId = this.unitAllArr.std_addr_id.split("|")[1] ? this.unitAllArr.std_addr_id.split("|")[1] : this.unitAllArr.std_addr_id.split("|")[0] |
| | | this.getVillagePersonStatisticInfoByBuildId({ buildId }) |
| | | let houseCount = 0 |
| | |
| | | this.isShowHouseBox = true |
| | | this.unitChoosedArr = houseUintList.children_infos |
| | | this.floorInfo.elev = houseUintList.elev == 1 ? '有' : '无' |
| | | this.isShowFloorCount = false |
| | | let aoiId = houseUintList.std_addr_id.split("|")[0] |
| | | this.choosedBuildUid = aoiId |
| | | this.getVillagePersonStatisticInfoByBuildId({ aoiId }) |
| | |
| | | |
| | | } |
| | | |
| | | this.isShowFloorCount = false |
| | | this.BuildListLoading = false |
| | | this.callPolicePage.currentPage = 1 |
| | | this.getAlarmList() |
| | | }).catch(res => { |
| | | setTimeout(() => { |
| | | this.villageInfoLoading = false |
| | | this.isShowFloorCount = false |
| | | this.BuildListLoading = false |
| | | this.isHaveResidentData = false |
| | | }, 500) |
| | |
| | | }, |
| | | |
| | | // 楼栋单元楼层户室查询--大搜 |
| | | async getUnitHousesData (ak, region, ids, infos, buildId) { |
| | | async getUnitHousesData (ak, region, ids, infos, buildId, houseId = null) { |
| | | this.isShowUnitChoose = false |
| | | |
| | | await getSearchExtensivelyHousesdata(ak, region, ids, infos).then((res) => { |
| | |
| | | label: `${item.sname}`, |
| | | }) |
| | | }) |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[0].children_infos |
| | | |
| | | if (houseId) { |
| | | let find = this.unitAllArr.children_infos.find((item, index) => { |
| | | return item.children_infos.some(floorItem => { |
| | | return floorItem.children_infos.some(houseItem => { |
| | | let residentId = houseItem.std_addr_id.split('|')[2] |
| | | return residentId === houseId |
| | | }) |
| | | }) |
| | | }) |
| | | |
| | | if (find) { |
| | | this.unitValue = this.unitOptions.find(option => option.label === find.sname).value |
| | | |
| | | this.unitChoosedArr = find.children_infos |
| | | } |
| | | |
| | | else { |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[0].children_infos |
| | | } |
| | | } else { |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[0].children_infos |
| | | } |
| | | } else if (houseUintList.children_infos.length > 1 && houseUintList.children_infos[0].exttype == 'floor') { |
| | | this.unitChoosedArr = this.unitAllArr.children_infos |
| | | } |
| | | |
| | | let houseCount = 0 |
| | | this.unitChoosedArr.forEach(item => { |
| | | item.children_infos.forEach(it => { |
| | |
| | | this.floorChoosed = params.sname |
| | | this.getResident3DData(residentId) |
| | | } else { |
| | | residentId = params.std_addr_id.split('|')[1] |
| | | residentId = params.std_addr_id.split('|')[1] ? params.std_addr_id.split('|')[1] : params.std_addr_id.split('|')[0] |
| | | this.residentDetailsType = 2 |
| | | this.residentIdSave = residentId |
| | | await this.getHouseDetailEvent(residentId, 2) |
| | |
| | | this.residentDetailsType = 1 |
| | | }, |
| | | |
| | | async buildingClick (item, aoiArr) { |
| | | async buildingClick (item, aoiArr, houseId) { |
| | | if (this.buildingChoosed.name == item.name && !aoiArr) return |
| | | this.unfoldHouseBox('up') |
| | | this.isBuildHighLightchecked = true |
| | |
| | | "361100", |
| | | item.build_uid, |
| | | "1|3", |
| | | buildId) |
| | | buildId, |
| | | houseId) |
| | | this.getHouses3DData(item.build_std_addr_id, "361102", aoiArr) |
| | | this.floorsType = 1 |
| | | document.querySelector(".floor-num").style.left = "0px" |
| | | this.lastFloorShow = false |
| | | |
| | | this.unitValue = 1 |
| | | }, |
| | | |
| | | nextBtn () { |
| | |
| | | ).then((res) => { |
| | | let bgId = res.data.data.properties.ijnnl |
| | | let aoiId = res.data.data.properties.bnhqh |
| | | let houseId = res.data.data.properties.zwopg |
| | | getSearchExtensively( |
| | | "ebf48ecaa1fd436fa3d40c4600aa051f", |
| | | "361100", |
| | |
| | | this.buildingClick(chooseBuildItem, [ |
| | | [e.wgs84Position.lng, e.wgs84Position.lat], |
| | | e.wgs84Position.alt, |
| | | ]) |
| | | ], houseId) |
| | | } else { |
| | | this.getVillageInfo(aoiId) |
| | | |