【修改】增加管理员权限

This commit is contained in:
fengachen
2022-09-02 17:16:41 +08:00
parent 5b97582cf5
commit 42260ff9f5
+1 -1
View File
@@ -59,7 +59,7 @@ export default {
computed: {
// 所领导 部门负责人 还是其他角色
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() {