左侧新建图形权限
This commit is contained in:
parent
c04e2e3b3b
commit
39f6c38261
Binary file not shown.
@ -8029,22 +8029,26 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
||||
methodObj.put("categoryName", I18nRes.findValue(CoEConstant.APP_ID, c));
|
||||
methodObj.put("method", model.getId());
|
||||
methodObj.put("methodName", I18nRes.findValue(CoEConstant.APP_ID, model.getId()));
|
||||
if (model.getSchema().contains("架构KPI图")){
|
||||
if (model.getSchema().contains("架构KPI图")) {
|
||||
methodObj.put("methodName", "架构KPI图");
|
||||
}
|
||||
if (model.getSchema().contains("角色图")){
|
||||
if (model.getSchema().contains("角色图")) {
|
||||
methodObj.put("methodName", "角色图");
|
||||
}
|
||||
// System.out.println(c+"对应的"+ PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, "process", model.getId()));
|
||||
// System.out.println(c+"对应的"+ PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, "process", model.getId()));
|
||||
|
||||
//流程入口允许新建表单图和制度图 by金鹏
|
||||
if (category.equals("process")&&model.getSchema().contains("表单图")){
|
||||
methodObj.put("havingCreatePerm",true);
|
||||
}else if (category.equals("process")&&model.getSchema().contains("制度")){
|
||||
methodObj.put("havingCreatePerm",true);
|
||||
}else if(category.equals("org")&&model.getSchema().contains("角色图")) {
|
||||
methodObj.put("havingCreatePerm",true);
|
||||
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
|
||||
//流程入口允许新建表单图和制度图 by金鹏
|
||||
if (category.equals("process") && model.getSchema().contains("表单图")) {
|
||||
methodObj.put("havingCreatePerm", true);
|
||||
} else if (category.equals("process") && model.getSchema().contains("制度")) {
|
||||
methodObj.put("havingCreatePerm", true);
|
||||
} else if (category.equals("org") && model.getSchema().contains("角色图")) {
|
||||
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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user