左侧新建图形权限

This commit is contained in:
zhal 2022-11-02 16:51:00 +08:00
parent c04e2e3b3b
commit 39f6c38261
2 changed files with 15 additions and 11 deletions

View File

@ -8043,9 +8043,13 @@ public class CoeProcessLevelWeb extends ActionWeb {
} else if (category.equals("process") && model.getSchema().contains("制度")) {
methodObj.put("havingCreatePerm", true);
} else if (category.equals("org") && model.getSchema().contains("角色图")) {
methodObj.put("havingCreatePerm",true);
methodObj.put("havingCreatePerm", false);
}else if(category.equals("org") && model.getSchema().contains("ORG 组织结构图")){
methodObj.put("havingCreatePerm", false);
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
methodObj.put("havingCreatePerm",false);
}else if(category.equals("control")&&model.getSchema().contains("末级流程绩效")){
methodObj.put("havingCreatePerm",false);
}else if(model.getId().equals("process.framework")&& !_uc.getUID().equals("admin")){
methodObj.put("havingCreatePerm",false);
} else{