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

电子政务应用

开发平台:

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.TecValueBean"%>
  6. <%@ page import="com.vnex.intranet.util.*"%>
  7. <jsp:useBean id="tecProcess" scope="application" class="com.vnex.intranet.archives.process.TecProcess" />
  8. <%
  9. int archiveId = Integer.parseInt(request.getParameter("archiveId"));
  10. TecValueBean writBean = tecProcess.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/tecIndex"><font color="#ffffff">科技档案</font></a>&gt;&gt; 
  38.                             科技档案详细信息</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.                               <tr bgcolor="#e0e0e0"> 
  46.                                 <td width="24%"><strong>案卷号</strong>:</td>
  47.                                 <td width="76%"> <%=writBean.getDocName()%> </td>
  48.                               </tr>
  49.                               <tr bgcolor="#fafafa"> 
  50.                                 <td width="24%"><strong>图号:</strong></td>
  51.                                 <td width="76%"> <%=writBean.getFileBef()%> </td>
  52.                               </tr>
  53.                               <tr bgcolor="#e0e0e0"> 
  54.                                 <td width="24%" height="23"><strong>内容摘要:</strong></td>
  55.                                 <td width="76%" height="23" bgcolor="#e0e0e0"> 
  56.                                   <%=writBean.getTitle()%> </td>
  57.                               </tr>
  58.                               <tr bgcolor="#fafafa"> 
  59.                                 <td width="24%"><strong>形成单位:</strong></td>
  60.                                 <td width="76%" bgcolor="#fafafa"> <%=writBean.getDep()%> 
  61.                                 </td>
  62.                               </tr>
  63.                               <tr bgcolor="#e0e0e0"> 
  64.                                 <td width="24%"> 
  65.                                   <div align="left"><strong>排架:</strong></div>
  66.                                 </td>
  67.                                 <td width="76%"> 
  68.                                   <div align="left"> <%=writBean.getShelf()%> 
  69.                                   </div>
  70.                                 </td>
  71.                               </tr>
  72.                               <tr bgcolor="#fafafa"> 
  73.                                 <td width="24%"><strong>图别:</strong></td>
  74.                                 <td width="76%"> <%=writBean.getWordKey()%> </td>
  75.                               </tr>
  76.                               <tr bgcolor="#e0e0e0"> 
  77.                                 <td width="24%"><strong>卷数:</strong></td>
  78.                                 <td width="76%"><%=writBean.getBuildMan()%></td>
  79.                               </tr>
  80.                               <tr bgcolor="#fafafa"> 
  81.                                 <td width="24%"> 
  82.                                   <div align="left"><strong>密级:</strong></div>
  83.                                 </td>
  84.                                 <td width="76%"> 
  85.                                   <%
  86. if (writBean.getSecret()==1)
  87.     out.println("一般");
  88. else if(writBean.getSecret()==2)
  89.     out.println("秘密");
  90. else if(writBean.getSecret()==3)
  91.     out.println("机密");
  92. else
  93.     out.println("绝密");
  94. %>
  95.                                 </td>
  96.                               </tr>
  97.                               <tr bgcolor="#e0e0e0"> 
  98.                                 <td width="24%" > 
  99.                                   <div align="left"><strong>文字(本):</strong></div>
  100.                                 </td>
  101.                                 <td width="76%" > 
  102.                                   <div align="left"> <%=writBean.getTopName()%> 
  103.                                   </div>
  104.                                 </td>
  105.                               </tr>
  106.                               <tr bgcolor="#fafafa"> 
  107.                                 <td width="24%"><strong>蓝图(张):</strong></td>
  108.                                 <td width="76%"> 
  109.                                   <%
  110. if(writBean.getFileNum()!=0)
  111.     out.println(writBean.getFileNum());
  112. %>
  113.                                 </td>
  114.                               </tr>
  115.                               <tr bgcolor="#e0e0e0"> 
  116.                                 <td width="24%"><strong>保管期限:</strong></td>
  117.                                 <td width="76%"> 
  118.                                   <%
  119. if (writBean.getSaveDate()==1)
  120.     out.println("短期");
  121. else if(writBean.getSaveDate()==2)
  122.     out.println("长期");
  123. else
  124.     out.println("永久");
  125. %>
  126.                                 </td>
  127.                               </tr>
  128.                               <tr bgcolor="#fafafa"> 
  129.                                 <td width="24%"> 
  130.                                   <div align="left"><strong>形成日期:</strong></div>
  131.                                 </td>
  132.                                 <td width="76%" bgcolor="#fafafa"> 
  133.                                   <div align="left"> 
  134.                                     <%
  135. int wDate=writBean.getBuildDate();
  136. out.println(StringUtil.changeIntToString(wDate));
  137. %>
  138.                                   </div>
  139.                                 </td>
  140.                               </tr>
  141.                               <tr bgcolor="#e0e0e0"> 
  142.                                 <td width="24%"> 
  143.                                   <div align="left"><strong>归档日期:</strong></div>
  144.                                 </td>
  145.                                 <td width="76%"> <%=StringUtil.changeIntToString(writBean.getBuildYear())%></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%"> 
  163.                                   <div align="left"><strong>备注:</strong></div>
  164.                                 </td>
  165.                                 <td width="76%"> 
  166.                                   <div align="left"> <%=writBean.getRemark()%> 
  167.                                   </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="location='/mainctrl/tecModify?archiveId=<%=writBean.getArchiveId()%>'">
  173.                                   &nbsp;&nbsp; 
  174.                                   <input type="button" value="借出"  class="text" onClick="location='/mainctrl/borrowValidate?type=2&archiveId=<%=writBean.getArchiveId()%>'">
  175.                                   &nbsp;&nbsp; 
  176.                                   <input type="button" value="返回"  class="text" onClick="history.back()">
  177.                                 </td>
  178.                               </tr>
  179.                             </table>
  180.                             </td>
  181.                   </tr>
  182.                      
  183.                 </table>
  184.                     </td>
  185.                     </tr>
  186.                   </table>
  187.                 </td>
  188.              </tr>
  189.           </table>
  190.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  191.        </TD>
  192.      </TR>
  193.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  194.     </TBODY> 
  195.   </TABLE>
  196.     <BR>
  197.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  198. </form>
  199. </DIV>
  200. </BODY>
  201. </HTML>