  <%@ page contentType="text/html;charset=UTF-8"%>
<%@page import="com.blueland.bpm.engine.config.model.*" %>
<%@ include file="/commons/taglibs.jsp"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/commons/meta.jsp"%>
<base href="<%=basePath%>">
<title>流程环节规则表编辑</title>
</head>
<body class="white-page">
	<div class="box2" panelTitle="更新流程环节规则表" showStatus="false" roller="true">
	<form action="${ctx}/actInfo/activityRule/update.do" method="post">
			<button id="submitButton" name="submitButton" class="btn btn-sm btn-primary" type="button" onclick="javascript:getReferenceForm(this).submit();">
				<span class="icon_save">保存</span>
				<i class="ace-icon fa fa-save bigger-110"></i>
			</button>
			<button class="btn btn-sm btn-primary" type="button" onclick="window.location='${ctx}/actInfo/activityRule/list.do'">
				<span class="icon_back">返回</span>
			</button>
			<table class="tableStyle form-table" formMode="true" footer="normal" style="margin-top: 15px">
					<!-- 存放隐藏域的区域 -->
					<input type="hidden" id="ruleId" name="ruleId" value="${activityRule.ruleId}" />
					<!-- 存放表单的区域 -->
					<tr>
						<td>环节规则名称<font color="red">*</font>：</td>
						<td><input type="text" name="ruleName" value="${activityRule.ruleName}" id="ruleName" /></td>
					</tr>
					<tr>
						<td>流程定义ID<font color="red">*</font>：</td>
						<td><input type="text" name="procDefId" value="${activityRule.procDefId}" id="procDefId" /></td>
					</tr>
					<tr>
						<td>源环节ID<font color="red">*</font>：</td>
						<td><input type="text" name="sourceActId" value="${activityRule.sourceActId}" id="sourceActId" /></td>
					</tr>
					<tr>
						<td>目标环节ID<font color="red">*</font>：</td>
						<td><input type="text" name="targetActId" value="${activityRule.targetActId}" id="targetActId" /></td>
					</tr>
					<tr>
						<td>环节规则脚本<font color="red">*</font>：</td>
						<td><input type="text" name="ruleScript" value="${activityRule.ruleScript}" id="ruleScript" /></td>
					</tr>
					<tr>
						<td>环节规则优先级：</td>
						<td><input type="text" name="rulePriority" value="${activityRule.rulePriority}" id="rulePriority" /></td>
					</tr>
					<tr>
						<td>环节规则描述：</td>
						<td><input type="text" name="ruleRemark" value="${activityRule.ruleRemark}" id="ruleRemark" /></td>
					</tr>
			</table>
	</form>
	</div>
</body>
</html>
