| | |
| | | {{addressName}}
|
| | | </view>
|
| | | </block>
|
| | | <view class="h0 flex-1 build-list-box content">
|
| | | |
| | | <view class="mt-20 around-p-20 flex a-i-c j-c-c">
|
| | | <u-search placeholder="请输入人员名" :showAction="false" @search="getBuildingList" @clear="getBuildingList" v-model="searchKey" :clearabled="true"></u-search>
|
| | | </view>
|
| | | |
| | | <view class="mt-20 h0 flex-1 build-list-box content">
|
| | | <u-collapse :value="buildingList.length == 1?['0']:''">
|
| | | <u-collapse-item v-if="isShowBuild" style="border: none;" :name="index" :title="item.unitName"
|
| | | :icon="'/static/icon/group.png'" v-for="(item, index) in buildingList" :key="index">
|
| | |
| | | <view class="room-content">
|
| | | <view class="flex flex-wrap j-c-s-b" style="width: 100%;">
|
| | | <view class="room-box flex f-d-c" v-for="(scItem, scIndex) in cItem.children"
|
| | | :key="scItem.id" @click="pushPage" :data-code="scItem.addressCode" :data-unit="item.unitName">
|
| | | :key="scItem.id" @click="pushPage" :data-code="scItem.addressCode"
|
| | | :data-unit="item.unitName">
|
| | | <view class="flex a-i-c j-c-s-b">
|
| | | <!-- <view class="l">
|
| | | <u-icon name="/static/icon/person.png" size="16"></u-icon>
|
| | |
| | | // 社区编号
|
| | | neiCode: "",
|
| | | buildingList: [],
|
| | | searchKey: '',
|
| | | shopList: [],
|
| | | curSelectSite: {},
|
| | | addressName:""
|
| | |
| | | roleName: uni.getStorageSync('activeRole').roleName,
|
| | | name: this.addressType == 1 ? "" : this.neiCode,
|
| | | buildingName: this.addressType == 4 ? this.buildingName : "",
|
| | | addressType: this.addressType
|
| | | addressType: this.addressType,
|
| | | searchKey: this.searchKey
|
| | | }
|
| | | const res = await getHouseList(param)
|
| | | if (res.code == 200) {
|
| | |
| | | }
|
| | | },
|
| | | pushPage(e) {
|
| | | let { code,unit } = e.currentTarget.dataset;
|
| | | let {
|
| | | code,
|
| | | unit
|
| | | } = e.currentTarget.dataset;
|
| | | let url = `/subPackage/house/roomDetails/index?id=${code}&unit=${unit}`
|
| | | this.$u.func.globalNavigator(url, "navTo")
|
| | | },
|
| | |
| | | overflow-y: auto;
|
| | |
|
| | | .content {
|
| | | margin-top: 20rpx;
|
| | | background-color: #fff;
|
| | |
|
| | | .floor-info-box {
|