accept.jsp
上传用户:sxwtmm
上传日期:2022-08-11
资源大小:2183k
文件大小:3k
- <%@ 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/style.css" rel="stylesheet" type="text/css" />
- <script src="../js/oa.js" language="javascript"></script>
- <style type="text/css">
- <!--
- .style1 {
- font-size: 16px;
- font-weight: bold;
- color: #000000;
- }
- .style4 {color: #0079F2}
- .style6 {color: #106AB4}
- .style7 {
- color: #005EBB;
- font-weight: bold;
- }
- .style8 {color: #000000}
- -->
- </style>
- </head>
- <body bgcolor="#FFFFDF">
- <table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="78%" height="24" colspan="6" align="center" background="../KCM/zs.gif" class="advise style1"><div align="center">接收公文</div></td>
- </tr>
- </table>
- <table width="780" height="196" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <form action="complete" method="post" name="form1" id="form1" onsubmit="return accepts()">
- <%
- Collection coll=(Collection)request.getAttribute("msg");
- if(coll.isEmpty()){
- %>
- <tr>
- <td height="19" colspan="5" align="center" class="advise style7">无待办公文</td>
- </tr>
- <% }else{
- Iterator it=coll.iterator();
- if(it.hasNext()){
- Bumf bumf=(Bumf)it.next();
- %>
- <tr>
- <td width="207" align="left" ><div align="right">发送人序号:<%=bumf.getSendter()%></div></td>
- <td width="342" align="center" class="column" >现在有
- <%
- String ok=(String)request.getAttribute("count");
- if(ok!=null){
- out.print(ok);
- }
- request.removeAttribute("count");
- %>条待办公文</td>
- <td width="202"><span class="style8">公文第[<%=bumf.getId()%>]字号</span></td>
- </tr>
- <tr>
- <td height="27" colspan="5" align="center" >标 题:<%=bumf.getTitle()%></td>
- </tr>
- <tr>
- <td height="81" colspan="5" align="center" valign="top"><textarea name="bumf" cols="50" rows="5"><%=bumf.getContent()%></textarea></td>
- </tr>
- <tr>
- <td> </td>
- <td><div align="left"><span class="style6">附件:
-
- </span></div></td>
- <td><span class="style4">
- <%
- out.print(bumf.getAffix());
- session.setAttribute("msg",bumf.getAffix());
- %>
- </span></td>
- <td width="27" height="18" colspan="2" > <a href="upload.jsp">
- </tr>
- <tr>
- <td colspan="5" align="center" ><input type="submit" name="Submit" value="处理完成" />
- <input type="hidden" name="bumfid" value="<%=bumf.getId()%>">
- <input type="submit" name="Submit" value="以后处理" /></td>
- </tr>
- <%
- }
- }
- request.removeAttribute("msg");
- %>
- </form>
- </table>
- </body>
- </html>