From 86fc8f1416f613514d17ede15da1e566e5695fbf Mon Sep 17 00:00:00 2001 From: weiyunlong Date: Wed, 15 Jan 2025 15:09:33 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B4=B9=E7=94=A8=E7=99=BB=E8=AE=B0=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E9=87=87=E8=B4=AD=E9=9C=80=E6=B1=82=E6=8C=89=E7=BB=84?= =?UTF-8?q?=E7=BB=87=202.=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit S --- .../repc/rebm/listplugin/PurDemandListPlugin.java | 3 ++- main/java/shkd/todotask/closeTaskPagePlugin.java | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) 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; } }