view.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
  2. <%@ include file="../hear/hear.jsp"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  7. <title>员工状态查看</title>
  8. <link href="../css/work.css" rel="stylesheet" type="text/css" />
  9. <script src="../js/oa.js"></script>
  10. <style type="text/css">
  11. <!--
  12. .style1 {
  13. color: #000000;
  14. font-family: "宋体";
  15. font-weight: bold;
  16. font-size: 16px;
  17. }
  18. .style8 {font-family: "宋体"; font-weight: bold; color: #000000; font-size: 14px; }
  19. -->
  20. </style>
  21. </head>
  22. <body bgcolor="#FFFFDF">
  23. <table width="49%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  24.   <tr >
  25.     <td height="22" colspan="3" align="center" class="title style1" background="../KCM/zs.gif">员工状态信息一览表</td>
  26.   </tr>
  27.   <tr align="center" class="column">
  28.     <td width="205" height="30"><span class="style8">员工状态序号</span></td>
  29.     <td width="289"><span class="style8">员工状态名称</span></td>
  30.     <td width="284" height="30"><span class="style8">大概工作描述</span></td>
  31.   </tr>
  32.   <%
  33. Collection coll=(Collection)request.getAttribute("msg");
  34. if(coll==null){
  35. %>
  36.   <tr align="center">
  37.     <td height="30" colspan="3" class="advise">没有添加员工状态</td>
  38.   </tr>
  39.   <%
  40. }else{
  41. Iterator it=coll.iterator();
  42. while(it.hasNext()){
  43. Department dep=(Department)it.next();
  44. %>
  45.   <tr align="center">
  46.     <td height="22"><%= dep.getId() %></td>
  47.     <td><%= dep.getName() %></td>
  48.     <td height="22" align="left"><%= dep.getExplain() %></td>
  49.   </tr>
  50.   <%
  51. }
  52. }
  53. request.removeAttribute("msg");
  54. %>
  55.   <tr align="right" bgcolor="#FFFFDF">
  56.     <td colspan="3"><span class="return" onclick="javascript:history.go(-1);">返回</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  57.   </tr>
  58. </table>
  59. </body>
  60. </html>