本文主要是介绍eos开发页面标签,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
eos 中使用流程的,可以默认选择派发人,下面是方法:
<%
String preDeptId1 = "121";
com.boco.eoms.taglib.id2Name id2Name=new com.boco.eoms.taglib.id2Name();
String preDeptName1=id2Name.seachName(preDeptId1,"dept");
String toCopyId1 = "{categoryId:"+"\""+"CommonRole/temp[@type='send']/toRoleId"+"\""+",id:'"+preDeptId1+"',nodeType:'organization',text:'"+preDeptName1+"'}]";
String sendAndCopyId=data.substring(0,data.length()-1);
sendAndCopyId += toCopyId1;
%>
<fieldset style="display:none "><legend>派往部门/人员:</legend><eoms:chooser id="test0" category="[{id:\"CommonRole/temp[@type='send']/toRoleId\",text:'派发',allowBlank:false,vtext:\"请选择派发人\",limit:-1},{id:\"CommonRole/temp[@type='copy']/toRoleId\",text:'抄送',limit:-1}]" panels="[{text:'部门人员',dataUrl:'eoms_wfcommon.pr.prShowSendTree.do?userId=admin'},{text:'查询人员',type:'query',qurl:'eoms_wfcommon.pr.prDealTreeQuery.do'},{text:'自定义组',dataUrl:'eoms_wfcommon.pr.prShowSendTree.do?userId=${'SessionEntity/operatorID'}&type=group'}, {text:'角色列表',dataUrl:'eoms_wfcommon.pr.prShowSendTree.do?type=deptrole'}]"
这篇关于eos开发页面标签的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!