解决点击新建文件过滤问题

This commit is contained in:
zhal 2022-08-03 10:14:01 +08:00
parent bbf7442582
commit 5e4a5c34ad
2 changed files with 5 additions and 2 deletions

View File

@ -68,6 +68,9 @@ public class PALMethodCache {
String k = iterator.next();
if (k.startsWith(method)) {
if(method.equals("data")){
continue;
}
//如果是控制类过滤到制度图
if(method.equals("control")){
if(k.equals("control.policy")){

View File

@ -7914,9 +7914,9 @@ public class CoeProcessLevelWeb extends ActionWeb {
methodObj.put("havingCreatePerm",true);
}else if(category.equals("control")&&model.getSchema().contains("制度图")){
methodObj.put("havingCreatePerm",false);
}else if(category.equals("data")&&model.getSchema().contains("表单图")){
}/*else if(category.equals("data")&&model.getSchema().contains("表单图")){
methodObj.put("havingCreatePerm",false);
} else{
}*/ else{
methodObj.put("havingCreatePerm",PALMethodManager.getInstance().havingCreateMethodPerm(category, methodId, c, model.getId()));
}