1.费用登记过滤采购需求按组织

2.移动端页面关闭调试

S
This commit is contained in:
weiyunlong 2025-01-15 15:09:33 +08:00
parent d7da4e297f
commit 86fc8f1416
2 changed files with 9 additions and 6 deletions

View File

@ -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<QFilter> qFilters = e.getQFilters();

View File

@ -36,11 +36,13 @@ public class closeTaskPagePlugin implements IApprovalSubPlugin {
}
flag = true;
} else {
HashMap<String, Object> map = new HashMap<>();
map.put("method", "closeWebView");
String mapString = JSON.toJSONString(map);
logger.info("准备发送指令" + mapString);
view.executeClientCommand("callAPPApi", map);
// HashMap<String, Object> 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;
}
}