diff --git a/main/java/shkd/repc/rebm/listplugin/PurDemandListPlugin.java b/main/java/shkd/repc/rebm/listplugin/PurDemandListPlugin.java index 664965c..137a96e 100644 --- a/main/java/shkd/repc/rebm/listplugin/PurDemandListPlugin.java +++ b/main/java/shkd/repc/rebm/listplugin/PurDemandListPlugin.java @@ -34,7 +34,8 @@ public class PurDemandListPlugin extends AbstractListPlugin { DynamicObject dataEntity = model.getDataEntity(); IDataEntityType dataEntityType = dataEntity.getDataEntityType(); String name = dataEntityType.getName(); - if ("rebm_project".equals(name)) { + //立项||费用登记 + if ("rebm_project".equals(name) || "recon_connotextbill".equals(name)) { DynamicObject org = dataEntity.getDynamicObject("org"); if (null != org) { List qFilters = e.getQFilters(); diff --git a/main/java/shkd/todotask/closeTaskPagePlugin.java b/main/java/shkd/todotask/closeTaskPagePlugin.java index 258ac56..665b3f0 100644 --- a/main/java/shkd/todotask/closeTaskPagePlugin.java +++ b/main/java/shkd/todotask/closeTaskPagePlugin.java @@ -36,11 +36,13 @@ public class closeTaskPagePlugin implements IApprovalSubPlugin { } flag = true; } else { - HashMap map = new HashMap<>(); - map.put("method", "closeWebView"); - String mapString = JSON.toJSONString(map); - logger.info("准备发送指令" + mapString); - view.executeClientCommand("callAPPApi", map); +// HashMap map = new HashMap<>(); +// map.put("method", "closeWebView"); +// String mapString = JSON.toJSONString(map); +// view.executeClientCommand("callAPPApi", map); +// logger.info("准备发送指令" + mapString); + logger.info("准备关闭移动页面"); + view.close(); flag = true; } }