📄 look_person.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<html>
<head>
<html:base/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>浏览员工信息</title>
</head>
<body>
<center>
<table width=967 border=1 cellpadding="0" cellspacing="0" bordercolor=gray bordercolorlight=gray bordercolordark=white>
<tr>
<td colspan=2 align=center height=100 vliagn=top>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><jsp:include page="/top.jsp"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=100>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><jsp:include page="/side.jsp"/></td>
</tr>
</table>
</td>
<td align="center" valign="top" width=900 background="<%=request.getContextPath()%>/image/right_round.jpg">
<br>
<br>
<table><tr><td><html:errors/></td></tr></table>
<table width="90%" border="1" cellspacing="" cellpadding="0" bordercolor=black bordercolorlight=black bordercolordark=white>
<tr bgcolor="#DFE5F5">
<td width="31%" height="25" align="left"> </td>
<td width="24%" align="center"><a href="<%=request.getContextPath()%>/person/person_myself_update.do?updatetype=link">[修改个人信息]</a></td>
<td width="24%" align="center"><a href="<%=request.getContextPath()%>/person/person_add.do?addtype=link">[添加新员工]</a></td>
<td width="21%" align="right"><strong>人力资源管理 </strong></td>
</tr>
</table>
<table width="90%" border="1" cellspacing="-10" cellpadding="5" bordercolor="black" bordercolorlight="black" bordercolordark="white">
<html:form action="person/person_look.do" focus="subsqlvalue">
<tr align="left">
<td height="20" colspan="1">浏览员工信息</td>
<td height="20" colspan=5 align="center">快速搜索:
<html:text property="subsqlvalue" size="40" style="border:1 solid;"/> 类型:
<html:select property="subsql">
<html:options collection="personsearchtypelist" property="value" labelProperty="label"/>
</html:select>
<html:submit value="搜索"/>
</td>
</tr>
</html:form>
<tr align="center" bgcolor="#DFE5F5">
<td width="23%" height="25">用户名</td>
<td width="15%">权限</td>
<td width="19%">部门</td>
<td width="19%" height="25">职务</td>
<td height="25" colspan="2">操作</td>
</tr>
<logic:present name="personlist">
<logic:iterate id="usersigle" name="personlist">
<tr align="center">
<td width="23%" height="25"><html:link page="/person/person_sigle_look.do" paramId="id" paramName="usersigle" paramProperty="userid"><bean:write name="usersigle" property="username"/></html:link></td>
<td width="15%">
<logic:equal value="2" name="usersigle" property="userable">
系统管理员
</logic:equal>
<logic:equal value="1" name="usersigle" property="userable">
普通管理员
</logic:equal>
<logic:equal value="0" name="usersigle" property="userable">
游客
</logic:equal>
</td>
<td width="19%"><bean:write name="usersigle" property="userbranch"/></td>
<td width="19%" height="25"><bean:write name="usersigle" property="userjob"/></td>
<td height="25">
<a href="<%=request.getContextPath()%>/person/person_update.do?id=<bean:write name="usersigle" property="userid"/>&updatetype=link">[修改]</a>
</td>
<td height="25">
<a href="<%=request.getContextPath()%>/person/person_del.do?id=<bean:write name='usersigle' property='userid'/>&page=<%=session.getAttribute("currentpage")%>" onclick="return(confirm('确认要删除该记录吗?'))" >[删除]</a>
</td>
</tr>
</logic:iterate>
</logic:present>
<logic:empty name="personlist">
<tr><td colspan=6 align=center><b><li>没有记录显示!</li></b></td></tr>
</logic:empty>
</table>
<jsp:include page="/page.jsp"/>
</td>
</tr>
<tr>
<td colspan="2"><jsp:include page="/end.jsp"/></td>
</tr>
</table>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -