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