TaskChangePathWindow.js 663 B

12345678910111213141516171819202122232425262728293031
  1. function TaskChangePathWindow(conf){
  2. var taskId=conf.taskId;
  3. var winArgs="dialogWidth=680px;dialogHeight=340px;help=0;status=0;scroll=1;center=1";
  4. url=__ctx + "/platform/bpm/task/changePath.ht?taskId="+ taskId;
  5. url=url.getNewUrl();
  6. /*var rtn=window.showModalDialog(url,"",winArgs);
  7. if(conf.callback)
  8. {
  9. if(rtn!=undefined){
  10. conf.callback.call(this,rtn);
  11. }
  12. }*/
  13. /*KILLDIALOG*/
  14. DialogUtil.open({
  15. height:conf.dialogHeight,
  16. width: conf.dialogWidth,
  17. title : '',
  18. url: url,
  19. isResize: true,
  20. //自定义参数
  21. sucCall:function(rtn){
  22. if(conf.callback)
  23. {
  24. if(rtn!=undefined){
  25. conf.callback.call(this,rtn);
  26. }
  27. }
  28. }
  29. });
  30. }