建模管理过滤
This commit is contained in:
parent
f8e6f5b35c
commit
7313b267c9
@ -382,6 +382,9 @@ public class PalManageWeb extends ActionWeb {
|
|||||||
JSONArray result = new JSONArray();
|
JSONArray result = new JSONArray();
|
||||||
List<String> palMethodCategoryList = PALMethodCache.getPALMethodList(true);
|
List<String> palMethodCategoryList = PALMethodCache.getPALMethodList(true);
|
||||||
for (String category : palMethodCategoryList) {
|
for (String category : palMethodCategoryList) {
|
||||||
|
if(category.equals("data")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
JSONObject categoryObj = new JSONObject();
|
JSONObject categoryObj = new JSONObject();
|
||||||
categoryObj.put("id", category);
|
categoryObj.put("id", category);
|
||||||
categoryObj.put("name", I18nRes.findValue(CoEConstant.APP_ID, category));
|
categoryObj.put("name", I18nRes.findValue(CoEConstant.APP_ID, category));
|
||||||
|
|||||||
@ -67,9 +67,21 @@ public class PALMethodCache {
|
|||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
String k = iterator.next();
|
String k = iterator.next();
|
||||||
if (k.startsWith(method)) {
|
if (k.startsWith(method)) {
|
||||||
|
|
||||||
|
//如果是控制类过滤到制度图
|
||||||
|
if(method.equals("control")){
|
||||||
|
if(k.equals("control.policy")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
list.add(pmppMap.get(k));
|
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);
|
temp.put(method, list);
|
||||||
}
|
}
|
||||||
return temp.get(method);
|
return temp.get(method);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user