BpmQueryDialog.js 558 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * 自定义查询对话框
  3. */
  4. function BpmQueryDialog(conf)
  5. {
  6. if(!conf) conf={};
  7. var url=__ctx +"/platform/bpm/bpmFormQuery/dialog.ht";
  8. var dialogWidth=460;
  9. var dialogHeight=400;
  10. $.extend(conf, {dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:1,center:1});
  11. /*KILLDIALOG*/
  12. DialogUtil.open({
  13. height:conf.dialogHeight,
  14. width: conf.dialogWidth,
  15. title : '',
  16. url: url,
  17. isResize: true,
  18. //自定义参数
  19. conf: conf,
  20. sucCall:function(rtn){
  21. if(rtn!=undefined){
  22. conf.callback(rtn);
  23. }
  24. }
  25. });
  26. }