<%@ page contentType="text/html;charset=UTF-8" %>
<%@ 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>
	<div id="scrollContent">
		<div class="box2" panelTitle="流程定义信息配置表新增" showStatus="false" roller="true">
			<form action="${ctx}/processInfo/save.do" method="post">
				<button id="submitButton" name="submitButton" type="submit">
					<span class="icon_save">保存</span>
					<i class="ace-icon fa fa-save bigger-110"></i>
				</button>
				<table class="tableStyle">
				  <tr>
					<th>权限分类</th>
					<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
					<th sortColumn="processDefName" >授权给</th>
					<th sortColumn="processTypeId" >操作</th>
				  </tr>
				 <tr>
					<td>用户授权</td>	
					<td><input type="text" name="userPowers" id="userPowers" value=""/></td>	
					<td>
						<button id="userPowersSelButton" name="userPowersSelButton" type="button">
							<span class="icon_save">选择</span>
						</button>
						<button id="userPowersClearButton" name="userPowersClearButton" type="button">
							<span class="icon_save">重置</span>
						</button>
					</td>
				  </tr>
				  <tr>
					<td>角色授权</td>	
					<td><input type="text" name="rolePowers" id="rolePowers" value=""/></td>	
					<td>
						<button id="rolePowersSelButton" name="rolePowersSelButton" type="button">
							<span class="icon_save">选择</span>
						</button>
						<button id="rolePowersClearButton" name="rolePowersClearButton" type="button">
							<span class="icon_save">重置</span>
						</button>
					</td>
				  </tr>
				  <tr>
					<td>组织授权(本层级)</td>	
					<td><input type="text" name="orgPowers" id="orgPowers" value=""/></td>	
					<td>
						<button id="orgPowersSelButton" name="orgPowersSelButton" type="button">
							<span class="icon_save">选择</span>
						</button>
						<button id="orgPowersClearButton" name="orgPowersClearButton" type="button">
							<span class="icon_save">重置</span>
						</button>
					</td>
				  </tr>
				</table>
				
			</form>
		</div>
	</div>
</body>
</html>