ViewSubFlowWindow.js 908 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * 任务跳转规则设置。
  3. * conf参数属性:
  4. * actDefId act流程定义ID
  5. * nodeId:流程节点ID
  6. * @param conf
  7. */
  8. function ViewSubFlowWindow(conf)
  9. {
  10. if(!conf) conf={};
  11. var url=__ctx+ "/platform/bpm/bpmDefinition/subFlowImage.ht?defId="+conf.defId+"&actDefId=" + conf.actDefId +"&nodeId=" +conf.nodeId;
  12. var dialogWidth=800;
  13. var dialogHeight=600;
  14. conf=$.extend({},{dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:0,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. //var rtn=window.showModalDialog(url,"",winArgs);
  19. /*KILLDIALOG*/
  20. DialogUtil.open({
  21. height:conf.dialogHeight,
  22. width: conf.dialogWidth,
  23. title : '任务跳转规则设置',
  24. url: url,
  25. isResize: true,
  26. });
  27. }