Browse Source

11

shibei_master
jiangyy 3 years ago
parent
commit
de06262cf8
  1. 4
      src/assets/scss/modules/visual/basicInfoMain.scss
  2. 19
      src/views/modules/visual/basicinfo/basicInfoCommunity.vue
  3. 13
      src/views/modules/visual/basicinfo/cpts/roomInfo.vue

4
src/assets/scss/modules/visual/basicInfoMain.scss

@ -296,8 +296,8 @@
.icon_party { .icon_party {
position: absolute; position: absolute;
top: 13px; top: 10px;
left: 18px; left: 12px;
} }
.icon_roomstate { .icon_roomstate {
position: absolute; position: absolute;

19
src/views/modules/visual/basicinfo/basicInfoCommunity.vue

@ -216,21 +216,22 @@ export default {
this.userArray = [] this.userArray = []
this.roomArray.forEach((element, index) => { this.roomArray.forEach((element, index) => {
if (index !== selIndex) {
let obj = JSON.parse(JSON.stringify(element)) let obj = JSON.parse(JSON.stringify(element))
obj.showAllUser = false
obj.showAllUser = false this.$set(this.roomArray, index, obj)
this.$set(this.roomArray, index, obj) }
// element.showAllUser = false
}); });
await nextTick(50);
if ((selIndex === 0 || selIndex) && !this.roomArray[selIndex].showAllUser) { if ((selIndex === 0 || selIndex) && !this.roomArray[selIndex].showAllUser) {
await nextTick(100);
await this.loadUser(this.roomArray[selIndex].houseId, selIndex) await this.loadUser(this.roomArray[selIndex].houseId, selIndex)
} else {
let obj = JSON.parse(JSON.stringify(this.roomArray[selIndex]))
obj.showAllUser = false
this.$set(this.roomArray, selIndex, obj)
} }

13
src/views/modules/visual/basicinfo/cpts/roomInfo.vue

@ -20,18 +20,25 @@
</div> </div>
</div> --> </div> -->
<div class="list"> <div class="list">
<div class="item">
<span class="item-field">所属房屋</span>
<span>{{ formData.neighborHoodName }}-{{ formData. buildingName }}-{{ formData. unitName }}-{{ formData. doorName }}</span>
</div>
</div>
<!-- <div class="list">
<div class="item"> <div class="item">
<span class="item-field">所属楼栋</span> <span class="item-field">所属楼栋</span>
<span>{{ formData.buildingName }}</span> <span>{{ formData.buildingName }}</span>
</div> </div>
</div> </div> -->
<div class="list"> <!-- <div class="list">
<div class="item"> <div class="item">
<span class="item-field">房屋名称</span> <span class="item-field">房屋名称</span>
<span>{{ formData. houseName }}</span> <span>{{ formData. houseName }}</span>
</div> </div>
</div> </div> -->
<div class="list"> <div class="list">
<div class="item"> <div class="item">
<span class="item-field">房屋类型</span> <span class="item-field">房屋类型</span>

Loading…
Cancel
Save