FlowMessageWindow.js 805 B

123456789101112131415161718192021222324252627
  1. /**
  2. * 消息参数设置。
  3. * conf参数属性:
  4. * actDefId: act流程定义ID
  5. * nodeId:流程节点ID
  6. * @param conf
  7. */
  8. function FlowMessageWindow(conf)
  9. {
  10. if(!conf) conf={};
  11. var url=__ctx + "/platform/bpm/bpmNodeMessage/edit.ht?actDefId=" + conf.actDefId +"&nodeId=" + conf.nodeId;
  12. var dialogWidth=780;
  13. var dialogHeight=580;
  14. conf=$.extend({},{dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:1,center:1},conf);
  15. var winArgs="dialogWidth="+conf.dialogWidth+"px;dialogHeight="+conf.dialogHeight
  16. +"px;help=" + conf.help +";status=" + conf.status +";scroll=" + conf.scroll +";center=" +conf.center;
  17. url=url.getNewUrl();
  18. DialogUtil.open({
  19. height:conf.dialogHeight,
  20. width: conf.dialogWidth,
  21. title : '消息参数设置',
  22. url: url,
  23. isResize: true,
  24. });
  25. }