房屋地图

This commit is contained in:
yanran200730
2022-08-16 10:57:01 +08:00
parent 2ea4c95132
commit 0ce002162a

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="detail"> <div class="detail" v-if="pageShow">
<AiTopFixed> <AiTopFixed>
<div class="select-flex" @click="showSelect=true"> <div class="select-flex" @click="showSelect=true">
<span class="name" v-text="cellName"/> <span class="name" v-text="cellName"/>
@@ -148,6 +148,7 @@ export default {
renter: [], renter: [],
live: [] live: []
}, },
pageShow: false,
numInfo: {}, numInfo: {},
showSelect: false, showSelect: false,
selectList: [], selectList: [],
@@ -166,8 +167,9 @@ export default {
onShow() { onShow() {
document.title = "楼栋模型" document.title = "楼栋模型"
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus', this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType') 'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
this.getBuilding() this.getBuilding()
})
uni.$on('changeHouseInfo', res => { uni.$on('changeHouseInfo', res => {
this.getHouseDetail(this.houseInfo.id) this.getHouseDetail(this.houseInfo.id)
}) })
@@ -196,6 +198,7 @@ export default {
}, },
getBuilding() { getBuilding() {
//获取楼栋信息 //获取楼栋信息
this.$loading()
let {id} = this.$route.query let {id} = this.$route.query
this.$http.post(`/app/appcommunitybuildinginfo/queryDetailById`, null, { this.$http.post(`/app/appcommunitybuildinginfo/queryDetailById`, null, {
params: {id} params: {id}
@@ -203,6 +206,8 @@ export default {
if (res?.data) { if (res?.data) {
this.detail = res.data this.detail = res.data
this.getSelectList(res.data.communityId) this.getSelectList(res.data.communityId)
this.pageShow = true
} }
}) })
}, },