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

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/style.css" rel="stylesheet" type="text/css" />
  8. <script src="../js/oa.js" language="javascript"></script>
  9. <style type="text/css">
  10. <!--
  11. .style1 {
  12. font-size: 16px;
  13. font-weight: bold;
  14. color: #000000;
  15. }
  16. .style4 {color: #0079F2}
  17. .style6 {color: #106AB4}
  18. .style7 {
  19. color: #005EBB;
  20. font-weight: bold;
  21. }
  22. .style8 {color: #000000}
  23. -->
  24. </style>
  25. </head>
  26. <body bgcolor="#FFFFDF">
  27. <table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
  28.   <tr>
  29.     <td width="78%" height="24" colspan="6" align="center" background="../KCM/zs.gif" class="advise style1"><div align="center">接收公文</div></td>
  30.   </tr>
  31. </table>
  32. <table width="780" height="196" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  33. <form action="complete" method="post" name="form1" id="form1" onsubmit="return accepts()">
  34. <%
  35. Collection coll=(Collection)request.getAttribute("msg");
  36. if(coll.isEmpty()){
  37. %>
  38.   <tr>
  39.     <td height="19" colspan="5" align="center" class="advise style7">无待办公文</td>
  40.   </tr>
  41. <%   }else{
  42. Iterator it=coll.iterator();
  43. if(it.hasNext()){
  44. Bumf bumf=(Bumf)it.next();
  45. %>
  46.   <tr>
  47.     <td width="207" align="left" ><div align="right">发送人序号:<%=bumf.getSendter()%></div></td>
  48.     <td width="342" align="center" class="column" >现在有
  49.       <%
  50. String ok=(String)request.getAttribute("count");
  51. if(ok!=null){
  52. out.print(ok);
  53. }
  54. request.removeAttribute("count");
  55. %>条待办公文</td>
  56.     <td width="202"><span class="style8">公文第[<%=bumf.getId()%>]字号</span></td>
  57.     </tr>
  58.   <tr>
  59.     <td height="27" colspan="5" align="center" >标&nbsp;&nbsp;题:<%=bumf.getTitle()%></td>
  60.     </tr>
  61.   <tr>
  62.     <td height="81" colspan="5" align="center" valign="top"><textarea name="bumf" cols="50" rows="5"><%=bumf.getContent()%></textarea></td>
  63.   </tr>
  64.   <tr>
  65.     <td>&nbsp;</td>
  66.     <td><div align="left"><span class="style6">附件:
  67.           
  68.     </span></div></td>
  69. <td><span class="style4">
  70.   <%
  71. out.print(bumf.getAffix());
  72. session.setAttribute("msg",bumf.getAffix());
  73. %>
  74. </span></td>
  75.     <td width="27" height="18" colspan="2" >&nbsp;&nbsp;<a href="upload.jsp">
  76. </tr>
  77.   <tr>
  78.     <td colspan="5" align="center" ><input type="submit" name="Submit" value="处理完成" />
  79. &nbsp;&nbsp;<input type="hidden" name="bumfid" value="<%=bumf.getId()%>">&nbsp;&nbsp;
  80. <input type="submit" name="Submit" value="以后处理" /></td>
  81.     </tr>
  82. <%
  83. }
  84. }
  85. request.removeAttribute("msg");
  86. %>
  87. </form>
  88. </table>
  89. </body>
  90. </html>