| | |
| | | style="justify-content: center;">暂无楼栋数据 |
| | | </div> |
| | | </el-main> |
| | | <div class="ridgepole-info"> |
| | | <div class="ridgepole-info" v-if="isShowHouseBox"> |
| | | <div class="title">楼栋信息</div> |
| | | <div class="content"> |
| | | <div> |
| | | <div>电梯</div> |
| | | <div style="color:#72fff8x">{{ floorInfo.elev == 1 ? '有' : '无' }}</div> |
| | | </div> |
| | | <div> |
| | | <div v-if="isShowFloorCount"> |
| | | <div>楼层总数</div> |
| | | <div style="color:#72fff8x">{{ floorInfo.floor_num }}</div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="people-info"> |
| | | <div class="people-info" v-if="isShowHouseBox"> |
| | | <div class="title">人口情况</div> |
| | | <div class="content"> |
| | | <div class="one"> |
| | |
| | | |
| | | data () { |
| | | return { |
| | | isShowFloorCount: false, |
| | | isBuildHighLightchecked: true, |
| | | isShowBuildListBox: true, |
| | | // 下拉搜索--树状数据相关 |
| | |
| | | peopleName: "", |
| | | callPhone: "", |
| | | pictLoading: false, |
| | | isShowHouseBox: true, |
| | | isShowHouseBox: false, |
| | | floorChoosed: {}, |
| | | isShowUnitChoose: false, |
| | | isShowPictArrow: "never", |
| | |
| | | */ |
| | | currentChangeHandle (current, currentNode) { |
| | | if (current.hasChildren == true || current.type != 3) return |
| | | |
| | | this.filterText = "" |
| | | this.prop = current.name |
| | | if (current.type == 3) { |
| | |
| | | getSearchExtensivelyBgAoiDeepdata (ak, region, ids, infos) { |
| | | this.villageInfoLoading = true |
| | | this.BuildListLoading = true |
| | | this.pictLoading = true |
| | | this.buildingList = [] |
| | | getSearchExtensivelyBgAoiDeepdata(ak, region, ids, infos).then((res) => { |
| | | let baseUrl |
| | |
| | | }) |
| | | } |
| | | |
| | | this.unitChoosedArr = [] |
| | | // 小区楼栋数据 |
| | | if ( |
| | | res.data.result[0].children_infos && |
| | | res.data.result[0].children_infos.length |
| | | ) { |
| | | console.log('building', res.data.result[0].children_infos) |
| | | console.log('search---building', res.data.result[0].children_infos) |
| | | if (res.data.result[0].children_infos[0].exttype == 'building') { |
| | | console.log('building', res.data.result[0].children_infos) |
| | | |
| | | this.isShowBuildListBox = true |
| | | let buildData = res.data.result[0].children_infos |
| | | buildData.forEach((item) => { |
| | |
| | | this.BuildListLoading = false |
| | | }, 500) |
| | | |
| | | this.buildingClick(this.buildingList[0]) |
| | | // this.buildingClick(this.buildingList[0]) |
| | | } else if (res.data.result[0].children_infos[0].exttype == 'unit') { |
| | | console.log('search---unit') |
| | | this.isShowHouseBox = true |
| | | this.isShowBuildListBox = false |
| | | let houseUintList = res.data.result[0] |
| | | this.unitAllArr = houseUintList |
| | | console.log('unit') |
| | | this.isShowUnitChoose = true |
| | | this.unitOptions = [] |
| | | this.unitValue = 1 |
| | |
| | | }) |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[0].children_infos |
| | | this.floorInfo.elev = this.unitAllArr.children_infos[0].elev |
| | | this.floorInfo.floor_num = this.unitAllArr.children_infos[0].children_infos.length |
| | | // this.floorInfo.floor_num = this.unitAllArr.children_infos[0].children_infos.length |
| | | this.isShowFloorCount = false |
| | | this.getVillagePersonStatisticInfoByBuildId(this.unitAllArr.uid) |
| | | let houseCount = 0 |
| | | this.unitChoosedArr.forEach(item => { |
| | |
| | | }) |
| | | this.floorInfo.house_num = houseCount |
| | | this.isHaveResidentData = true |
| | | setTimeout(() => { |
| | | this.pictLoading = false |
| | | }, 3000) |
| | | }) |
| | | } |
| | | |
| | |
| | | setTimeout(() => { |
| | | this.villageInfoLoading = false |
| | | this.BuildListLoading = false |
| | | this.pictLoading = false |
| | | this.isHaveResidentData = false |
| | | }, 500) |
| | | }) |
| | |
| | | if (this.buildingChoosed.name == item.name) return |
| | | this.isBuildHighLightchecked = true |
| | | this.unitHouseChoosed = [] |
| | | this.unitChoosedArr = [] |
| | | this.pictLoading = true |
| | | if (!aoiArr) { |
| | | this.$EventBus.$emit("clearHouse3D") |
| | |
| | | this.buildingChoosed = item |
| | | this.floorInfo.elev = item.elev |
| | | this.floorInfo.floor_num = item.floor_num |
| | | this.isShowFloorCount = true |
| | | // 获取户籍人口重点人口数据 |
| | | this.choosedBuildId = item.build_id |
| | | // 重点人口户籍人口 |
| | |
| | | chooseUnit (value) { |
| | | this.floorsType = 1 |
| | | this.floorChoosed = [] |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[this.unitValue - 1].children_infos |
| | | this.unitChoosedArr = [] |
| | | this.pictLoading = true |
| | | setTimeout(() => { |
| | | this.unitChoosedArr = this.unitAllArr.children_infos[this.unitValue - 1].children_infos |
| | | this.pictLoading = false |
| | | }, 1000) |
| | | let houseCount = 0 |
| | | this.unitChoosedArr.forEach(item => { |
| | | item.children_infos.forEach(it => { |