| | |
| | | {{ |
| | | item.name |
| | | }} |
| | | <div @click.stop> |
| | | <el-checkbox v-model="isBuildHighLightchecked" |
| | | v-show="buildingChoosed.name == item.name" |
| | | @change="changeBuildHighLightchecked"></el-checkbox> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | :class="{ on: floorChoosed == value.properties.fojcu }"> |
| | | {{ value.properties.fojcu }} |
| | | <!-- <div class="flow"></div> |
| | | <div class="warning"></div>--> |
| | | <div class="warning"></div>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | data () { |
| | | return { |
| | | isBuildHighLightchecked: true, |
| | | // 下拉搜索--树状数据相关 |
| | | searchTreeShowFlag: false, |
| | | houseDeepLoading: false, |
| | |
| | | this.$parent.$parent.resize("400px", true) |
| | | |
| | | this.$nextTick(() => { |
| | | this.$EventBus.$emit('highOrLightChange', 'light', 'house') |
| | | // this.$EventBus.$emit('highOrLightChange', 'light', 'house') |
| | | |
| | | this.$EventBus.$emit('registerMxClick', this.getAoiByPtStd) |
| | | |
| | |
| | | updated () { }, |
| | | |
| | | methods: { |
| | | changeBuildHighLightchecked (e) { |
| | | console.log('changeBuildHighLightchecked-----------------------------------', e) |
| | | }, |
| | | |
| | | // 获取半年前时间 |
| | | getHalfYearTime () { |
| | | const nowResult = new Date().getTime() |
| | |
| | | this.pictLoading = true |
| | | this.buildingList = [] |
| | | getSearchExtensivelyBgAoiDeepdata(ak, region, ids, infos).then((res) => { |
| | | console.log('res', res) |
| | | let baseUrl |
| | | if (process.env.NODE_ENV == "development") { |
| | | // 开发 |
| | |
| | | this.BuildListLoading = false |
| | | }, 500) |
| | | |
| | | this.queryBuildings(this.buildingList[0]) |
| | | // this.queryBuildings(this.buildingList[0]) |
| | | this.buildingClick(this.buildingList[0]) |
| | | } |
| | | |
| | | this.callPolicePage.currentPage = 1 |
| | |
| | | // 楼栋单元楼层户室查询 |
| | | getHouses (build_id, adcode, aoiArr) { |
| | | getHouses(build_id, adcode).then((res) => { |
| | | console.log('getHouses---res', res) |
| | | if (res.data.data == null) { |
| | | setTimeout(() => { |
| | | this.pictLoading = false |
| | |
| | | this.$EventBus.$emit("toPosition", { |
| | | siteJd: Number(homeCenter[0]) + 0.00006, |
| | | siteWd: Number(homeCenter[1]) - 0.00030, |
| | | siteGd: params.properties.szhfr + 40, |
| | | sitePitch: -45, |
| | | siteGd: params.properties.szhfr + 240, |
| | | sitePitch: -80, |
| | | }) |
| | | |
| | | this.floorChoosed = params.properties.fojcu |
| | |
| | | }, |
| | | |
| | | buildingClick (item, aoiArr) { |
| | | console.log('buildingClick', item) |
| | | if (this.buildingChoosed.name == item.name) return |
| | | this.isBuildHighLightchecked = true |
| | | this.unitHouseChoosed = [] |
| | | this.pictLoading = true |
| | | if (!aoiArr) { |
| | | console.log('if (!aoiArr)') |
| | | this.$EventBus.$emit("clearHouse3D") |
| | | this.$EventBus.$emit("toPosition", { |
| | | ...item, |
| | | siteJd: Number(item.siteJd), |
| | | siteWd: Number(item.siteWd) - 0.0021, |
| | | siteGd: 240, |
| | | // siteGd: 1500, |
| | | sitePitch: -45, |
| | | }) |
| | | } |
| | |
| | | // 获取户籍人口重点人口数据 |
| | | this.choosedBuildId = item.build_id |
| | | // 重点人口户籍人口 |
| | | console.log('before--getVillagePersonStatisticInfoByBuildId') |
| | | this.getVillagePersonStatisticInfoByBuildId(item.build_id) |
| | | // 楼栋单元楼层户室查询 |
| | | console.log('before--getHouses') |
| | | this.getHouses(item.build_id, "361102", aoiArr) |
| | | this.floorsType = 1 |
| | | document.querySelector(".floor-num").style.left = "0px" |
| | |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | display: block; |
| | | position: relative; |
| | | |
| | | &.on { |
| | | color: orange; |
| | | border-color: orange !important; |
| | | } |
| | | |
| | | |
| | | :deep(.el-checkbox) { |
| | | position: absolute; |
| | | top: 0; |
| | | right: 0; |
| | | } |
| | | |
| | | :deep(.el-checkbox .el-checkbox__inner) { |
| | | width: 12px; |
| | | height: 12px; |
| | | border-radius: 1px; |
| | | border: 0; |
| | | } |
| | | |
| | | :deep(.el-checkbox .el-checkbox__inner::after) { |
| | | height: 7px; |
| | | left: 5px; |
| | | } |
| | | } |
| | | } |
| | | } |