diff --git a/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java b/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java index 2c21d89d..8d10c74c 100644 --- a/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java +++ b/com.actionsoft.apps.coe.pal.processlist/src/com/actionsoft/apps/coe/pal/processlist/web/PALRepositoryListWeb.java @@ -81,6 +81,8 @@ import com.actionsoft.sdk.local.SDK; * 流程清单-web */ public class PALRepositoryListWeb extends ActionWeb { + private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + UserContext _uc; public PALRepositoryListWeb() { } @@ -889,6 +891,15 @@ public class PALRepositoryListWeb extends ActionWeb { JSONObject statusObj = getJsonObject("status", "status", "状态", "状态", "150", "150", false, columnType, "selectStatus"); statusObj.put("filters", getProcessStatusFilters()); map.put("status", statusObj); + + //使用状态 + map.put("is_use", getJsonObject("is_use", "is_use", "使用状态", "使用状态", "150", "150", false, columnType, "default")); + //最后修改时间 + map.put("modify_date", getJsonObject("modify_date", "modify_date", "修改时间", "修改时间", "150", "150", false, columnType, "default")); + //文件ID + map.put("file_id", getJsonObject("file_id", "file_id", "文件ID", "文件ID", "150", "150", false, columnType, "default")); + //文件组ID + map.put("group_id", getJsonObject("group_id", "group_id", "文件组ID", "文件组ID", "150", "150", false, columnType, "default")); // map.put("parent_name",getJsonObject("parent_name","parent_name","上级名称","上级名称","250","250",false,columnType,"name")); } return map; @@ -1116,6 +1127,20 @@ public class PALRepositoryListWeb extends ActionWeb { return model.getInput(); case "output": return model.getOutput(); + case "is_use": + return model.isUse()?"使用中":"非使用中"; + case "modify_date": + String modifyDate = ""; + try { + modifyDate = sdf.format(model.getModifyDate()); + } catch (Exception e) { + e.getMessage(); + } + return modifyDate; + case "file_id": + return model.getId(); + case "group_id": + return model.getVersionId(); default: return ""; }