建模管理过滤

This commit is contained in:
zhal 2022-08-02 17:28:11 +08:00
parent f8e6f5b35c
commit 7313b267c9
2 changed files with 15 additions and 0 deletions

View File

@ -382,6 +382,9 @@ public class PalManageWeb extends ActionWeb {
JSONArray result = new JSONArray();
List<String> palMethodCategoryList = PALMethodCache.getPALMethodList(true);
for (String category : palMethodCategoryList) {
if(category.equals("data")){
continue;
}
JSONObject categoryObj = new JSONObject();
categoryObj.put("id", category);
categoryObj.put("name", I18nRes.findValue(CoEConstant.APP_ID, category));

View File

@ -67,9 +67,21 @@ public class PALMethodCache {
while (iterator.hasNext()) {
String k = iterator.next();
if (k.startsWith(method)) {
//如果是控制类过滤到制度图
if(method.equals("control")){
if(k.equals("control.policy")){
continue;
}
}
list.add(pmppMap.get(k));
}
}
//将表单图制度图放到流程图
if (method.equals("process")) {
list.add(pmppMap.get("data.form"));
list.add(pmppMap.get("control.policy"));
}
temp.put(method, list);
}
return temp.get(method);