apzl_leasing/WebContent/AppConfig/FlowManage/FlowConfigInstruction.jsp
2018-06-03 22:26:41 +08:00

54 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBegin.jsp"%>
<style type="text/css">
.title
{
color:red;
font-size:16px;
}
</style>
<body>
<div id="normal">
<p class='title'>动态增加子节点方法</p>
<p>提示信息脚本:{"提交部门经理审批"}</p>
<p>生成处理人脚本:!审批流程.多法人提交人所在部门指定角色人员列表JBOQL()</p>
<p>后续节点脚本:'0020'</p>
</div>
<div id="condition">
<p class='title'>2、条件路由</p>
<p>提示信息脚本:{"批准","否决"}</p>
<p>生成处理人脚本IF(#PhaseOpinion1='批准',!审批流程.多法人提交给流程发起人JBOQL(),!多法人提交给流程发起人JBOQL())</p>
<p>后续节点脚本IF(#PhaseOpinion1='批准','0020','0030')</p>
</div>
<div id="forkjoin">
<p class='title'>3、并行</p>
<p>提示信息脚本:{"提交部门经理审批"}</p>
<p>生成处理人脚本:!审批流程.多法人提交人所在部门指定角色人员列表JBOQL()+!审批流程.多法人提交人所在部门指定角色人员列表JBOQL()</p>
<p>后续节点脚本:'0020;0030'</p>
注:itemName为前台左树图中节点中文名,codeno为产品节点配置中节点名<br>
Map<String,String>fixedParam;//固定参数用来取前台参数<br>
TreeView.addBeforeNodeByCode(itemName, codeno);//在节点之胶增加节点<br>
TreeView.addChildrenNodeByCode(itemName, codeno);//在节点下面增加子节点<br>
TreeView.addFirstNodeByCode(codeno);//在开始位置增加子节点<br>
TreeView.addLastNodeByCode(codeno);//在结束位置增加子节点<br>
TreeView.moveTreeItem(itemName, afterItem);//将节点A移到节点B之前<br>
TreeView.moveTreeItemToFirst(itemName);//将节点移到最开始<br>
TreeView.moveTreeItemToLast(itemName);//将节点移到最后<br>
TreeView.AddNodeUrlParam(itemName, param);//更新节点参数param为Map<br>
TreeView.updateNodeUrl(itemName, URL);//更新节点的URL<br>
TreeView.updateNodeTemplateNo(itemName, templateNo);//更新节点的模板编号<br>
TreeView.updateNodeSetReadOnly(itemName, readType);//设置节只读<br>
注动增修改校验<br>
Map<String,String>fixedParam;//固定参数用来取前台参数<br>
ProductCheckItemGroup TreeView =new ProductCheckItemGroup();<br>
TreeView.addProductCheckByCode(codeno);//codeno为节点编号增加校验<br>
TreeView.addProductCheckByModelId(codeno);//codeno为模型编号增加校<br>
TreeView.moveCheckItemFirst(codeno);//codeno为模型编号移到第一个<br>
TreeView.moveCheckItemLast(codeno);//codeno为模型编号移到最后一个<br>
TreeView.moveCheckItemAfter(codeno, aftercode);//codeno为模型编号移到某个位置之后<br>
TreeView.deleteCheckItemByCode(codeno);//codeno为模型编号删除校验<br>
</div>
</body>
<%@ include file="/IncludeEnd.jsp"%>