shuishen
2023-12-19 2b3742c27389e98954252c1cc22ced9f698f4e7d
右侧样式调整与搜索
1 files modified
20 ■■■■ changed files
subPackage/house/family/index.vue 20 ●●●● patch | view | raw | blame | history
subPackage/house/family/index.vue
@@ -14,7 +14,12 @@
                {{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">
@@ -30,7 +35,8 @@
                            <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>
@@ -143,6 +149,7 @@
                // 社区编号
                neiCode: "",
                buildingList: [],
                searchKey: '',
                shopList: [],
                curSelectSite: {},
                addressName:""
@@ -199,7 +206,8 @@
                    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) {
@@ -232,7 +240,10 @@
                }
            },
            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")
            },
@@ -263,7 +274,6 @@
            overflow-y: auto;
            .content {
                margin-top: 20rpx;
                background-color: #fff;
                .floor-info-box {