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

电子政务应用

开发平台:

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="thingProcess" scope="application" class="com.vnex.intranet.archives.process.ThingProcess" />
  8. <%
  9. int archiveId = Integer.parseInt(request.getParameter("archiveId"));
  10. WritValueBean writBean = thingProcess.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.                               <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.getTopName()%> </td>
  52.                               </tr>
  53.                               <tr bgcolor="#e0e0e0"> 
  54.                                 <td width="24%"><strong>专业:</strong></td>
  55.                                 <td width="76%"> <%=writBean.getFileBef()%> </td>
  56.                               </tr>
  57.                               <tr bgcolor="#fafafa"> 
  58.                                 <td width="24%"><strong>名称:</strong></td>
  59.                                 <td width="76%"> <%=writBean.getTitle()%> </td>
  60.                               </tr>
  61.                               <tr bgcolor="#e0e0e0"> 
  62.                                 <td width="24%"><strong>获奖级别:</strong></td>
  63.                                 <td width="76%"> <%=writBean.getWordKey()%> </td>
  64.                               </tr>
  65.                               <tr bgcolor="#fafafa"> 
  66.                                 <td width="24%"><strong>发奖单位:</strong></td>
  67.                                 <td width="76%"> <%=writBean.getDep()%> </td>
  68.                               </tr>
  69.                               <tr bgcolor="#e0e0e0"> 
  70.                                 <td width="24%"> 
  71.                                   <div align="left"><strong>获奖时间:</strong></div>
  72.                                 </td>
  73.                                 <td width="76%"> 
  74.                                   <div align="left"> 
  75.                                     <%
  76. int wDate=writBean.getBuildDate();
  77. out.println(StringUtil.changeIntToString(wDate));
  78. %>
  79.                                   </div>
  80.                                 </td>
  81.                               </tr>
  82.                               <tr bgcolor="#fafafa"> 
  83.                                 <td width="24%"><strong>奖状(个):</strong></td>
  84.                                 <td width="76%"> 
  85.                                   <%
  86. if (writBean.getSaveDate()!=0)
  87.     out.println(writBean.getSaveDate());
  88. %>
  89.                                 </td>
  90.                               </tr>
  91.                               <tr bgcolor="#e0e0e0"> 
  92.                                 <td width="24%"> 
  93.                                   <div align="left"><strong>奖牌(个):</strong></div>
  94.                                 </td>
  95.                                 <td width="76%" bgcolor="#e0e0e0"> 
  96.                                   <%
  97. if (writBean.getBuildYear()!=0)
  98.     out.println(writBean.getBuildYear());
  99. %>
  100.                                 </td>
  101.                               </tr>
  102.                               <tr bgcolor="#fafafa"> 
  103.                                 <td width="24%"> 
  104.                                   <div align="left"><strong>证书(本):</strong></div>
  105.                                 </td>
  106.                                 <td width="76%" bgcolor="#fafafa"> <%
  107. if (writBean.getSecret()!=0)
  108.     out.println(writBean.getSecret());
  109. %></td>
  110.                               </tr>
  111.                               <tr bgcolor="#e0e0e0"> 
  112.                                 <td width="24%" bgcolor="#e0e0e0"><strong>附件:</strong></td>
  113.                                 <td width="76%"> 
  114.                                   <%
  115.   String str = writBean.getAttachment();
  116.   int s = str.lastIndexOf(SubPathGenerater.getSeperator());
  117.   String filename = str.substring(s+1);
  118.   String UTFurl = str.substring(0,s+1)+StringUtil.encode(filename);
  119.   out.println("<a href=""+UTFurl+"" target="_blank">");
  120.   out.println(filename);
  121.   out.println("</a>");
  122. %>
  123.                                 </td>
  124.                               </tr>
  125.                               <tr bgcolor="#fafafa"> 
  126.                                 <td width="24%"> 
  127.                                   <div align="left"><strong>备注:</strong></div>
  128.                                 </td>
  129.                                 <td width="76%"> 
  130.                                   <div align="left"> <%=writBean.getRemark()%> 
  131.                                   </div>
  132.                                 </td>
  133.                               </tr>
  134.                               <tr bgcolor="#fafafa"> 
  135.                                 <td colspan="2" align="center" height="30"> &nbsp; 
  136.                                   <input type="button" value="返回"  class="text" onClick="history.back()">
  137.                                 </td>
  138.                               </tr>
  139.                             </table>
  140.                          </td>
  141.                   </tr>
  142.                      
  143.                 </table>
  144.                     </td>
  145.                     </tr>
  146.                   </table>
  147.                 </td>
  148.              </tr>
  149.           </table>
  150.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  151.        </TD>
  152.      </TR>
  153.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  154.     </TBODY> 
  155.   </TABLE>
  156.     <BR>
  157.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  158. </form>
  159. </DIV>
  160. </BODY>
  161. </HTML>