调整自由模型名称
This commit is contained in:
parent
95e577a8ee
commit
119911efb6
@ -8381,7 +8381,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
methodObj.put("categoryName", I18nRes.findValue(CoEConstant.APP_ID, c));
|
methodObj.put("categoryName", I18nRes.findValue(CoEConstant.APP_ID, c));
|
||||||
methodObj.put("method", model.getId());
|
methodObj.put("method", model.getId());
|
||||||
methodObj.put("methodName", I18nRes.findValue(CoEConstant.APP_ID, model.getId()));
|
methodObj.put("methodName", I18nRes.findValue(CoEConstant.APP_ID, model.getId()));
|
||||||
if (!"freedom.allmethod".equals(model.getId())){
|
if (!"process.yilifreedommodel".equals(model.getId())){
|
||||||
if (model.getSchema().contains("架构KPI图")){
|
if (model.getSchema().contains("架构KPI图")){
|
||||||
methodObj.put("methodName", "架构KPI图");
|
methodObj.put("methodName", "架构KPI图");
|
||||||
}
|
}
|
||||||
@ -8392,7 +8392,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
// 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金鹏
|
//流程入口允许新建表单图和制度图 by金鹏
|
||||||
if (model.getId().equals("freedom.allmethod")) {
|
if (model.getId().equals("process.yilifreedommodel")) {
|
||||||
if (StringUtils.isBlank(fileId)){
|
if (StringUtils.isBlank(fileId)){
|
||||||
methodObj.put("havingCreatePerm", false);
|
methodObj.put("havingCreatePerm", false);
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
@ -22,6 +22,6 @@ public class StartListener implements AppListener {
|
|||||||
this.initMethod(appContext);
|
this.initMethod(appContext);
|
||||||
}
|
}
|
||||||
private void initMethod(AppContext appContext){
|
private void initMethod(AppContext appContext){
|
||||||
MethodAppManager.register("freedom.allmethod", appContext, "freedom.allmethod", "自由流程建模方法");
|
MethodAppManager.register("process.yilifreedommodel", appContext, "process.yilifreedommodel", "自由流程建模方法");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,7 +26,7 @@ public class Plugins implements PluginListener {
|
|||||||
params1.put("title", "自由模型建模方法");
|
params1.put("title", "自由模型建模方法");
|
||||||
params1.put("icon", "");
|
params1.put("icon", "");
|
||||||
params1.put("desc", "自由模型建模方法");
|
params1.put("desc", "自由模型建模方法");
|
||||||
params1.put("methodId", "freedom.allmethod");
|
params1.put("methodId", "process.yilifreedommodel");
|
||||||
params1.put("deletedClass", "");
|
params1.put("deletedClass", "");
|
||||||
list.add(new AppExtensionProfile("PAL流程资产库->自由模型建模方法", "aslp://com.actionsoft.apps.coe.pal/registerMethodApp", params1));
|
list.add(new AppExtensionProfile("PAL流程资产库->自由模型建模方法", "aslp://com.actionsoft.apps.coe.pal/registerMethodApp", params1));
|
||||||
return list;
|
return list;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user