Lou
2024-01-02 851a124577f3d455e4194afbc27e585c8aafde42
更新
4 files modified
51 ■■■■ changed files
store/index.js 3 ●●●● patch | view | raw | blame | history
subPackage/house/family/index.vue 34 ●●●● patch | view | raw | blame | history
subPackage/workbench/views/reportAudit.vue 11 ●●●●● patch | view | raw | blame | history
utils/func.js 3 ●●●● patch | view | raw | blame | history
store/index.js
@@ -146,8 +146,9 @@
                }
                if (uni.getStorageSync("siteInfo").addressType == 1 || roleName == "居民") {
                    param.labelType = uni.getStorageSync("siteInfo").addressType;
                    param.roleName = roleName;
                }
                param.roleName = roleName;
                console.log("===>", param);
                dynamicMenu(param).then(res => {
                    if (res.code == 200) {
subPackage/house/family/index.vue
@@ -19,17 +19,20 @@
                  <view class="cell-item">
                      <text class="f-28 mb-20 c-99">房屋数(套)</text>
                      <text class="f-30 fw">{{houseData.result2}}</text>
                      <image class="cell-item-icon" src="/static/icon/statistics-nav-02.png" mode="aspectFill"></image>
                        <image class="cell-item-icon" src="/static/icon/statistics-nav-02.png" mode="aspectFill">
                        </image>
                  </view>
                  <view class="cell-item">
                      <text class="f-28 mb-20 c-99">住户数(人)</text>
                      <text class="f-30 fw">{{houseData.result3}}</text>
                      <image class="cell-item-icon" src="/static/icon/statistics-nav-03.png" mode="aspectFill"></image>
                        <image class="cell-item-icon" src="/static/icon/statistics-nav-03.png" mode="aspectFill">
                        </image>
                  </view>
                  <view class="cell-item" v-if="!unitName">
                      <text class="f-28 mb-20 c-99">单元数</text>
                      <text class="f-30 fw">{{houseData.result4}}</text>
                      <image class="cell-item-icon" src="/static/icon/statistics-nav-01.png" mode="aspectFill"></image>
                        <image class="cell-item-icon" src="/static/icon/statistics-nav-01.png" mode="aspectFill">
                        </image>
                  </view>
              </view>
            
@@ -37,7 +40,8 @@
            </block>
            
            <view class="search-box mt-20 around-p-20 flex a-i-c j-c-c bgc-ff"  v-if="buildingList.length">
                <u-search placeholder="请输入人员名" :showAction="false" @search="getBuildingList" @clear="getBuildingList" v-model="searchKey" :clearabled="true"></u-search>
                <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">
@@ -73,6 +77,8 @@
                                                <!-- <view v-show="!!scItem.roleType == 1">
                                                    <u-icon name="/static/icon/selected.png" size="16"></u-icon>
                                                </view> -->
                                            </view>
                                        </view>
                                        <view class="flex floor-info-box">
@@ -82,6 +88,14 @@
                                            <text class="r floor-box">
                                                {{scItem.houseNo}}
                                            </text>
                                        </view>
                                        <view style="margin-top:5rpx;">
                                            <block>
                                                <view class="mr-10" style="display: inline-block;">
                                                    <u-tag text="测试" size="mini">
                                                    </u-tag>
                                                </view>
                                            </block>
                                        </view>
                                    </view>
                                </view>
@@ -156,8 +170,12 @@
    import {
        getHouseList
    } from "@/api/doorplateAddress/doorplateAddress";
    import { getHouseStatistics } from "@/api/statistics/statistics.js"
import { codeName } from "../../../common/setting";
    import {
        getHouseStatistics
    } from "@/api/statistics/statistics.js"
    import {
        codeName
    } from "../../../common/setting";
    export default {
        components: {},
@@ -476,8 +494,10 @@
        padding: 20rpx;
    }
    .cell {
        padding: 20rpx 20rpx 0;
        .cell-item {
            // width: 220rpx;
            width: calc(50% - 20rpx);
@@ -501,10 +521,12 @@
            right: 20rpx;
            top: 20rpx;
        }
        .cell-item:nth-last-child(-n+2) {
            margin-bottom:0;
        } 
    }
    .search-box{
        padding:20rpx;
    }
subPackage/workbench/views/reportAudit.vue
@@ -28,6 +28,13 @@
                <view class="text">审核信息</view>
            </view> -->
            <caption-row title="审核信息" />
            <view class="step-list " v-for="i in defaultData.taskRepairStepList"
                v-if="defaultData.taskRepairStepList.length">
                <view class="f-26 mb-10 c-99">{{i.createTime}} </view>
                <view class="f-28">{{i.content}}</view>
            </view>
            <view class="audit-form">
                <u-form labelWidth="70" :model="form" class="form" ref="form">
                    <!-- <u-form-item label="事件状态" @click="showPicker" class="form-item">
@@ -524,4 +531,8 @@
            border: 1px solid #EEEEEE;
        }
    }
    .step-list {
        padding: 15rpx 0;
    }
</style>
utils/func.js
@@ -26,7 +26,8 @@
        const {
            data
        } = await dynamicMenu({
            roleId: activeRoleId
            roleId: activeRoleId,
            roleName: resDetail.data.roleName
        })
        let appMenu = data.filter(e => e.name == 'app')[0].children