解决点击新建文件过滤问题
This commit is contained in:
parent
bbf7442582
commit
5e4a5c34ad
@ -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")){
|
||||
|
||||
@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user