【修改】修改企业管理员的权限
This commit is contained in:
@@ -227,7 +227,7 @@ const user = {
|
||||
userIdentity = '0'
|
||||
} else {
|
||||
// userInfo.roleCode,企业用户角色:1--企业联系人、2--企业管理员(会员企业) 3、企业管理员
|
||||
if (userInfo.roleCode + '' === '2') {
|
||||
if (userInfo.roleCode + '' === '2' || userInfo.roleCode + '' === '3') {
|
||||
userIdentity = '1'
|
||||
} else {
|
||||
// userInfo.isCouncil,是否理事会成员:1--是;0--否
|
||||
@@ -245,6 +245,7 @@ const user = {
|
||||
}else {
|
||||
allMenuData = routerData
|
||||
}
|
||||
|
||||
/**判断用户角色-end*/
|
||||
switch (userIdentity) {
|
||||
// 不是标协会员,则不显示标协会员的全部菜单
|
||||
|
||||
Reference in New Issue
Block a user