单据审批界面

This commit is contained in:
zengweihai 2024-07-24 18:31:55 +08:00
parent 2fbacc68be
commit 32fdf4d387
2 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ public class MessageListen extends AbstractMessageServiceHandler {
requestBody.put("requestname", title); requestBody.put("requestname", title);
requestBody.put("workflowname", entityName); // + "审批流程" requestBody.put("workflowname", entityName); // + "审批流程"
requestBody.put("nodename", taskName); requestBody.put("nodename", taskName);
requestBody.put("pcurl", url + "&closeType=closeWin"); requestBody.put("pcurl", url + "&closeType=closeWin&prcid="+processInstanceId);
requestBody.put("appurl", url != null ? getAppurl(url) : null); requestBody.put("appurl", url != null ? getAppurl(url) : null);
requestBody.put("isremark", "8"); requestBody.put("isremark", "8");
requestBody.put("viewtype", "0"); requestBody.put("viewtype", "0");

View File

@ -30,7 +30,7 @@ public class ApprovalBillFormPlugin extends AbstractWorkflowPlugin {
Map<String, Object> customParams = this.getView().getFormShowParameter().getCustomParams(); Map<String, Object> customParams = this.getView().getFormShowParameter().getCustomParams();
String apptype = (String) customParams.get("apptype");//获取应用类型 String apptype = (String) customParams.get("apptype");//获取应用类型
String msgId = (String) customParams.get("msgId"); String msgId = (String) customParams.get("msgId");
Object processInstanceId = customParams.get("processInstanceId"); Object processInstanceId = customParams.get("prcid");
if ("waver".equals(apptype) && !Strings.isEmpty(msgId) && processInstanceId != null){//当接口对象为泛微且提供消息对象主键不为空 if ("waver".equals(apptype) && !Strings.isEmpty(msgId) && processInstanceId != null){//当接口对象为泛微且提供消息对象主键不为空
DynamicObject wf_msg_message = BusinessDataServiceHelper.loadSingle(msgId, "wf_msg_message");//获取消息模型对象 DynamicObject wf_msg_message = BusinessDataServiceHelper.loadSingle(msgId, "wf_msg_message");//获取消息模型对象
HashMap<String,Object> map = new HashMap<>(); HashMap<String,Object> map = new HashMap<>();