TaskBackWindow.js 730 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * 任务回退窗口
  3. */
  4. function TaskBackWindow(conf)
  5. {
  6. if(!conf) conf={};
  7. var url=__ctx + "/platform/bpm/task/back.ht?taskId="+conf.taskId;
  8. var dialogWidth=400;
  9. var dialogHeight=200;
  10. $.extend(conf, {dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:0,center:1});
  11. var winArgs="dialogWidth="+conf.dialogWidth+"px;dialogHeight="+conf.dialogHeight
  12. +"px;help=" + conf.help +";status=" + conf.status +";scroll=" + conf.scroll +";center=" +conf.center;
  13. url=url.getNewUrl();
  14. //var rtn=window.showModalDialog(url,"",winArgs);
  15. /*KILLDIALOG*/
  16. DialogUtil.open({
  17. height:conf.dialogHeight,
  18. width: conf.dialogWidth,
  19. title : '任务回退窗口',
  20. url: url,
  21. isResize: true
  22. });
  23. }