diff --git a/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar b/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar index a86a6ae0..a9fc70f3 100644 Binary files a/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar and b/com.actionsoft.apps.coe.pal.cooperation/lib/com.actionsoft.apps.coe.pal.cooperation.jar differ diff --git a/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java b/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java index 06967b1e..ec4a45de 100644 --- a/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java +++ b/com.actionsoft.apps.coe.pal.cooperation/src/com/actionsoft/apps/coe/pal/cooperation/web/CooperationWeb.java @@ -1059,27 +1059,13 @@ public class CooperationWeb extends ActionWeb { List appPerm = new ArrayList<>();// 应用权限 List actionPerm = new ArrayList<>();// 操作权限 // 获取应用权限选项范围 - // aslp服务地址 - String aslp = "aslp://com.actionsoft.apps.coe.pal.cooperation/listApps"; - //列出已注册的流程团队扩展App - ResponseObject res = SDK.getAppAPI().callASLP(SDK.getAppAPI().getAppContext(CoEConstant.APP_ID), aslp, new HashMap()); - if (res.isOk()) { - JSONArray appArr = (JSONArray)((Map)res.getData()).get("apps"); - for (int i = 0; i < appArr.size(); i++) { - ; - JSONObject appObj = new JSONObject(); - appObj.put("value", appArr.getJSONObject(i).getString("title")); - appObj.put("label", appArr.getJSONObject(i).getString("id")); - appPermOpts.add(appObj); - } + List appList = CooperationAppManager.getList(); + for (CooperationAppProfile profile : appList) { + JSONObject appObj = new JSONObject(); + appObj.put("value", profile.getTitle()); + appObj.put("label", profile.getId()); + appPermOpts.add(appObj); } -// List appList = CooperationAppManager.getList(); -// for (CooperationAppProfile profile : appList) { -// JSONObject appObj = new JSONObject(); -// appObj.put("value", profile.getTitle()); -// appObj.put("label", profile.getId()); -// appPermOpts.add(appObj); -// } //权限操作权限options JSONObject actionObj1 = new JSONObject(); actionObj1.put("value", "新建流程");