Browse Source

房屋bug

feature/welfareImport
jiangyy 3 years ago
parent
commit
7d03bc205a
  1. 6
      src/views/modules/base/community/community.vue
  2. 2
      src/views/modules/base/community/roomTable.vue

6
src/views/modules/base/community/community.vue

@ -605,7 +605,7 @@ export default {
this.vDisabled = false this.vDisabled = false
this.bDisabled = false this.bDisabled = false
if (obj.level === 'building') {// if (obj.level === 'building') {//
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
this.selAgencyId = '' this.selAgencyId = ''
this.selGridId = '' this.selGridId = ''
await this.getValiheList() await this.getValiheList()
@ -613,16 +613,18 @@ export default {
await this.getBuildList() await this.getBuildList()
this.buildingId = this.selTreeObj.id this.buildingId = this.selTreeObj.id
await this.getUniList() await this.getUniList()
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
this.vDisabled = true this.vDisabled = true
this.bDisabled = true this.bDisabled = true
} else if (obj.level === 'neighborHood') {// } else if (obj.level === 'neighborHood') {//
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj)
this.selAgencyId = '' this.selAgencyId = ''
this.selGridId = '' this.selGridId = ''
await this.getValiheList() await this.getValiheList()
this.neighborHoodId = this.selTreeObj.id this.neighborHoodId = this.selTreeObj.id
await this.getBuildList() await this.getBuildList()
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj)
this.vDisabled = true this.vDisabled = true
} else { } else {
this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj) this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj)

2
src/views/modules/base/community/roomTable.vue

@ -291,6 +291,8 @@ export default {
async mounted () { async mounted () {
this.updateBtnAuths(); this.updateBtnAuths();
console.log(this.buildingId)
this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({
elseParams: { elseParams: {
categoryKeys: ["house_info"], categoryKeys: ["house_info"],

Loading…
Cancel
Save