| | |
| | | iconPath: '/static/img/tabbar-01.png', |
| | | url: '/pages/home/index' |
| | | }, |
| | | { |
| | | name: '圈子', |
| | | iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | iconPath: '/static/img/tabbar-02.png', |
| | | url: '/pages/circle/index' |
| | | }, |
| | | // { |
| | | // name: '圈子', |
| | | // iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | // iconPath: '/static/img/tabbar-02.png', |
| | | // url: '/pages/circle/index' |
| | | // }, |
| | | { |
| | | name: '我的', |
| | | iconPathSelected: '/static/img/tabbar-03-selected.png', |
| | |
| | | iconPath: '/static/img/tabbar-04.png', |
| | | url: '/pages/home/index' |
| | | }, |
| | | { |
| | | name: '圈子', |
| | | iconPathSelected: '/static/img/tabbar-08-selected.png', |
| | | iconPath: '/static/img/tabbar-08.png', |
| | | url: '/pages/circle/index' |
| | | }, |
| | | // { |
| | | // name: '圈子', |
| | | // iconPathSelected: '/static/img/tabbar-08-selected.png', |
| | | // iconPath: '/static/img/tabbar-08.png', |
| | | // url: '/pages/circle/index' |
| | | // }, |
| | | |
| | | { |
| | | name: '驾驶舱', |
| | |
| | | iconPath: '/static/img/tabbar-01.png', |
| | | url: '/pages/home/index' |
| | | }, |
| | | { |
| | | name: '圈子', |
| | | iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | iconPath: '/static/img/tabbar-02.png', |
| | | url: '/pages/circle/index' |
| | | }, |
| | | // { |
| | | // name: '圈子', |
| | | // iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | // iconPath: '/static/img/tabbar-02.png', |
| | | // url: '/pages/circle/index' |
| | | // }, |
| | | { |
| | | name: '驾驶舱', |
| | | iconPathSelected: '/static/img/tabbar-07-selected.png', |
| | |
| | | iconPath: '/static/img/tabbar-01.png', |
| | | url: '/pages/home/index' |
| | | }, |
| | | { |
| | | name: '圈子', |
| | | iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | iconPath: '/static/img/tabbar-02.png', |
| | | url: '/pages/circle/index' |
| | | }, |
| | | // { |
| | | // name: '圈子', |
| | | // iconPathSelected: '/static/img/tabbar-02-selected.png', |
| | | // iconPath: '/static/img/tabbar-02.png', |
| | | // url: '/pages/circle/index' |
| | | // }, |
| | | { |
| | | name: '驾驶舱', |
| | | iconPathSelected: '/static/img/tabbar-07-selected.png', |
| | |
| | | </view> -->
|
| | |
|
| | |
|
| | | <view class="" v-if="roleType == 2 && curSelectSite.addressType == 1">
|
| | | <view class="tabs flex">
|
| | | <view class=""
|
| | | v-if="roleType == 2 && curSelectSite.addressType == 1 && curSelectSite.relationship != 18">
|
| | | <view class=" tabs flex">
|
| | | <view class="tabs-item" :class="k == tabIndex?'tabs-active':''" v-for="(i,k) in tabs"
|
| | | @click="changeTabs(k)">
|
| | | {{i.name}}
|
| | |
| | | </u-grid>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class=""
|
| | | v-if="roleType == 2 && curSelectSite.addressType == 1 && curSelectSite.relationship == 18">
|
| | | <view class="tabs flex">
|
| | | <view class="tabs-item" :class="k == tabIndex?'tabs-active':''" v-for="(i,k) in tabs3"
|
| | | @click="changeTabs(k)">
|
| | | {{i.name}}
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class="nav bgc-ff">
|
| | | <u-grid :border="false" col="4">
|
| | | <u-grid-item @click="navigatorPage(i.path)" v-for="(i,k) in tabs3[tabIndex].list" :key="k">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon :name="i.icon" width="80rpx" height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">{{i.text}}</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | </u-grid>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | <view v-if="roleType == 2 && curSelectSite.addressType == 2">
|
| | | <view class="tabs flex">
|
| | |
| | | }
|
| | | ],
|
| | |
|
| | |
|
| | |
|
| | | tabs3: [{
|
| | | name: '公众服务',
|
| | | list: [{
|
| | | icon: "/static/icon/nav-02.png",
|
| | | text: "公共维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=公共维修&type=1"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-02.png",
|
| | | text: "居家维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=居家维修&type=2"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-04.png",
|
| | | text: "矛盾纠纷",
|
| | | path: "/subPackage/bs/views/addRepair?title=矛盾纠纷&type=3"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-11.png",
|
| | | text: "投诉举报",
|
| | | path: "/subPackage/bs/views/addRepair?title=投诉举报&type=4"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-03.png",
|
| | | text: "便民热线",
|
| | | path: '/subPackage/hotLine/index'
|
| | | },
|
| | | ]
|
| | | },
|
| | | {
|
| | | name: '生活服务',
|
| | | list: [{
|
| | | text: "居住证申请",
|
| | | path: "/subPackage/reside/edit",
|
| | | icon: "/static/icon/nav-13.png"
|
| | | }]
|
| | | },
|
| | | {
|
| | | name: '社区服务',
|
| | | list: [{
|
| | | text: "选举调查",
|
| | | icon: "/static/icon/nav-14.png",
|
| | | path: "/subPackage/article/communityList?type=1"
|
| | |
|
| | | },
|
| | | {
|
| | | text: "公益报名",
|
| | | icon: "/static/icon/nav-13.png",
|
| | | path: "/subPackage/article/signUpList?type=0"
|
| | |
|
| | | },
|
| | | {
|
| | | text: "公共收益",
|
| | | icon: "/static/icon/nav-15.png",
|
| | | path: "/subPackage/article/list?type=1"
|
| | |
|
| | | },
|
| | | {
|
| | | text: "反诈宣传",
|
| | | icon: "/static/icon/nav-18.png",
|
| | | path: "/subPackage/article/list?type=6"
|
| | |
|
| | | }
|
| | | ]
|
| | | }
|
| | | ],
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | tabIndex: 0,
|
| | | isBailer: false, //是否取保候审人员
|
| | | sectionList: [],
|
| | |
| | | } = uni.getStorageSync("activeRole"); |
| | | if (roleName == "网格员") { |
| | | this.tabList = getTabbarList(3); |
| | | // this.tabbarIndex = 1; |
| | | this.tabbarIndex = 2; |
| | | this.tabbarIndex = 1; |
| | | // this.tabbarIndex = 2; |
| | | } |
| | | if (roleName == "民警") { |
| | | this.tabList = getTabbarList(2); |
| | | this.tabbarIndex = 2; |
| | | this.tabbarIndex = 1; |
| | | // this.tabbarIndex = 2; |
| | | } |
| | | |
| | | if (roleName == "系统管理员") { |
| | | this.tabList = getTabbarList(4); |
| | | this.tabbarIndex = 2; |
| | | this.tabbarIndex = 1; |
| | | // this.tabbarIndex = 2; |
| | | } |
| | | |
| | | this.refreshData(); |
| | |
| | | <view v-if="!isLogin" @click="navToLogin()" class="edit-btn">前往登录 ></view> |
| | | </view> |
| | | <!-- 操作按钮 --> |
| | | <view class="nav" v-if="roleType == 1 && addressType == 1 && isLogin"> |
| | | <view class="nav" v-if="roleType == 1 && addressType == 1 && isLogin && siteInfo.relationship != 18"> |
| | | <navigator url="/subPackage/user/family/list" hover-class="none" class="nav-item"> |
| | | <u-icon name="account" color="#fff" size="28"></u-icon> |
| | | <view class="name">我的家人</view> |
| | |
| | | this.tabbarList = getTabbarList(1) |
| | | this.roleType = 1 |
| | | this.color = "#017BFC" |
| | | // this.tabbarIndex = 1; |
| | | this.tabbarIndex = 2 |
| | | this.tabbarIndex = 1; |
| | | // this.tabbarIndex = 2 |
| | | } else if (role.roleName == "民警") { |
| | | this.tabbarList = getTabbarList(2) |
| | | this.roleType = 2; |
| | | this.color = "#003399" |
| | | this.tabbarIndex = 3; |
| | | this.tabbarIndex = 2; |
| | | // this.tabbarIndex = 3; |
| | | } else if (role.roleName == "系统管理员") { |
| | | this.tabbarList = getTabbarList(4) |
| | | this.roleType = 1 |
| | | this.color = "#017BFC"; |
| | | this.tabbarIndex = 3; |
| | | this.tabbarIndex = 2; |
| | | // this.tabbarIndex = 3; |
| | | } else if (role.roleName == "网格员") { |
| | | this.tabbarList = getTabbarList(3) |
| | | this.roleType = 1 |
| | | this.color = "#017BFC"; |
| | | // this.tabbarIndex = 2; |
| | | this.tabbarIndex = 3; |
| | | this.tabbarIndex = 2; |
| | | // this.tabbarIndex = 3; |
| | | } |
| | | this.addressType = uni.getStorageSync("siteInfo").addressType; |
| | | }, |
| | |
| | | } |
| | | } |
| | | this.getDetailInfo() |
| | | |
| | | if (this.curSite.relationship == 18) { //租客隐藏投票、报名信息 |
| | | this.isLoad = false; |
| | | } |
| | | |
| | | this.getAritcleComment(); |
| | | uni.$on('refreshComment', () => { |
| | | this.getAritcleComment() |
| | |
| | | |
| | | |
| | | <button class="submit-btn" @click="sumitInfo">提交</button> |
| | | <button class="list-btn" @click="navigatorPage">纠纷记录</button> |
| | | <!-- <button class="list-btn" @click="navigatorPage">纠纷记录</button> --> |
| | | |
| | | |
| | | <u-picker :show="showGenderPicker" :defaultIndex="genderIndex" ref="uPicker" keyName="name" |
| | |
| | | </view>
|
| | | <u-tag :text="showStatus(records.auditStatus)" type="success" plain plainFill></u-tag>
|
| | | </view>
|
| | | <view class="list-address f-28 c-99">
|
| | | <view class="list-address f-28 c-99" @click="navTo(records)">
|
| | | {{ records.houseName }}
|
| | | </view>
|
| | | <view class="list-action flex ">
|