parent
d7da4e297f
commit
86fc8f1416
|
@ -34,7 +34,8 @@ public class PurDemandListPlugin extends AbstractListPlugin {
|
||||||
DynamicObject dataEntity = model.getDataEntity();
|
DynamicObject dataEntity = model.getDataEntity();
|
||||||
IDataEntityType dataEntityType = dataEntity.getDataEntityType();
|
IDataEntityType dataEntityType = dataEntity.getDataEntityType();
|
||||||
String name = dataEntityType.getName();
|
String name = dataEntityType.getName();
|
||||||
if ("rebm_project".equals(name)) {
|
//立项||费用登记
|
||||||
|
if ("rebm_project".equals(name) || "recon_connotextbill".equals(name)) {
|
||||||
DynamicObject org = dataEntity.getDynamicObject("org");
|
DynamicObject org = dataEntity.getDynamicObject("org");
|
||||||
if (null != org) {
|
if (null != org) {
|
||||||
List<QFilter> qFilters = e.getQFilters();
|
List<QFilter> qFilters = e.getQFilters();
|
||||||
|
|
|
@ -36,11 +36,13 @@ public class closeTaskPagePlugin implements IApprovalSubPlugin {
|
||||||
}
|
}
|
||||||
flag = true;
|
flag = true;
|
||||||
} else {
|
} else {
|
||||||
HashMap<String, Object> map = new HashMap<>();
|
// HashMap<String, Object> map = new HashMap<>();
|
||||||
map.put("method", "closeWebView");
|
// map.put("method", "closeWebView");
|
||||||
String mapString = JSON.toJSONString(map);
|
// String mapString = JSON.toJSONString(map);
|
||||||
logger.info("准备发送指令" + mapString);
|
// view.executeClientCommand("callAPPApi", map);
|
||||||
view.executeClientCommand("callAPPApi", map);
|
// logger.info("准备发送指令" + mapString);
|
||||||
|
logger.info("准备关闭移动页面");
|
||||||
|
view.close();
|
||||||
flag = true;
|
flag = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue