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

电子政务应用

开发平台:

Java

  1. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  2. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  3. <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
  4. <%
  5. session.removeAttribute("archiveCondition");
  6. %>
  7. <HTML>
  8. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  9. <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
  10. <script language="JavaScript" src="/vnex/util/validate.js"></script>
  11. <script language=JavaScript>
  12. function isDateValid(form)
  13. {
  14. if (form.saveTime.value.length >0 && form.saveEndTime.value.length >0)
  15. {
  16. if (form.saveTime.value > form.saveEndTime.value)
  17. {
  18. alert("存档日期查询条件开始时间不能在结束时间之后!");
  19. return false;
  20. }
  21. }
  22. if (form.createTime.value.length >0 && form.createEndTime.value.length >0)
  23. {
  24. if (form.createTime.value > form.createEndTime.value)
  25. {
  26. alert("发文日期查询条件开始时间不能在结束时间之后!");
  27. return false;
  28. }
  29. }
  30. if (includeInvalid(form.archiveDisplayId.value))
  31. {
  32. alert("存档编号包括非法字符’" );
  33. return false;
  34. }
  35. if (includeInvalid(form.archiveTitle.value))
  36. {
  37. alert("标题中包括非法字符’" );
  38. return false;
  39. }
  40. if (includeInvalid(form.archiveKeyword.value))
  41. {
  42. alert("主题词中包括非法字符’" );
  43. return false;
  44. }
  45. return true;
  46. }
  47. function includeInvalid(str)
  48. {
  49. if (str.indexOf("'") == -1)
  50. {
  51. return false;
  52. }
  53. else
  54. {
  55. return true;
  56. }
  57. }
  58. function toSearch(form)
  59. {
  60. if (! isDateValid(form))
  61. return false;
  62. else
  63. {
  64. form.action = "/mainctrl/archive/personalArchivesSearchResult"
  65. form.submit();
  66. }
  67. }
  68. </script>
  69. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  70. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  71. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  72. <DIV align=center>
  73. <form name="form1" method="post" action="" >
  74.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  75.     <TBODY> 
  76.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  77.       <TR> 
  78.         <TD colSpan=3 align="center"><br>
  79.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  80.             <tr> 
  81.               <td align="center" colspan="2" bgcolor="#FFFFFF"> 
  82.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  83.                   <tr bgcolor="#666666"> 
  84.                       <td colspan="2"><font class="strongw">
  85.                       <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;
  86.                       <a href="/mainctrl/personal/main"><font color="#ffffff">个人办公</font></a>&gt;&gt;
  87.                       查询档案</font>
  88.                   </tr>
  89.                 </table>
  90.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  91.                   <tr bgcolor="#e0e0e0"> 
  92.                     <td width="15%"> 
  93.                       <div align="left"><b><font class="strong">&nbsp;档案编号:</font></b></div>
  94.                     </td>
  95.                     <td width="62%"> 
  96.                       <div align="left"> 
  97.                         <input size="32" name="archiveDisplayId" class="text">
  98.                       </div>
  99.                     </td>
  100.                   </tr>
  101.                   <tr bgcolor="#fafafa"> 
  102.                     <td width="15%"> 
  103.                       <div align="left"><b><font class="strong">&nbsp;存档日期:</font></b></div>
  104.                     </td>
  105.                     <td width="62%"> 
  106.                       <div align="left"> 
  107.                         <input type="text" name="saveTime" readonly size="32" class="text">
  108.                         <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择存档起始日期" onClick="fPopUpCalendarDlg(saveTime);return false"> 
  109.                       </div>
  110.                     </td>
  111.                   </tr>
  112.                   <tr bgcolor="#e0e0e0"> 
  113.                     <td width="15%"> 
  114.                       <div align="left"><b><font class="strong">&nbsp;至:</font></b></div>
  115.                     </td>
  116.                     <td width="62%"> 
  117.                       <div align="left"> 
  118.                         <input type="text" name="saveEndTime" readonly size="32" class="text">
  119.                         <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择存档截止日期" onClick="fPopUpCalendarDlg(saveEndTime);return false"> 
  120.                       </div>
  121.                     </td>
  122.                   </tr>
  123.                   <tr bgcolor="#fafafa"> 
  124.                     <td width="15%"> 
  125.                       <div align="left"><b><font class="strong">&nbsp;标题:</font></b></div>
  126.                     </td>
  127.                     <td width="62%"> 
  128.                       <div align="left"> 
  129.                         <input size="32" name="archiveTitle" class="text">
  130.                       </div>
  131.                     </td>
  132.                   </tr>
  133.                   <tr bgcolor="#e0e0e0"> 
  134.                     <td width="15%"> 
  135.                       <div align="left"><b><font class="strong">&nbsp;主题词:</font></b></div>
  136.                     </td>
  137.                     <td width="62%"> 
  138.                       <div align="left"> 
  139.                         <input size="32" name="archiveKeyword" class="text">
  140.                       </div>
  141.                     </td>
  142.                   </tr>
  143.                   <tr bgcolor="#fafafa"> 
  144.                     <td width="15%"> 
  145.                       <div align="left"><b><font class="strong">&nbsp;发文日期:</font></b></div>
  146.                     </td>
  147.                     <td width="62%"> 
  148.                       <div align="left"> 
  149.                         <input type="text" name="createTime" readonly size="32" class="text">
  150.                         <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择档案创建起始日期" onClick="fPopUpCalendarDlg(createTime);return false"> 
  151.                       </div>
  152.                     </td>
  153.                   </tr>
  154.                   <tr bgcolor="#e0e0e0"> 
  155.                     <td width="15%"> 
  156.                       <div align="left"><b><font class="strong">&nbsp;至:</font></b></div>
  157.                     </td>
  158.                     <td width="62%"> 
  159.                       <div align="left"> 
  160.                         <input type="text" name="createEndTime" readonly size="32" class="text">
  161.                         <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择档案创建截止日期" onClick="fPopUpCalendarDlg(createEndTime);return false"> 
  162.                       </div>
  163.                     </td>
  164.                   </tr>
  165.                   <tr bgcolor="#fafafa"> 
  166.                     <td width="15%"> 
  167.                       <div align="left"><b><font class="strong">&nbsp;文件来源:</font></b></div>
  168.                     </td>
  169.                     <td width="62%"> 
  170.                       <div align="left"> 
  171.                         <select name="fileSourceId" size="1">
  172.                           <archive:fileSourceTag /> 
  173.                         </select>
  174.                       </div>
  175.                     </td>
  176.                   </tr>
  177.                   <tr bgcolor="#e0e0e0"> 
  178.                     <td width="15%"> 
  179.                       <div align="left"><b><font class="strong">&nbsp;安全级别:</font></b></div>
  180.                     </td>
  181.                     <td width="62%"> 
  182.                       <div align="left"> 
  183.                         <select size="1" name="safetyLevel">
  184.                           <option selected value = -1>请选择</option>
  185.                           <option>5</option>
  186.                           <option>4</option>
  187.                           <option>3</option>
  188.                           <option>2</option>
  189.                           <option>1</option>
  190.                         </select>
  191.                       </div>
  192.                     </td>
  193.                   </tr>
  194.                   <input type="hidden" name="attachment[]" >
  195.                   <tr bgcolor="#fafafa" height="30"> 
  196.                     <td colspan="2" align="center"> 
  197.                       <input type="button" value="查询" name="B21" class="text" onClick=toSearch(form1) >
  198.                       &nbsp;&nbsp; 
  199.                       <input type="reset" value="重置" name="B212" class="text">
  200.                     </td>
  201.                   </tr>
  202.                 </table>
  203.            </td>
  204.            </tr>
  205.           </table>   
  206.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  207.        </TD>
  208.      </TR>
  209.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  210.     </TBODY> 
  211.   </TABLE>
  212.     <BR>
  213.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  214. </form>
  215. </DIV>
  216. </BODY>
  217. </HTML>