疫情
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
<div class="Organization">
|
||||
<div class="select-gird">
|
||||
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
|
||||
<div>
|
||||
南湖街道网格一
|
||||
<div @click="linkTo('./SelectGird')">
|
||||
{{userGird.girdName}}
|
||||
<img src="./components/img/down-icon.png" alt="" class="down-icon">
|
||||
</div>
|
||||
<span @click="linkTo('./SelectGird')">网格配置</span>
|
||||
<span @click="linkTo('./SetGird')">网格配置</span>
|
||||
</div>
|
||||
<div class="title">网格人员</div>
|
||||
<div class="user-content">
|
||||
@@ -34,13 +34,27 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
userGird: {}
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
document.title = '网格管理'
|
||||
},
|
||||
mounted() {
|
||||
this.isGirdUser()
|
||||
},
|
||||
methods: {
|
||||
isGirdUser() {
|
||||
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res.data.checkType) {
|
||||
this.userGird = res.data.appGirdInfo
|
||||
} else {
|
||||
this.$u.toast('当前人员不是网格员或网格管理员')
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
linkTo(url) {
|
||||
uni.navigateTo({url})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user