employeeQueryResult.jsp
上传用户:jishiqi_cj
上传日期:2022-08-08
资源大小:24765k
文件大小:2k
- <%@ page contentType="text/html;charset=GBK" language="java" %>
- <%@ page import = "StudyNote.*" %>
- <%@ page import = "java.util.*" %>
- <%
- Vector v = (Vector)session.getAttribute(Constants.EMP_LIST_KEY);
- Emp emp = null;
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title></title>
- <LINK href="images/style.css" rel=stylesheet>
- </head>
- <body>
- <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#FFCC66">
- <tr>
- <td width="84%" bgcolor="#FFFFFF">
- <DIV align=left><font color="#FF9900"><b> </b></font></DIV>
- <DIV align=left style="width: 563; height: 81"><font color="#FF9900"><b> </b></font>
- <table class="txt" cellSpacing="1" cellPadding="1" width="90%" align="center" bgColor="#005b4b" border="0">
- <tr bgColor="#bad4a5">
- <td vAlign="top" width="10%" bgColor="#92C9CE" align="center"><b>部门</b></td>
- <td vAlign="top" width="40%" bgcolor="#92C9CE" align="center"><b>员工姓名</b></td>
- <td vAlign="top" width="8%" bgcolor="#92C9CE" align="center"><b>性别</b></td>
- <td vAlign="top" width="8%" bgcolor="#92C9CE" align="center"><b>职务</b></td>
- <td vAlign="top" width="20%" bgcolor="#92C9CE" align="center"><b>电话</b></td>
- </tr>
- <%if(v != null ){
- for(int i = 0;i < v.size();i++)
- {
- emp = (Emp)v.get(i);
- %>
- <tr bgColor="#ffffff">
- <td width="10%" bgColor="#ffffff"><%=emp.getDep()%></td>
- <td width="40%" bgColor="#ffffff"><%=emp.getName()%></td>
- <td width="8%" bgColor="#ffffff"><%=emp.getSex()%></td>
- <td width="8%" bgColor="#ffffff"><%=emp.getDuty()%></td>
- <td width="20%"><%=emp.getTel()%></td>
- </tr>
- <%
- }
- }
- %>
- </table>
- </DIV>
- <DIV align=left> </DIV>
- <P align=center><FONT size=2> </FONT></P>
- <p> </td>
- </tr>
- </table>
- </body>
- </html>