index.jsp
资源名称:oa.rar [点击查看]
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:5k
源码类别:
OA系统
开发平台:
Java
- <%@ page language="java" contentType="text/html; charset=GB18030"
- pageEncoding="GB18030"%>
- <%@include file="/common/common.jsp" %>
- <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 bgColor=#dee7ff leftMargin=0 background="" topMargin=0 marginheight="0" marginwidth="0">
- <center>
- <TABLE width="778" border=0 cellPadding=0 cellSpacing=0 borderColor=#ffffff bgColor=#dee7ff style="FONT-SIZE: 10pt">
- <TBODY>
- <TR height=35>
- <TD align=middle width=20 background=images/title_left.gif
- bgColor=#dee7ff></TD>
- <TD align=middle width=120 background=images/title_left.gif
- bgColor=#dee7ff><FONT color=#f7f7f7> 用户管理<font color="#FFFFFF"> </font></FONT> </TD>
- <TD align=middle width=11 background=images/title_middle.gif
- bgColor=#dee7ff><FONT color=#f7f7f7> </FONT> </TD>
- <TD align=middle background=images/title_right.gif
- bgColor=#dee7ff><FONT color=#f7f7f7> </FONT> </TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE width="778" border=0 align=center cellPadding=0 cellSpacing=0 borderColor=#ffffff style="FONT-SIZE: 10pt">
- <TBODY>
- <TR>
- <TD width="82%" height=14 align=right vAlign=center noWrap>
- </TD>
- <TD width="18%" align=right vAlign=center noWrap> </TD>
- </TR>
- <TR>
- <TD height=14 align=right vAlign=center noWrap>
- <!-- 在这里插入查询表单 -->
- </TD>
- <TD height=14 align="left" vAlign=center noWrap>
- </TD>
- </TR>
- <TR>
- <TD height=28 colspan="2" align=right vAlign=center noWrap background=images/list_middle.jpg>
- <!-- 可以在这里插入分页导航条 -->
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- <table width="778" border="0" cellPadding="0" cellSpacing="1" bgcolor="#6386d6">
- <!-- 列表标题栏 -->
- <tr bgcolor="#EFF3F7" class="TableBody1">
- <td width="5%" height="37" align="center"><b>序号</b></td>
- <td width="10%" height="37" align="center"><B>姓名</B></td>
- <td width="10%" height="37" align="center"><b>性别</b></td>
- <td width="10%" height="37" align="center"><b>所属机构</b></td>
- <td width="10%" height="37" align="center"><b>登录帐号</b></td>
- <td width="10%" height="37" align="center"><b>失效时间</b></td>
- <td width="45%" height="37" align="center"><b>操作</b></td>
- </tr>
- <!-- 列表数据栏 -->
- <c:if test="${!empty pm.datas}">
- <c:forEach items="${pm.datas }" var="person">
- <tr bgcolor="#EFF3F7" class="TableBody1" onmouseover="this.bgColor = '#DEE7FF';" onmouseout="this.bgColor='#EFF3F7';">
- <td align="center" vAlign="center">${person.id }</td>
- <td align="center" vAlign="center">${person.name }</td>
- <td align="center" vAlign="center">${person.sex }</td>
- <td align="center" vAlign="center">${person.org.name }</td>
- <td align="center" vAlign="center">${person.user.username }</td>
- <td align="center" vAlign="center"><fmt:formatDate value="${person.user.expireTime }" pattern="yyyy-MM-dd"/></td>
- <td align="center" vAlign="center">
- <a href="#" onclick="openWin('user.do?method=addInput&personId=${person.id }','assignUser',600,100);">分配帐号</a>
- <a href="#" onclick="del('user.do?method=del&id=${person.user.id }');">删除帐号</a>
- <a href="#" onclick="openWin('user.do?method=updateInput&id=${person.user.id }','chgpsw',600,100);">修改帐号</a>
- <a href="#" onclick="openWin('user.do?method=userRoleList&id=${person.user.id }','assignRole',600,400);">分配角色</a>
- <a href="#" onclick="openWin('acl.do?principalType=User&principalSn=${person.user.id }','roleauth',600,500,1);">用户授权</a>
- </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="778" border=0 align=center cellPadding=0 cellSpacing=0 borderColor=#ffffff style="FONT-SIZE: 10pt">
- <TBODY>
- <TR>
- <TD height=28 align=right vAlign=center noWrap background=images/list_middle.jpg>
- <!-- 可以在这里插入分页导航条 -->
- <pg:pager items="${pm.total }" url="user.do" export="currentPageNumber=pageNumber">
- <pg:first><a href="${pageUrl}">首页</a></pg:first>
- <pg:prev><a href="${pageUrl }">前页</a></pg:prev>
- <pg:pages>
- <c:choose>
- <c:when test="${ currentPageNumber eq pageNumber}">
- <font color="red">${pageNumber}</font>
- </c:when>
- <c:otherwise>
- <a href="${pageUrl }">${pageNumber }</a>
- </c:otherwise>
- </c:choose>
- </pg:pages>
- <pg:next><a href="${pageUrl }">下页</a></pg:next>
- <pg:last><a href="${pageUrl }">尾页</a></pg:last>
- </pg:pager>
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- </center>
- </body>
- </html>