see.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. <html >
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  6. <title>查看公文</title>
  7. <link href="../css/work.css" rel="stylesheet" type="text/css" />
  8. <script src="../js/oa.js" language="javascript"></script>
  9. <style type="text/css">
  10. <!--
  11. .style1 {
  12. color: #000000;
  13. font-weight: bold;
  14. font-family: "宋体";
  15. font-size: 16px;
  16. }
  17. .style8 {font-family: "宋体"; color: #000000; font-weight: bold; font-size: 14px; }
  18. -->
  19. </style>
  20. </head>
  21. <body bgcolor="#FFFFDF">
  22. <table width="54%" height="143" align="center" cellpadding="0" cellspacing="0">
  23.   <tr bgcolor="#FFFFFF">
  24.     <td height="22" colspan="5" align="center" class=" style1" background="../KCM/zs.gif" >查看公文</td>
  25.   </tr>
  26.   <tr align="center" class="column" bgcolor="#FFFFFF">
  27.     <td height="27" ><span class="style8">公文第[*]字号</span></td>
  28.     <td ><span class="style8">发送人</span></td>
  29.     <td ><span class="style8">接收人</span></td>
  30.     <td ><span class="style8">附件</span></td>
  31.     <td ><span class="style8">处理时间</span></td>
  32.   </tr>
  33. <%
  34. Collection coll=(Collection)request.getAttribute("msg");
  35. if(coll.isEmpty()){
  36. %>
  37.   <tr bgcolor="#FFFFFF">
  38.     <td height="38" colspan="5" align="center" class="advise">库中暂无公文</td>
  39.   </tr>
  40. <% 
  41.   }else{
  42. Iterator it=coll.iterator();
  43. while(it.hasNext()){
  44. Bumf bumf=(Bumf)it.next();
  45. %>
  46.   <tr align="center" bgcolor="#FFFFFF">
  47.     <td height="27" ><%= bumf.getId() %></td>
  48.     <td ><%= db.IdtoName(bumf.getSendter()) %></td>
  49.     <td ><%= db.IdtoName(bumf.getAccepter()) %></td>
  50.     <td ><%= bumf.getAffix() %></td>
  51.     <td ><%= bumf.getTime().substring(0,11) %></td>
  52.   </tr>
  53. <%
  54. }
  55. }
  56. request.removeAttribute("msg");
  57. %>
  58.   <tr bgcolor="#FFFFDF">
  59.     <td height="27" colspan="5" align="right" ><span class="return" onclick="javascript:history.go(-1);"><img src="../image/more.gif" width="30" height="9" />返回</span></td>
  60.   </tr>
  61. </table>
  62. </body>
  63. </html>