BUG 28265
This commit is contained in:
@@ -96,7 +96,6 @@ export default {
|
||||
statisticsList: [],
|
||||
statisticsListMon: [],
|
||||
userList: [],
|
||||
gridType: 0,
|
||||
gridName: "请选择",
|
||||
search: {name: ''}
|
||||
}
|
||||
@@ -104,17 +103,16 @@ export default {
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
hasGridPermit() {
|
||||
return this.gridType != 0
|
||||
return this.user.girdCheckType != 0
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$dict.load('appSpecialTypeFive')
|
||||
},
|
||||
onShow() {
|
||||
document.title = '特殊人群管理'
|
||||
this.isGirdUser().then(() => {
|
||||
this.hasGridPermit && this.getDatas()
|
||||
})
|
||||
if (this.hasGridPermit) {
|
||||
this.search.girdId = this.user.girdId
|
||||
this.getDatas()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getDatas() {
|
||||
@@ -225,14 +223,6 @@ export default {
|
||||
}).catch(() => {
|
||||
})
|
||||
},
|
||||
isGirdUser() {
|
||||
return this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
|
||||
if (res?.data) {
|
||||
this.search.girdId = res.data.girdId
|
||||
return this.gridType = res.data.checkType
|
||||
}
|
||||
})
|
||||
},
|
||||
showDetail(e) {
|
||||
uni.navigateTo({url: `/mods/AppPeopleList/DetailCard?id=${e.id}`})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user