- <%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
- <%@ include file="../hear/hear.jsp"%>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <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 {
- font-size: 16px;
- color: #000000;
- font-weight: bold;
- }
- .style2 {color: #CA0000}
- -->
- </style>
- </head>
- <body bgcolor="#FFFFDF">
- <table width="780" height="25" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="77%" height="23" colspan="6" align="center" background="../KCM/zs.gif" class="advise style1">发送公文</td>
- </tr>
- </table>
- <table width="780" height="178" align="center" cellpadding="0" cellspacing="0">
- <form action="save" method="post" name="form1" id="form1" enctype="multipart/form-data" onsubmit="return bumfs()">
- <%
- Collection coll=(Collection)request.getAttribute("msg");
- if(coll==null){
- out.print("您的网页已过期请重新登录");
- }else{
- Iterator it=coll.iterator();
- if(it.hasNext()){
- Bumf bumf=(Bumf)it.next();
- %>
- <tr>
- <td width="160" align="left" bgcolor="#FFFFFF" >
- <div align="right"> </div></td>
- <td width="179" height="21" align="left" bgcolor="#FFFFFF" ><input name="bumfid" type="hidden" value="<%=bumf.getId()%>" /> <span class="style2">公文第[<%=bumf.getId()%>]字号</span> <div align="center"> </div></td>
- <td width="82" align="center" bgcolor="#FFFFFF" class="column" >
- <%
- String ok=(String)request.getAttribute("ok");
- if(ok!=null){
- out.print(ok);
- }
- request.removeAttribute("ok");
- %>
- </td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="right">标 题:</div></td>
- <td bgcolor="#FFFFFF">
- <div align="left">
- <input name="title" type="text" value="<%=bumf.getTitle()%>" size="15" />
- </div></td>
- <td height="16" colspan="3" align="center" bgcolor="#FFFFFF" ><div align="left">
- </div></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="right">接收人序号:</div></td>
- <td bgcolor="#FFFFFF">
- <div align="left">
- <input name="emid" type="text" value="<%=bumf.getAccepter()%>" size="15" />
- </div></td>
- <td height="16" colspan="3" align="center" bgcolor="#FFFFFF" ><div align="left">
- </div></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="right">附 件:</div></td>
- <td bgcolor="#FFFFFF">
- <div align="left">
- <input name="file" type="file" value="<%=bumf.getAffix()%>" size="15"/>
- </div></td>
- <td height="21" colspan="3" align="center" bgcolor="#FFFFFF" >
- <div align="left"> </div></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"><div align="right">内 容:</div></td>
- <td height="81" colspan="5" align="center" valign="top" bgcolor="#FFFFFF">
- <div align="left">
- <textarea name="bumf" cols="35" rows="5"><%=bumf.getContent()%></textarea>
- </div></td>
- </tr>
- <tr>
- <td height="21" colspan="5" align="center" bgcolor="#FFFFFF" >
- <div align="center">
- <input type="submit" name="Submit" value="现在发送" />
-
- <input type="submit" name="Submit" value="暂时保存" />
- </div> </tr>
- <%
- }
- }
- request.removeAttribute("msg");
- %>
- </form>
- </table>
- </body>
- </html>