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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.TimeStamp" %>
  3. <%@ page import="java.lang.*" %>
  4. <%@ page import="java.sql.*" %>
  5. <%@ page import="java.util.*" %>
  6. <%@ page import="com.vnex.intranet.archives.value.TecValueBean" %>
  7. <jsp:useBean id="writValue" scope="request" class="com.vnex.intranet.archives.value.TecValueBean" />
  8. <jsp:useBean id="tecProcess" scope="application" class="com.vnex.intranet.archives.process.TecProcess" />
  9. <jsp:setProperty name="writValue" property="*" />
  10. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  11. <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
  12. <%
  13. if(request.getParameter("start")==null)
  14.   {
  15.     session.setAttribute("tecSession",writValue);
  16.   }
  17.   writValue = (TecValueBean)session.getAttribute("tecSession");
  18. %>
  19. <HTML>
  20. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  21. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  22. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  23. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
  24. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  25. <script language="JavaScript" src="/vnex/util/strUtil.js"></script>    
  26. <script language=javascript>
  27. function checkAll(checkbox_select,checkbox_names)
  28. {
  29.       var items=checkbox_names.length;
  30.       if(items>1)
  31.         {
  32.          for(i=0;i<items;i++) 
  33.            if(!checkbox_names[i].disabled)
  34.              checkbox_names[i].checked=checkbox_select.checked;      
  35.         }
  36.       else
  37.        {
  38.           if(!checkbox_names.disabled)
  39.             checkbox_names.checked=checkbox_select.checked;
  40.        }
  41. }
  42. function toDelete(form)
  43. {
  44. if(form.check1 == null)
  45. {
  46.    alert("目前尚未有数据可供删除");
  47.    return;
  48. }
  49. var items=form.check1.length; 
  50. var j = -1;
  51. var sign = 1;
  52. if (items>1)
  53. {
  54. for (i=0;i < items;i++)
  55. if (form.check1[i].checked)
  56. j = i;
  57. }
  58. if (j == -1)
  59. {
  60. alert ("没有可供删除的选项!" );
  61. sign = 0;
  62. }
  63. }
  64. else
  65. {
  66. if (form.check1.checked)
  67. sign = 1;
  68. else
  69. {
  70. alert ("没有可供删除的选项!" );
  71. sign = 0
  72. }
  73. }
  74. if (sign == 1)
  75. {
  76. if(confirm("是否删除所选记录?"))
  77. {
  78.   form.action= "/mainctrl/tecDel";
  79.   form.submit();
  80. }  
  81. }
  82. }  
  83. </script>
  84. <DIV align=center>
  85. <form name="form1" method="post">
  86.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  87.     <TBODY> 
  88.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  89.       <TR> 
  90.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  91.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  92.             <tr valign="top"> 
  93.               <td bgcolor="#fafafa" > 
  94.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  95.                   <tr valign="top" bgcolor="#cccccc"> 
  96.                     <td> 
  97.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  98.                         <tr bgcolor="#666666"> 
  99.                             
  100.                           <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt; 
  101.                             <a href="/mainctrl/personal/main"><font color="#ffffff">个人办公</font></a>&gt;&gt; 
  102.                             </font><font class="strongw">科技档案</font><font class="strongw">查询结果</font> 
  103.                           </td>
  104.                         </tr>
  105.                       </table>
  106.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  107.                   <tr bgcolor="#e0e0e0"> 
  108.                           <td colspan="4"> 
  109.                             <table class=title width="100%" border="0" cellpadding="2" cellspacing="1">
  110.                               <tr> 
  111.                                 <td colspan="4" height="30" bgcolor="#fafafa">&nbsp; 
  112.                                   &nbsp; 
  113.                                   <input type="button"  value="查询" class="text" onClick="location='/mainctrl/personTecSearch'">
  114.                                   &nbsp;&nbsp; </td>
  115.                               </tr>
  116.                               <tr align="center"> 
  117.                                 <td width="7%">&nbsp;</td>
  118.                                 <td><font class="strong">案卷号</font></td>
  119.                                 <td><font class="strong">内容摘要</font></td>
  120.                                 <td><font class="strong">形成日期</font></td>
  121.                               </tr>
  122.                               <archive:TecSearchList archiveCondition="<%=writValue%>"> 
  123.                               <vnex:items paging="true"> 
  124.                               <tr bgcolor="<vnex:itemsColor />" align="center"> 
  125.                                 <td width="7%" >&nbsp; </td>
  126.                                 <td > 
  127.                                   <div align="left"> <archive:TecAttribute attribute = "docName"/></div>
  128.                                 </td>
  129.                                 <td > 
  130.                                   <div align="left"><a href="/mainctrl/personTecDetail?archiveId=<archive:TecAttribute attribute = "archive_id"/>"><archive:TecAttribute attribute = "title"/></a></div>
  131.                                 </td>
  132.                                 <td ><archive:TecAttribute attribute = "buildDate"/></td>
  133.                               </tr>
  134.                               </vnex:items> 
  135.                               <tr> 
  136.                                 <td colspan="4" bgcolor="#fafafa">&nbsp;&nbsp;<vnex:pagingTag pageName="/mainctrl/tecSearchResult?a" /> 
  137.                                 </td>
  138.                               </tr>
  139.                               </archive:TecSearchList> 
  140.                             </table>
  141.                           </td>
  142.                   </tr>
  143.                      
  144.                 </table>
  145.                     </td>
  146.                     </tr>
  147.                   </table>
  148.                 </td>
  149.              </tr>
  150.           </table>
  151.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  152.        </TD>
  153.      </TR>
  154.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  155.     </TBODY> 
  156.   </TABLE>
  157.     <BR>
  158.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  159. </form>
  160. </DIV>
  161. </BODY>
  162. </HTML>