Lou
2024-04-16 b5d2ec149dbca8b8a44b9de0605aecc74cbddc1e
更新
6 files modified
1 files added
77 ■■■■■ changed files
pages.json 2 ●●● patch | view | raw | blame | history
pages/home/index.vue 10 ●●●●● patch | view | raw | blame | history
static/icon/nav-29.png patch | view | raw | blame | history
subPackage/house/family/index.vue 11 ●●●● patch | view | raw | blame | history
subPackage/house/member/householdLabel.vue 3 ●●●● patch | view | raw | blame | history
subPackage/house/member/index.vue 17 ●●●●● patch | view | raw | blame | history
subPackage/police/people.vue 34 ●●●●● patch | view | raw | blame | history
pages.json
@@ -309,7 +309,7 @@
                }, {
                    "path": "bail",
                    "style": {
                        "navigationBarTitleText": "取保候审",
                        "navigationBarTitleText": "取保监居",
                        "enablePullDownRefresh": false,
                        "navigationBarBackgroundColor": "#fff",
                        "navigationBarTextStyle": "black"
pages/home/index.vue
@@ -499,7 +499,7 @@
                                path: '/subPackage/hotLine/index'
                            },
                            {
                                icon: "/static/icon/nav-26.png",
                                icon: "/static/icon/nav-28.png",
                                text: "统战上报",
                                path: "/subPackage/bs/views/addRepair?title=统战上报&type=6"
                            },
@@ -516,7 +516,7 @@
                                path: "/subPackage/workbench/views/editExamine"
                            },
                            {
                                icon: "/static/icon/nav-02.png",
                                icon: "/static/icon/nav-29.png",
                                text: "企业商户上报",
                                path: "/subPackage/bs/views/addRepair?title=企业商户上报&type=5"
                            }
@@ -652,6 +652,7 @@
                this.curSelectSite = {
                    addressType: 1
                }
                this.isBailer = false;
                this.init()
            })
            //选择位置刷新楼盘表
@@ -1077,9 +1078,10 @@
            },
            setLiveMenu(arr) {
                console.log("0000", arr);
                if (arr.length) {
                    let index3 = arr.findIndex(item => item.name.trim() == "取保监居")
                    console.log("0000", index3)
                    if (index3 != -1) {
                        console.log(uni.getStorageSync("activeRole").roleName, 11111);
                        this.isBailer = true;
@@ -1091,8 +1093,8 @@
                        //         path: '/subPackage/label/bail'
                        //     }]
                        // })
                    } else {
                        console.log(2222)
                        this.isBailer = false;
                        let itemIndex = this.tabs.findIndex(item => item.name.trim() == "警务服务")
                        if (itemIndex != -1) {
static/icon/nav-29.png
subPackage/house/family/index.vue
@@ -67,8 +67,9 @@
                                            <view class="flex" style="width:90%;">
                                                <image class="box-icon" src="/static/icon/person.png" mode="aspectFill">
                                                </image>
                                                <scroll-view class="label-wrap flex flex-wrap"
                                                    v-if="scItem.householdLabelList.length">
                                                <!-- <view class="label-wrap"> -->
                                                <scroll-view class="label-wrap" v-if="scItem.householdLabelList.length"
                                                    :scroll-x="true">
                                                    <block v-for="i in scItem.householdLabelList">
                                                        <view class="label-tag mr-10" @click.stop="showTag(i.labelName)"
                                                            v-if="i.labelName"
@@ -77,6 +78,7 @@
                                                        </view>
                                                    </block>
                                                </scroll-view>
                                                <!-- </view> -->
                                            </view>
                                            <view class="r flex">
                                                <!-- <view v-show="scItem.residentialStatus">
@@ -553,6 +555,11 @@
    .label-wrap {
        margin-left: 5rpx;
        width: calc(100% - 32rpx - 5rpx);
    }
    .label-scroll {
        width: 100%;
        white-space: nowrap;
    }
subPackage/house/member/householdLabel.vue
@@ -203,7 +203,7 @@
                // 将细类放到一起
                this.labelBtnList.forEach(e => {
                    e.children.forEach(f => {
                        if (e.children.length) {
                        if (f.children.length) {
                            f.children.forEach(k => {
                                labelChildAll.push(k)
                            })
@@ -212,7 +212,6 @@
                        }
                    })
                })
                if (this.id || this.householdInfo.householdLabelList) {
                    let householdLabelList = this.householdInfo.householdLabelList
                    if (householdLabelList.length > 0) {
subPackage/house/member/index.vue
@@ -598,19 +598,24 @@
            }
            if (option.from) {
                this.from = option.from;
                if (option.from == 'family') {
                    if (data.type == 1) {
                        this.houseCode = uni.getStorageSync("siteInfo").houseCode
                    }
                } else {
                if (option.from != 'family') {
                    // if (data.type == 1) {
                    //     this.houseCode = uni.getStorageSync("siteInfo").houseCode
                    // }
                    this.id = option.id;
                    uni.setNavigationBarTitle({
                        title: "住户信息"
                    })
                    this.getHouseholdInfo()
                }
                // } else {
                //     this.id = option.id;
                //     uni.setNavigationBarTitle({
                //         title: "住户信息"
                //     })
                //     this.getHouseholdInfo()
                // }
            }
subPackage/police/people.vue
@@ -173,43 +173,11 @@
                })
            },
            navTo(id, status) {
                uni.navigateTo({
                    url: `peopleDetail?id=${id}`
                    url: `/subPackage/house/member/index?id=${id}&from=search`
                })
                // uni.navigateTo({
                //     url: `./policeSituationDetail?id=${id}`,
                //     complete: (res) => {
                //         console.log(res)
                //     }
                // })
                // this.navToDetail(reportType, id)
            },
            navToEdit(reportType, id, type) {
                if (reportType == 1) {
                    this.$u.func.globalNavigator(`/subPackage/label/bail?id=${id}`)
                } else if (reportType == 2) {
                    this.$u.func.globalNavigator(`/subPackage/label/check?id=${id}`)
                } else if (reportType == 5) {
                    this.$u.func.globalNavigator(`/subPackage/label/form?id=${id}`)
                }
            },
            navToDetail(reportType, id, type) {
                if (reportType == 1) {
                    this.$u.func.globalNavigator(`bailReportDetail?id=${id}`)
                } else if (reportType == 7) {
                    this.$u.func.globalNavigator(`selfCheckDetail?id=${id}`)
                } else if (reportType == 5) {
                    this.$u.func.globalNavigator(`labelReportDetail?id=${id}`)
                } else {
                    this.$u.func.globalNavigator(`checkReform?id=${id}`)
                }
            },
            showDateModal() {
                this.$refs.dateRane.open();