6 files modified
1 files added
| | |
| | | }, { |
| | | "path": "bail", |
| | | "style": { |
| | | "navigationBarTitleText": "取保候审", |
| | | "navigationBarTitleText": "取保监居", |
| | | "enablePullDownRefresh": false, |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "navigationBarTextStyle": "black" |
| | |
| | | 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"
|
| | | },
|
| | |
| | | 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"
|
| | | }
|
| | |
| | | this.curSelectSite = {
|
| | | addressType: 1
|
| | | }
|
| | | this.isBailer = false;
|
| | | this.init()
|
| | | })
|
| | | //选择位置刷新楼盘表
|
| | |
| | | },
|
| | |
|
| | | 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;
|
| | |
| | | // path: '/subPackage/label/bail'
|
| | | // }]
|
| | | // })
|
| | |
|
| | | } else {
|
| | | console.log(2222)
|
| | | this.isBailer = false;
|
| | | let itemIndex = this.tabs.findIndex(item => item.name.trim() == "警务服务")
|
| | | if (itemIndex != -1) {
|
| | |
| | | <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"
|
| | |
| | | </view>
|
| | | </block>
|
| | | </scroll-view>
|
| | | <!-- </view> -->
|
| | | </view>
|
| | | <view class="r flex">
|
| | | <!-- <view v-show="scItem.residentialStatus">
|
| | |
| | | .label-wrap {
|
| | | margin-left: 5rpx;
|
| | | width: calc(100% - 32rpx - 5rpx);
|
| | |
|
| | | }
|
| | |
|
| | | .label-scroll {
|
| | | width: 100%;
|
| | | white-space: nowrap;
|
| | | }
|
| | |
|
| | |
| | | // 将细类放到一起
|
| | | this.labelBtnList.forEach(e => {
|
| | | e.children.forEach(f => {
|
| | | if (e.children.length) {
|
| | | if (f.children.length) {
|
| | | f.children.forEach(k => {
|
| | | labelChildAll.push(k)
|
| | | })
|
| | |
| | | }
|
| | | })
|
| | | })
|
| | |
|
| | | if (this.id || this.householdInfo.householdLabelList) {
|
| | | let householdLabelList = this.householdInfo.householdLabelList
|
| | | if (householdLabelList.length > 0) {
|
| | |
| | | } |
| | | |
| | | 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() |
| | | // } |
| | | } |
| | | |
| | | |
| | |
| | | }) |
| | | }, |
| | | 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(); |