1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /**
- * 流程分配权限。
- *
- * @param defId 流程定义ID
- * @param type 流程类型(0,流程定义ID,1,分类类型)
- * @param defKey 流程定义key
- */
- function FlowRightDialog(id,type,defKey,isParent){
- var url=__ctx +"/platform/bpm/bpmDefRight/list.ht?id=" + id +"&type=" +type;
- if(typeof defKey!='undefined'&&defKey!=''){
- url+="&defKey=" +defKey;
- }
- if(typeof isParent!='undefined'){
- url+="&isParent=" +isParent;
- }
- var winArgs="dialogWidth:650px;dialogHeight:390px;help:0;status:0;scroll:1;center:1;resizable:1";
- url=url.getNewUrl();
- //var rtn=window.showModalDialog(url,"",winArgs);
- /*KILLDIALOG*/
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title : '',
- url: url,
- isResize: true,
- });
- };
- /**
- * 业务数据浏览模板权限分配
- * @param id 模板ID
- * @param type 分类搜索类型(0-->模板ID;1-->表单类型)
- */
- function FlowTemplateDialog(id,type){
- var url=__ctx +"/platform/form/bpmTableTemprights/list.ht?id=" + id+"&type=" +type;
- var winArgs="dialogWidth:650px;dialogHeight:390px;help:0;status:0;scroll:0;center:1;resizable:1";
- url=url.getNewUrl();
- //var rtn=window.showModalDialog(url,"",winArgs);
-
- /*KILLDIALOG*/
- DialogUtil.open({
- height:conf.dialogHeight,
- width: conf.dialogWidth,
- title : '',
- url: url,
- isResize: true,
- });
- }
|