user_role_input.jsp
资源名称:oa.rar [点击查看]
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:3k
源码类别:
OA系统
开发平台:
Java
- <%@ page language="java" contentType="text/html; charset=GB18030"
- pageEncoding="GB18030"%>
- <%@include file="/common/common.jsp" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=GB18030">
- <link href="style/oa.css" rel="stylesheet" type="text/css">
- <script language="javascript" src="script/public.js"></script>
- <title>给用户分配角色</title>
- </head>
- <body>
- <center>
- <form action="user.do" method="post">
- <input type="hidden" name="method" value="addUserRole">
- <input type="hidden" name="id" value="${userForm.id}">
- <TABLE class="tableEdit" border="0" cellspacing="1" cellpadding="0" style="width:580px;">
- <TBODY>
- <TR>
- <!-- 这里是添加、编辑界面的标题 -->
- <td align="center" class="tdEditTitle">请选择要分配给用户的角色</TD>
- </TR>
- <TR>
- <td>
- <!-- 主输入域开始 -->
- <table width="100%" border="0" cellPadding="0" cellSpacing="1" bgcolor="#6386d6">
- <!-- 列表标题栏 -->
- <tr bgcolor="#EFF3F7" class="TableBody1">
- <td width="20%" height="37" align="center"><b>选择</b></td>
- <td width="80%" height="37" align="center"><b>角色名称</b></td>
- </tr>
- <!-- 列表数据栏 -->
- <c:if test="${!empty pm.datas}">
- <c:forEach items="${pm.datas }" var="role">
- <tr bgcolor="#EFF3F7" class="TableBody1" onmouseover="this.bgColor = '#DEE7FF';" onmouseout="this.bgColor='#EFF3F7';">
- <td align="center" vAlign="center"><input type="radio" name="roleId" value="${role.id }"></td>
- <td align="center" vAlign="center">${role.name }</td>
- </tr>
- </c:forEach>
- </c:if>
- <!-- 在列表数据为空的时候,要显示的提示信息 -->
- <c:if test="${empty pm.datas}">
- <tr>
- <td colspan="7" align="center" bgcolor="#EFF3F7" class="TableBody1" onmouseover="this.bgColor = '#DEE7FF';" onmouseout="this.bgColor='#EFF3F7';">
- 没有找到相应的记录
- </td>
- </tr>
- </c:if>
- </table>
- <TABLE width="100%" border=0 align=center cellPadding=0 cellSpacing=0 borderColor=#ffffff style="FONT-SIZE: 10pt">
- <TBODY>
- <TR>
- <TD height=28 align=left vAlign=center noWrap background=images/list_middle.jpg>
- <!-- 可以在这里插入分页导航条 -->
- 优先级:<input type="text" name="orderNo">
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- <!-- 主输入域结束 -->
- </td>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE>
- <TR align="center">
- <TD colspan="3" bgcolor="#EFF3F7">
- <input type="submit" name="saveButton"
- class="MyButton" value="分配角色">
- <input type="button" class="MyButton"
- value="关闭窗口" onclick="window.close()">
- </TD>
- </TR>
- </TABLE>
- </form>
- </center>
- </body>
- </html>