|
@ -46,6 +46,39 @@ |
|
|
:src="iconItem.iconUrl" |
|
|
:src="iconItem.iconUrl" |
|
|
alt /> |
|
|
alt /> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-popover v-model="item.showAllUser" |
|
|
|
|
|
placement="bottom" |
|
|
|
|
|
width="50" |
|
|
|
|
|
popper-class="my_popover" |
|
|
|
|
|
trigger="click"> |
|
|
|
|
|
<div class="user_list"> |
|
|
|
|
|
<div v-for="(userItem,userIndex) in userArray" |
|
|
|
|
|
:key="userIndex" |
|
|
|
|
|
class="user_item" |
|
|
|
|
|
@click.stop="handleClickUser(userItem.userId)"> |
|
|
|
|
|
<div class="user_item_content"> |
|
|
|
|
|
<div class="name">{{userItem.name}}</div> |
|
|
|
|
|
|
|
|
|
|
|
<img src="../../../../assets/img/jinru.png" |
|
|
|
|
|
alt /> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div :class="['item_line',{'last_line':userIndex==(userArray.length-1)}]"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div slot="reference" |
|
|
|
|
|
class="div_user" |
|
|
|
|
|
@click.stop="handleShowAllUser(index)"> |
|
|
|
|
|
|
|
|
|
|
|
<span>全部成员</span> |
|
|
|
|
|
<img src="../../../../assets/img/xiala.png" |
|
|
|
|
|
alt /> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</el-popover> --> |
|
|
|
|
|
|
|
|
<div @click.stop="handleShowAllUser(index)" |
|
|
<div @click.stop="handleShowAllUser(index)" |
|
|
class="div_user"> |
|
|
class="div_user"> |
|
|
|
|
|
|
|
@ -100,7 +133,7 @@ export default { |
|
|
selBuildingId: '', |
|
|
selBuildingId: '', |
|
|
selBuildingName: '', |
|
|
selBuildingName: '', |
|
|
|
|
|
|
|
|
roomLoaded: true, |
|
|
roomLoaded: false, |
|
|
roomArray: [], |
|
|
roomArray: [], |
|
|
selHouseId: '', |
|
|
selHouseId: '', |
|
|
selHouseName: '', |
|
|
selHouseName: '', |
|
@ -206,6 +239,7 @@ export default { |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
|
|
|
|
|
if (code === 0) { |
|
|
if (code === 0) { |
|
|
|
|
|
|
|
|
this.buildingArray = data |
|
|
this.buildingArray = data |
|
|
this.buildingArray.forEach(item => { |
|
|
this.buildingArray.forEach(item => { |
|
|
if (!this.buildingArray[0].buildingName) { |
|
|
if (!this.buildingArray[0].buildingName) { |
|
@ -459,3 +493,10 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
<style lang="scss" > |
|
|
|
|
|
.el-popover.my_popover { |
|
|
|
|
|
padding: 0px; |
|
|
|
|
|
margin-top: 10px; |
|
|
|
|
|
border: 0; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |
|
|