person_writ_detail.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:9k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page import="java.lang.*"%>
  2. <%@ page import="java.sql.*"%>
  3. <%@ page import="java.util.*"%>
  4. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  5. <%@ page import="com.vnex.intranet.archives.value.WritValueBean"%>
  6. <%@ page import="com.vnex.intranet.util.*"%>
  7. <jsp:useBean id="writProcess" scope="application" class="com.vnex.intranet.archives.process.WritProcess" />
  8. <%
  9. int archiveId = Integer.parseInt(request.getParameter("archiveId"));
  10. WritValueBean writBean = writProcess.selectArchiveRow(archiveId);
  11. %>
  12. <HTML>
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  14. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  15. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  16. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
  17. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  18. <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
  19. <script language="javascript" src="/vnex/util/strUtil.js"></script>
  20. <DIV align=center>
  21. <form name="form1" method="post" >
  22.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  23.     <TBODY> 
  24.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  25.       <TR> 
  26.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  27.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  28.             <tr valign="top"> 
  29.               <td bgcolor="#fafafa" > 
  30.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  31.                   <tr valign="top" bgcolor="#cccccc"> 
  32.                     <td> 
  33.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  34.                         <tr bgcolor="#666666"> 
  35.                             
  36.                           <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt; 
  37.                             <a href="/mainctrl/personal/main"><font color="#ffffff">个人办公</font></a>&gt;&gt; 
  38.                             </font><font class="strongw">文书档案详细信息</font></td>
  39.                         </tr>
  40.                       </table>
  41.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  42.                   <tr bgcolor="#e0e0e0"> 
  43.                           <td colspan="4"> 
  44.                             <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  45.                               <!--
  46.   <tr bgcolor="#fafafa"> 
  47.                                 <td width="24%" > 
  48.                                   <div align="left"><strong>全综号:</strong></div>
  49.                                 </td>
  50.                                 <td width="76%" > 
  51.                                   <div align="left"> 
  52. <%=writBean.getTopName()%>                                  </div>
  53.                                 </td>
  54.                               </tr>
  55.   -->
  56.                               <tr bgcolor="#e0e0e0"> 
  57.                                 <td width="24%"><strong>所属卷号</strong>:</td>
  58.                                 <td width="76%"> 
  59. <%=writBean.getDocName()%>                                </td>
  60.                               </tr>
  61.                               <tr bgcolor="#fafafa"> 
  62.                                 <td width="24%"><strong>文件发文号:</strong></td>
  63.                                 <td width="76%"> 
  64. <%=writBean.getFileBef()%>                                </td>
  65.                               </tr>
  66.                               <tr bgcolor="#e0e0e0"> 
  67.                                 <td width="24%"><strong>内容摘要:</strong></td>
  68.                                 <td width="76%"> 
  69. <%=writBean.getTitle()%>                                </td>
  70.                               </tr>
  71.                               <tr bgcolor="#fafafa"> 
  72.                                 <td width="24%"><strong>文件作者:</strong></td>
  73.                                 <td width="76%"> 
  74. <%=writBean.getDep()%>                                </td>
  75.                               </tr>
  76.                               <tr bgcolor="#e0e0e0"> 
  77.                                 <td width="24%"> 
  78.                                   <div align="left"><strong>文件日期:</strong></div>
  79.                                 </td>
  80.                                 <td width="76%"> 
  81.                                   <div align="left">
  82. <%
  83. int wDate=writBean.getBuildDate();
  84. out.println(StringUtil.changeIntToString(wDate));
  85. %> 
  86.                                   </div>
  87.                                 </td>
  88.                               </tr>
  89.                               <tr bgcolor="#fafafa"> 
  90.                                 <td width="24%"><strong>保管期限:</strong></td>
  91.                                 <td width="76%"> 
  92. <%
  93. if (writBean.getSaveDate()==1)
  94.     out.println("短期");
  95. else if(writBean.getSaveDate()==2)
  96.     out.println("长期");
  97. else
  98.     out.println("永久");
  99. %>
  100.                                 </td>
  101.                               </tr>
  102.                               <tr bgcolor="#e0e0e0"> 
  103.                                 <td width="24%"> 
  104.                                   <div align="left"><strong>密级:</strong></div>
  105.                                 </td>
  106.                                 <td width="76%">
  107. <%
  108. if (writBean.getSecret()==1)
  109.     out.println("一般");
  110. else if(writBean.getSecret()==2)
  111.     out.println("秘密");
  112. else if(writBean.getSecret()==3)
  113.     out.println("机密");
  114. else
  115.     out.println("绝密");
  116. %>
  117. </td>
  118.                               </tr>
  119.                               <tr bgcolor="#fafafa"> 
  120.                                 <td width="24%"><strong>卷内份数:</strong></td>
  121.                                 <td width="76%"> 
  122. <%
  123. if(writBean.getFileNum()!=0)
  124.     out.println(writBean.getFileNum());
  125. %>                                </td>
  126.                               </tr>
  127.                               <tr bgcolor="#e0e0e0"> 
  128.                                 <td width="24%"><strong>主题词:</strong></td>
  129.                                 <td width="76%"> 
  130. <%=writBean.getWordKey()%>                                </td>
  131.                               </tr>
  132.                               <tr bgcolor="#fafafa"> 
  133.                                 <td width="24%"> 
  134.                                   <div align="left"><strong>年度:</strong></div>
  135.                                 </td>
  136.                                 <td width="76%"> <%=writBean.getBuildYear()%>年 </td>
  137.                               </tr>
  138.                               <tr bgcolor="#e0e0e0"> 
  139.                                 <td width="24%"> 
  140.                                   <div align="left"><strong>排架:</strong></div>
  141.                                 </td>
  142.                                 <td width="76%"> 
  143.                                   <div align="left"> 
  144. <%=writBean.getShelf()%>                                  </div>
  145.                                 </td>
  146.                               </tr>
  147.                               <tr bgcolor="#fafafa"> 
  148.                                 <td width="24%"><strong>附件:</strong></td>
  149.                                 <td width="76%">
  150. <%
  151.   String str = writBean.getAttachment();
  152.   int s = str.lastIndexOf(SubPathGenerater.getSeperator());
  153.   String filename = str.substring(s+1);
  154.   String UTFurl = str.substring(0,s+1)+StringUtil.encode(filename);
  155.   out.println("<a href=""+UTFurl+"" target="_blank">");
  156.   out.println(filename);
  157.   out.println("</a>");
  158. %>
  159.                                </td>
  160.                               </tr>
  161.                               <tr bgcolor="#e0e0e0"> 
  162.                                 <td width="24%" bgcolor="#e0e0e0"> 
  163.                                   <div align="left"><strong>备注:</strong></div>
  164.                                 </td>
  165.                                 <td width="76%"> 
  166.                                   <div align="left"> 
  167. <%=writBean.getRemark()%>                                  </div>
  168.                                 </td>
  169.                               </tr>
  170.                               <tr bgcolor="#fafafa"> 
  171.                                 <td colspan="2" align="center" height="30"> 
  172.                                   <input type="button" value="返回"  class="text" onClick="history.back()">
  173.                                 </td>
  174.                               </tr>
  175.                             </table>
  176.                             </td>
  177.                   </tr>
  178.                      
  179.                 </table>
  180.                     </td>
  181.                     </tr>
  182.                   </table>
  183.                 </td>
  184.              </tr>
  185.           </table>
  186.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  187.        </TD>
  188.      </TR>
  189.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  190.     </TBODY> 
  191.   </TABLE>
  192.     <BR>
  193.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  194. </form>
  195. </DIV>
  196. </BODY>
  197. </HTML>