view.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:3k
- <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
- <%@ include file="../hear/hear.jsp"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>员工查看</title>
- <link href="../css/work.css" rel="stylesheet" type="text/css" />
- <script src="../js/oa.js"></script>
- <style type="text/css">
- <!--
- .style1 {
- font-size: 16px;
- font-family: "宋体";
- font-weight: bold;
- }
- .style8 {color: #000000; font-family: "宋体"; font-size: 14px; font-weight: bold; }
- -->
- </style>
- </head>
- <body bgcolor="#FFFFDF">
- <table width="760" height="157" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td height="22" colspan="11" align="center" background="../KCM/zs.gif"><span class="style1">员工信息一览表</span></td>
- </tr>
- <tr align="center" class="column">
- <td height="26"><span class="style8">序号</span></td>
- <td><span class="style8">姓名</span></td>
- <td><span class="style8">性别</span></td>
- <td><span class="style8">出生日期</span></td>
- <td><span class="style8">学历</span></td>
- <td><span class="style8">职称</span></td>
- <td><span class="style8">部门</span></td>
- <td><span class="style8">职位</span></td>
- <td><span class="style8">电话</span></td>
- <td><span class="style8">地址</span></td>
- <td><span class="style8">状态</span></td>
- </tr>
- <%
- Collection coll=(Collection)request.getAttribute("msg");
- if(coll==null){
- %>
- <tr align="center">
- <td height="21" colspan="11" class="advise">没有添加员工</td>
- </tr>
- <%
- }else{
- Iterator it=coll.iterator();
- while(it.hasNext()){
- Eminfo dep=(Eminfo)it.next();
- %>
- <tr align="center">
- <td height="22"><%= dep.getId() %></td>
- <td height="22"><%= dep.getName() %></td>
- <td height="22">
- <%
- if(dep.getSex()==0){
- out.print("女");
- }else{
- out.print("男");
- }
- %></td>
- <td height="22"><%= dep.getBirthday() %></td>
- <td height="22"><%= dep.getLearn() %></td>
- <td height="22"><%= dep.getPost() %></td>
- <td height="22"><%= dep.getDepartment()%></td>
- <td height="22"><%= dep.getJob() %></td>
- <td height="22"><%= dep.getTel() %></td>
- <td height="22"><%= dep.getAddr() %></td>
- <td height="22"><%= dep.getState() %></td>
- </tr>
- <%
- }
- }
- request.removeAttribute("msg");
- %>
- <tr align="right" bgcolor="#FFFFDF">
- <td height="27" colspan="11"><span class="return" onclick="javascript:history.go(-1);">返回</span> </td>
- </tr>
- </table>
- </body>
- </html>