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

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
  2. <%@ include file="../hear/hear.jsp"%>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  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. font-size: 16px;
  13. color: #000000;
  14. font-weight: bold;
  15. }
  16. .style2 {color: #CA0000}
  17. -->
  18. </style>
  19. </head>
  20. <body bgcolor="#FFFFDF">
  21. <table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
  22.   <tr>
  23.     <td width="77%" height="23" colspan="6" align="center" background="../KCM/zs.gif" class="advise style1">发送公文</td>
  24.   </tr>
  25. </table>
  26. <table width="780" height="178" align="center" cellpadding="0" cellspacing="0">
  27. <form action="save" method="post" name="form1" id="form1" enctype="multipart/form-data" onsubmit="return bumfs()">
  28. <%
  29. Collection coll=(Collection)request.getAttribute("msg");
  30. if(coll==null){
  31. out.print("您的网页已过期请重新登录");
  32. }else{
  33. Iterator it=coll.iterator();
  34. if(it.hasNext()){
  35. Bumf bumf=(Bumf)it.next();
  36. %>
  37.   <tr>
  38.     <td width="160" align="left" bgcolor="#FFFFFF" >
  39.       <div align="right">        </div></td>
  40.     <td width="179" height="21" align="left" bgcolor="#FFFFFF" ><input name="bumfid" type="hidden" value="<%=bumf.getId()%>" />      <span class="style2">公文第[<%=bumf.getId()%>]字号</span>&nbsp;&nbsp;        <div align="center">      </div></td>
  41.     <td width="82" align="center" bgcolor="#FFFFFF" class="column" >
  42. <%
  43. String ok=(String)request.getAttribute("ok");
  44. if(ok!=null){
  45. out.print(ok);
  46. }
  47. request.removeAttribute("ok");
  48. %>
  49. &nbsp;</td>
  50.   </tr>
  51.   <tr>
  52.     <td bgcolor="#FFFFFF"><div align="right">标&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;题:</div></td>
  53.      <td bgcolor="#FFFFFF">
  54.        <div align="left">
  55.          <input name="title" type="text" value="<%=bumf.getTitle()%>" size="15" />
  56.       </div></td>
  57.     <td height="16" colspan="3" align="center" bgcolor="#FFFFFF" ><div align="left">
  58. </div></td>
  59.     </tr>
  60.   <tr>
  61.     <td bgcolor="#FFFFFF"><div align="right">接收人序号:</div></td>
  62.     <td bgcolor="#FFFFFF">
  63.       <div align="left">
  64.         <input name="emid" type="text" value="<%=bumf.getAccepter()%>" size="15" />
  65.       </div></td>
  66.     <td height="16" colspan="3" align="center" bgcolor="#FFFFFF" ><div align="left">
  67.     </div></td>
  68.   </tr>
  69.   <tr>
  70.     <td bgcolor="#FFFFFF"><div align="right">附&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;件:</div></td>
  71.     <td bgcolor="#FFFFFF">
  72.       <div align="left">
  73.         <input name="file" type="file"  value="<%=bumf.getAffix()%>" size="15"/>
  74.       </div></td>
  75.     <td height="21" colspan="3" align="center" bgcolor="#FFFFFF" >
  76.       <div align="left">      </div></td>
  77.   </tr>
  78.   <tr>
  79.     <td bgcolor="#FFFFFF"><div align="right">内&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;容:</div></td>
  80.     <td height="81" colspan="5" align="center" valign="top" bgcolor="#FFFFFF">
  81.         <div align="left">
  82.           <textarea name="bumf" cols="35" rows="5"><%=bumf.getContent()%></textarea>
  83.       </div></td>
  84.   </tr>
  85.   <tr>
  86.     <td height="21" colspan="5" align="center" bgcolor="#FFFFFF" >
  87.       <div align="center">
  88.         <input type="submit" name="Submit" value="现在发送" />
  89. &nbsp;&nbsp;&nbsp;
  90.   <input type="submit" name="Submit" value="暂时保存" /> 
  91.       </div>    </tr>
  92. <%
  93. }
  94. }
  95. request.removeAttribute("msg");
  96. %>
  97. </form>
  98. </table>
  99. </body>
  100. </html>