【修改】增加管理员权限
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
// 所领导 部门负责人 还是其他角色
|
// 所领导 部门负责人 还是其他角色
|
||||||
roleCoe() {
|
roleCoe() {
|
||||||
return !(this.$store.getters.userInfo.roleCode === 'bmfzr' || this.$store.getters.userInfo.roleCode === 'sld')
|
return !(this.$store.getters.userInfo.roleCode.includes('bmfzr') || this.$store.getters.userInfo.roleCode.includes('sld') || this.$store.getters.userInfo.roleCode.includes('admin'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
Reference in New Issue
Block a user