person_writ_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.WritValueBean" %>
  7. <jsp:useBean id="writValue" scope="request" class="com.vnex.intranet.archives.value.WritValueBean" />
  8. <jsp:useBean id="writProcess" scope="application" class="com.vnex.intranet.archives.process.WritProcess" />
  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("writSession",writValue);
  16.   }
  17.   writValue = (WritValueBean)session.getAttribute("writSession");
  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/writDel";
  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;<a href="/mainctrl/personal/main"><font color="#ffffff">个人办公</font></a>&gt;&gt; 
  101.                             </font><font class="strongw">文书档案</font><font class="strongw">查询结果</font> 
  102.                           </td>
  103.                         </tr>
  104.                       </table>
  105.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  106.                   <tr bgcolor="#e0e0e0"> 
  107.                           <td colspan="4"> 
  108.                             <table class=title width="100%" border="0" cellpadding="2" cellspacing="1">
  109.                               <tr> 
  110.                                 <td colspan="3" height="30" bgcolor="#fafafa">&nbsp; 
  111.                                   <input type="button"  value="查询" class="file" onClick="location='/mainctrl/personWritSearch'">
  112.                                   &nbsp;&nbsp; </td>
  113.                               </tr>
  114.                               <tr align="center"> 
  115.                                 <td><font class="strong">所属卷号</font></td>
  116.                                 <td><font class="strong">内容摘要</font></td>
  117.                                 <td><font class="strong">文件日期</font></td>
  118.                               </tr>
  119.                               <archive:WritSearchList archiveCondition="<%=writValue%>"> 
  120.                               <vnex:items paging="true"> 
  121.                               <tr bgcolor="<vnex:itemsColor />" align="center"> 
  122.                                 <td > 
  123.                                   <div align="left"> <archive:WritAttribute attribute = "docName"/></div>
  124.                                 </td>
  125.                                 <td > 
  126.                                   <div align="left"><a href="/mainctrl/personWritDetail?archiveId=<archive:WritAttribute attribute = "archive_id"/>"><archive:WritAttribute attribute = "title"/></a></div>
  127.                                 </td>
  128.                                 <td ><archive:WritAttribute attribute = "buildDate"/></td>
  129.                               </tr>
  130.                               </vnex:items> 
  131.                               <tr> 
  132.                                 <td colspan="3" bgcolor="#fafafa">&nbsp;&nbsp;<vnex:pagingTag pageName="/mainctrl/personWritSearchResult?a" /> 
  133.                                 </td>
  134.                               </tr>
  135.                               </archive:WritSearchList> 
  136.                             </table>
  137.                           </td>
  138.                   </tr>
  139.                      
  140.                 </table>
  141.                     </td>
  142.                     </tr>
  143.                   </table>
  144.                 </td>
  145.              </tr>
  146.           </table>
  147.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  148.        </TD>
  149.      </TR>
  150.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  151.     </TBODY> 
  152.   </TABLE>
  153.     <BR>
  154.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  155. </form>
  156. </DIV>
  157. </BODY>
  158. </HTML>