see.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:2k
- <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
- <%@ include file="../hear/hear.jsp"%>
- <html >
- <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" language="javascript"></script>
- <style type="text/css">
- <!--
- .style1 {
- color: #000000;
- font-weight: bold;
- font-family: "宋体";
- font-size: 16px;
- }
- .style8 {font-family: "宋体"; color: #000000; font-weight: bold; font-size: 14px; }
- -->
- </style>
- </head>
- <body bgcolor="#FFFFDF">
- <table width="54%" height="143" align="center" cellpadding="0" cellspacing="0">
- <tr bgcolor="#FFFFFF">
- <td height="22" colspan="5" align="center" class=" style1" background="../KCM/zs.gif" >查看公文</td>
- </tr>
- <tr align="center" class="column" bgcolor="#FFFFFF">
- <td height="27" ><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.isEmpty()){
- %>
- <tr bgcolor="#FFFFFF">
- <td height="38" colspan="5" align="center" class="advise">库中暂无公文</td>
- </tr>
- <%
- }else{
- Iterator it=coll.iterator();
- while(it.hasNext()){
- Bumf bumf=(Bumf)it.next();
- %>
- <tr align="center" bgcolor="#FFFFFF">
- <td height="27" ><%= bumf.getId() %></td>
- <td ><%= db.IdtoName(bumf.getSendter()) %></td>
- <td ><%= db.IdtoName(bumf.getAccepter()) %></td>
- <td ><%= bumf.getAffix() %></td>
- <td ><%= bumf.getTime().substring(0,11) %></td>
- </tr>
- <%
- }
- }
- request.removeAttribute("msg");
- %>
- <tr bgcolor="#FFFFDF">
- <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>
- </tr>
- </table>
- </body>
- </html>