1234567891011121314151617181920212223242526272829303132333435 |
- /**
- * 流程节点手机支持设置
- {actDefId:actDefId,nodeId:activitiId,activityName:activityName}
- * @param conf
- */
- MobileSetWindow=function(conf){
- if(!conf) conf={};
- var url=__ctx + "/platform/bpm/bpmDefinition/mobileSet.ht?actDefId=" + conf.actDefId+"&nodeId=" + conf.nodeId;
- var dialogWidth=400;
- var dialogHeight=200;
- conf=$.extend({},{dialogWidth:dialogWidth ,dialogHeight:dialogHeight ,help:0,status:0,scroll:0,center:1},conf);
- var winArgs="dialogWidth:"+conf.dialogWidth+"px;dialogHeight:"+conf.dialogHeight
- +"px;help:" + conf.help +";status:" + conf.status +";scroll:" + conf.scroll +";center:" +conf.center;
- url=url.getNewUrl();
- /*var rtn=window.showModalDialog(url,"",winArgs);
- if (conf.callback) {
- conf.callback.call(this,rtn);
- }*/
-
- var that =this;
- /*KILLDIALOG*/
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title : '流程节点手机支持设置',
- url: url,
- isResize: true,
- //自定义参数
- sucCall:function(rtn){
- if (conf.callback) {
- conf.callback.call(this,rtn);
- }
- }
- });
- };
|