elc_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="elcProcess" scope="application" class="com.vnex.intranet.archives.process.ElcProcess" />
  8. <%
  9. int archiveId = Integer.parseInt(request.getParameter("archiveId"));
  10. WritValueBean writBean = elcProcess.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/archiveFileIn"><font color="#ffffff">档案管理</font></a>&gt;&gt;<a href="/mainctrl/elcIndex"><font color="#ffffff">电子档案</font></a>&gt;&gt;电子档案详细信息</font></td>
  38.                         </tr>
  39.                       </table>
  40.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  41.                   <tr bgcolor="#e0e0e0"> 
  42.                           <td colspan="4"> 
  43.                             <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  44.                               <!--
  45.   <tr bgcolor="#fafafa"> 
  46.                                 <td width="24%" > 
  47.                                   <div align="left"><strong>全综号:</strong></div>
  48.                                 </td>
  49.                                 <td width="76%" > 
  50.                                   <div align="left"> 
  51. <%=writBean.getTopName()%>                                  </div>
  52.                                 </td>
  53.                               </tr>
  54.   -->
  55.                               <tr bgcolor="#e0e0e0"> 
  56.                                 <td width="27%"><strong>案卷号</strong>:</td>
  57.                                 <td width="73%" bgcolor="#e0e0e0"> <%=writBean.getDocName()%> 
  58.                                 </td>
  59.                               </tr>
  60.                               <tr bgcolor="#fafafa"> 
  61.                                 <td width="27%"><strong>电子文档类型:</strong></td>
  62.                                 <td width="73%" bgcolor="#fafafa"> <%=writBean.getFileBef()%> 
  63.                                 </td>
  64.                               </tr>
  65.                               <tr bgcolor="#e0e0e0"> 
  66.                                 <td width="27%"><strong>电子档案:</strong></td>
  67.                                 <td width="73%"> 
  68.                                   <%
  69.   String str = writBean.getAttachment();
  70.   int s = str.lastIndexOf(SubPathGenerater.getSeperator());
  71.   String filename = str.substring(s+1);
  72.   String UTFurl = str.substring(0,s+1)+StringUtil.encode(filename);
  73.   out.println("<a href=""+UTFurl+"" target="_blank">");
  74.   out.println(filename);
  75.   out.println("</a>");
  76. %>
  77.                                 </td>
  78.                               </tr>
  79.                               <tr bgcolor="#fafafa"> 
  80.                                 <td width="27%"><strong>电子文档标题:</strong></td>
  81.                                 <td width="73%"> <%=writBean.getTitle()%> </td>
  82.                               </tr>
  83.                               <tr bgcolor="#e0e0e0"> 
  84.                                 <td width="27%"><strong>文件作者:</strong></td>
  85.                                 <td width="73%"> <%=writBean.getDep()%> </td>
  86.                               </tr>
  87.                               <tr bgcolor="#fafafa"> 
  88.                                 <td width="27%"> 
  89.                                   <div align="left"><strong>文件日期:</strong></div>
  90.                                 </td>
  91.                                 <td width="73%"> 
  92.                                   <div align="left"> 
  93.                                     <%
  94. int wDate=writBean.getBuildDate();
  95. out.println(StringUtil.changeIntToString(wDate));
  96. %>
  97.                                   </div>
  98.                                 </td>
  99.                               </tr>
  100.                               <tr bgcolor="#e0e0e0"> 
  101.                                 <td width="27%"><strong>保管期限:</strong></td>
  102.                                 <td width="73%"> 
  103.                                   <%
  104. if (writBean.getSaveDate()==1)
  105.     out.println("短期");
  106. else if(writBean.getSaveDate()==2)
  107.     out.println("长期");
  108. else
  109.     out.println("永久");
  110. %>
  111.                                 </td>
  112.                               </tr>
  113.                               <tr bgcolor="#fafafa"> 
  114.                                 <td width="27%"> 
  115.                                   <div align="left"><strong>密级:</strong></div>
  116.                                 </td>
  117.                                 <td width="73%"> 
  118.                                   <%
  119. if (writBean.getSecret()==1)
  120.     out.println("一般");
  121. else if(writBean.getSecret()==2)
  122.     out.println("秘密");
  123. else if(writBean.getSecret()==3)
  124.     out.println("机密");
  125. else
  126.     out.println("绝密");
  127. %>
  128.                                 </td>
  129.                               </tr>
  130.                               <tr bgcolor="#e0e0e0"> 
  131.                                 <td width="27%"><strong>主题词:</strong></td>
  132.                                 <td width="73%"> <%=writBean.getWordKey()%> </td>
  133.                               </tr>
  134.                               <tr bgcolor="#fafafa"> 
  135.                                 <td width="27%"> 
  136.                                   <div align="left"><strong>年度:</strong></div>
  137.                                 </td>
  138.                                 <td width="73%"> <%=writBean.getBuildYear()%>年 
  139.                                 </td>
  140.                               </tr>
  141.                               <tr bgcolor="#e0e0e0"> 
  142.                                 <td width="27%" bgcolor="#e0e0e0"> 
  143.                                   <div align="left"><strong>备注:</strong></div>
  144.                                 </td>
  145.                                 <td width="73%"> 
  146.                                   <div align="left"> <%=writBean.getRemark()%> 
  147.                                   </div>
  148.                                 </td>
  149.                               </tr>
  150.                               <tr bgcolor="#fafafa"> 
  151.                                 <td colspan="2" align="center" height="30"> 
  152.                                   <input type="button" value="修改"  class="text" onClick="location='/mainctrl/elcModify?archiveId=<%=writBean.getArchiveId()%>'">
  153.                                   &nbsp;&nbsp; 
  154.                                   <input type="button" value="借出"  class="text" onClick="location='/mainctrl/borrowValidate?type=4&archiveId=<%=writBean.getArchiveId()%>'">
  155.                                   &nbsp;&nbsp; 
  156.                                   <input type="button" value="返回"  class="text" onClick="history.back()">
  157.                                 </td>
  158.                               </tr>
  159.                             </table>
  160.                             </td>
  161.                   </tr>
  162.                      
  163.                 </table>
  164.                     </td>
  165.                     </tr>
  166.                   </table>
  167.                 </td>
  168.              </tr>
  169.           </table>
  170.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  171.        </TD>
  172.      </TR>
  173.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  174.     </TBODY> 
  175.   </TABLE>
  176.     <BR>
  177.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  178. </form>
  179. </DIV>
  180. </BODY>
  181. </HTML>