12345678910111213141516171819202122232425262728293031 |
- function TaskChangePathWindow(conf){
- var taskId=conf.taskId;
- var winArgs="dialogWidth=680px;dialogHeight=340px;help=0;status=0;scroll=1;center=1";
- url=__ctx + "/platform/bpm/task/changePath.ht?taskId="+ taskId;
- url=url.getNewUrl();
-
- /*var rtn=window.showModalDialog(url,"",winArgs);
- if(conf.callback)
- {
- if(rtn!=undefined){
- conf.callback.call(this,rtn);
- }
- }*/
- /*KILLDIALOG*/
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title : '',
- url: url,
- isResize: true,
- //自定义参数
- sucCall:function(rtn){
- if(conf.callback)
- {
- if(rtn!=undefined){
- conf.callback.call(this,rtn);
- }
- }
- }
- });
- }
|