|
|
@ -118,8 +118,8 @@ public class CommonUtils { |
|
|
|
rolesCode = role.getCode() + "," + rolesCode; |
|
|
|
roleNames=role.getName()+","+roleNames; |
|
|
|
} |
|
|
|
//超级管理员和项目管理单位查看所有项目
|
|
|
|
if (rolesCode.contains("manageOrg") || rolesCode.contains("sys:admin")) { |
|
|
|
//超级管理员、项目管理单位、项目查看角色组查看所有项目
|
|
|
|
if (rolesCode.contains("manageOrg") || rolesCode.contains("sys:admin") || rolesCode.contains("projectViewOnly")) { |
|
|
|
|
|
|
|
} else { |
|
|
|
if (roleNames.contains("任务牵头处室")){ |
|
|
|