Lou
2024-04-16 8ddcd81c8393fb574bfb2cd172dfbe772a84bee9
更新
3 files modified
22 ■■■■■ changed files
pages/home/index.vue 8 ●●●● patch | view | raw | blame | history
subPackage/grid/comprehensive.vue 2 ●●● patch | view | raw | blame | history
subPackage/house/member/householdLabel.vue 12 ●●●● patch | view | raw | blame | history
pages/home/index.vue
@@ -820,12 +820,12 @@
            },
            //初始化
            init() {
            async init() {
                this.selectRole = uni.getStorageSync("activeRole")
                this.getMenuList()
                this.getBanner();
                this.getSiteList()
                this.getNoticeList()
                await this.getMenuList()
                await this.getBanner();
                await this.getNoticeList()
                // this.getTaskCount();
            },
subPackage/grid/comprehensive.vue
@@ -18,7 +18,7 @@
        <view class="detail bgc-ff">
            <caption-row title="网格基本情况" />
            <view class="detail-content f-28">
                <text v-for="i in houseList" v-if="i.aoiName">{{i.aoiName?i.aoiName:''}} {{i.buildingName}} </text>
                <text v-for="i in houseList" v-if="i.aoiName">{{i.aoiName?i.aoiName:''}} {{i.buildingName|| ""}} </text>
            </view>
        </view>
subPackage/house/member/householdLabel.vue
@@ -24,8 +24,8 @@
                <view v-for="(item, index) in labelBtnList" :key="index" class="label-crad">
                    <newBoxTitle :title="item.name"></newBoxTitle>
                    <block v-if="item.children[0].children.length">
                        <u-collapse accordion :border="false" v-for="(c, k) in item.children" :key="k">
                            <u-collapse-item :title="c.name">
                        <u-collapse accordion :border="false">
                            <u-collapse-item :title="c.name" v-for="(c, k) in item.children" :key="k">
                                <view class="label-btn-box">
                                    <view v-for="(i, f) in c.children" :key="f">
                                        <u-button size="mini" type="primary" :color="$setLabelColor(i.color)"
@@ -203,7 +203,13 @@
                // 将细类放到一起
                this.labelBtnList.forEach(e => {
                    e.children.forEach(f => {
                        labelChildAll.push(f)
                        if (e.children.length) {
                            f.children.forEach(k => {
                                labelChildAll.push(k)
                            })
                        } else {
                            labelChildAll.push(f)
                        }
                    })
                })