单据审批界面
This commit is contained in:
parent
2fbacc68be
commit
32fdf4d387
|
@ -544,7 +544,7 @@ public class MessageListen extends AbstractMessageServiceHandler {
|
|||
requestBody.put("requestname", title);
|
||||
requestBody.put("workflowname", entityName); // + "审批流程"
|
||||
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("isremark", "8");
|
||||
requestBody.put("viewtype", "0");
|
||||
|
|
|
@ -30,7 +30,7 @@ public class ApprovalBillFormPlugin extends AbstractWorkflowPlugin {
|
|||
Map<String, Object> customParams = this.getView().getFormShowParameter().getCustomParams();
|
||||
String apptype = (String) customParams.get("apptype");//获取应用类型
|
||||
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){//当接口对象为泛微且提供消息对象主键不为空
|
||||
DynamicObject wf_msg_message = BusinessDataServiceHelper.loadSingle(msgId, "wf_msg_message");//获取消息模型对象
|
||||
HashMap<String,Object> map = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue