BUG 28174

This commit is contained in:
aixianling
2022-03-15 09:11:46 +08:00
parent c7e3d118c0
commit 8d6a4ddfb5
2 changed files with 3 additions and 5 deletions

View File

@@ -73,7 +73,6 @@ export default {
}
},
onLoad(params) {
console.log(params)
if (params.girdLevel) {
this.girdLevel = params.girdLevel
}
@@ -85,7 +84,7 @@ export default {
this.isDisabledOneGird = params.isDisabledOneGird
}
this.isGirdUser()
},
methods: {
isGirdUser() {
@@ -98,7 +97,6 @@ export default {
} else {
this.getTree()
}
} else {
this.$u.toast('当前人员不是网格员或网格管理员')
}
@@ -108,7 +106,7 @@ export default {
getMyGird() {
this.selectList = []
this.$http.post('/app/appgirdmemberinfo/queryMyGirdListByLevel2AndUser').then((res) => {
if (res.code == 0) {
if (res?.data) {
this.allData = res.data
this.treeInit()
}