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. font-family: "宋体";
  14. font-weight: bold;
  15. font-size: 16px;
  16. color: #000000;
  17. }
  18. -->
  19. </style>
  20. </head>
  21. <body bgcolor="#FFFFDF">
  22. <table width="49%" height="205" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  23.   <tr >
  24.     <td height="22" colspan="7" align="center" class="title" background="../KCM/zs.gif" ><span class="style1">优秀员工信息</span></td>
  25.   </tr>
  26.   <tr align="center" class="column">
  27.     <td width="112" height="30"><span class="style1">姓名</span></td>
  28.     <td width="91"><span class="style1">编号</span></td>
  29.     <td width="197"><span class="style1">评选时间</span></td>
  30.     <td width="164"><span class="style1">评选部门</span></td>
  31.     <td width="100"><span class="style1">删除</span></td>
  32.   </tr>
  33. <%
  34. Collection coll=(Collection)request.getAttribute("msg");
  35. Str str=new Str();
  36. if(coll==null){
  37. %>
  38.   <tr align="center">
  39.     <td colspan="5" class="advise">没有添加公告</td>
  40.   </tr>
  41. <%
  42. }else{
  43. Iterator it=coll.iterator();
  44. while(it.hasNext()){
  45. Emex dep=(Emex)it.next();
  46. %>
  47.   <tr align="center"  >
  48.     <td><%= db.IdtoName(dep.getEmid()) %></td>
  49.     <td><%= dep.getEmid()%></td>
  50.     <td><%= dep.getTime().substring(0,10)%> </td>
  51.     <td height="22"><%= db.IdtoDeName(dep.getDeid()) %></td>
  52.     <td><a href="del?emexid=<%=dep.getId()%>"><img src="../image/empty.gif" width="20" height="20" border="0" /></a></td>
  53.   </tr>
  54. <%
  55. }
  56. }
  57. request.removeAttribute("msg");
  58. %>
  59.   <tr align="right" bgcolor="#FFFFDF">
  60.     <td colspan="6"><span class="return" onclick="javascript:history.back(-1);"><img src="../image/more.gif" width="30" height="9" />返回</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  61.   </tr>
  62. </table>
  63. </body>
  64. </html>