<%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<title>人员管理</title>
<link href='<c:url value="/sys/css/css.css"/>' type="text/css" rel="stylesheet">
<script language="javascript">
<!--
function goPage(form) {
	form.action = '<c:url value="/sys/sysuser/searchSysuser.html"/>';
	form.method.value = "";
	form.onsubmit = "";
    form.submit();	
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" >
<div><font class="text2"> 管理平台</font></div>
<div>
<html:form action="/sys/sysuser/searchSysuserRoles.html">
<html:hidden property="id"/>
<html:hidden property="pageCurrent"/>
<input type="hidden" name="method" value="setSysuserRoles">
<input type="hidden" name="set" value="set">
<div>人员信息</div>
<div>人员名称：<c:out value="${sysuserForm.name}"/></div>
<div>角色列表：<br>
					<c:forEach var="role" items="${rolesList}">
					<c:if test="${role.revisable == 1}">
					  <input type="radio" name="sysuser_RoleIds" value="<c:out value="${role.id}"/>" 
					  <c:forEach var="userRole" items="${sysuserForm.sysuser_RoleIds}">
					  <c:if test="${role.id == userRole}"><c:out value="checked"/></c:if>
					  </c:forEach> 
					  <c:if test="${sysuserForm.revisable == 0 && role.revisable == 0}">onclick="return false;"</c:if>
					  ><c:out value="${role.name}"/><br>
					</c:if>
					</c:forEach>
<div>
<input type="submit" style="width:60px" class = "button" value=" 确定 "  <c:if test="${isGuest}">disabled</c:if>> 
<input type="button" style="width:60px" value=" 取消 " class = "button"  onclick="goPage(this.form);">
</div>
</html:form>
</div>
</body>
</html>