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

电子政务应用

开发平台:

Java

  1. <%@ page language="java" %>
  2.             
  3. <%@ page import="java.util.*"%>
  4. <%@ page import="java.lang.*"%>
  5. <HTML>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  8. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  9. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
  10. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  11. <script language="JavaScript" src="/vnex/util/strUtil.js"></script>    
  12. <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
  13. <script language="javascript" src="/vnex/validate.js"></script>
  14. <DIV align=center>
  15. <script language=javascript>
  16. function searchArchive(form)
  17. {
  18.   if(checkIt(form))
  19.   {
  20.     modParameter(form);
  21.     form.action="/mainctrl/thingSearchResult";
  22.     form.submit();
  23.   }  
  24. }
  25. function modParameter(form)
  26. {
  27.    if(!isEmpty(form.buildDate.value))
  28.    {
  29.     form.buildDate.value=form.buildDate.value.replace("-","");
  30.     form.buildDate.value=form.buildDate.value.replace("-","");
  31.    }
  32.    else
  33.    {
  34.     form.buildDate.value=0;
  35.    }
  36.    if(!isEmpty(form.buildDateEnd.value))
  37.    {
  38.     form.buildDateEnd.value=form.buildDateEnd.value.replace("-","");
  39.     form.buildDateEnd.value=form.buildDateEnd.value.replace("-","");
  40.    }
  41.    else
  42.    {
  43.     form.buildDateEnd.value=30000000;
  44.    }
  45. }
  46. function checkIt(form)
  47. {
  48.    if((!isEmpty(form.buildDate.value))&&(!isEmpty(form.buildDateEnd.value)))
  49.    {
  50.       var start = form.buildDate.value;
  51.       var end = form.buildDateEnd.value;
  52.       if(start>end)
  53.       {
  54.            alert("日期的结束时间不能小于开始时间!");
  55.            return false;
  56.       }   
  57.    }
  58.   return true;
  59. }
  60. </script>
  61. <form name="form1" method="get">
  62.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  63.     <TBODY> 
  64.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  65.       <TR> 
  66.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  67.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  68.             <tr valign="top"> 
  69.               <td bgcolor="#fafafa" > 
  70.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  71.                   <tr valign="top" bgcolor="#cccccc"> 
  72.                     <td> 
  73.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  74.                         <tr bgcolor="#666666"> 
  75.                             
  76.                           <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;<a href="/mainctrl/archiveFileIn"><font color="#ffffff">档案管理</font></a>&gt;&gt;<a href="/mainctrl/thingIndex"><font color="#ffffff">实物档案</font></a>&gt;&gt; 
  77.                             实物档案查询</font> </td>
  78.                         </tr>
  79.                       </table>
  80.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  81.                   <tr bgcolor="#e0e0e0"> 
  82.                           <td colspan="4"> 
  83.                             <table border=0 cellpadding=2 cellspacing=1 class=title width=600>
  84.                               <tr bgcolor=#e0e0e0> 
  85.                                 <td colspan="3"><strong>请选择查询条件:</strong><br>
  86.                                   <strong>(缺省查询条件为“与”关系,若选中单选框则为‘或’关系)</strong></td>
  87.                               </tr>
  88.                               <tbody> 
  89.                               <tr bgcolor=#e0e0e0> 
  90.                                 <td width="12%"> 
  91.                                   <div align="center"> </div>
  92.                                 </td>
  93.                                 <td width="22%"> 
  94.                                   <div align=left><strong>&nbsp;档案号:</strong></div>
  95.                                 </td>
  96.                                 <td width="66%"> 
  97.                                   <div align=left> 
  98.                                     <input type="text" name="docName" size="30" class="text" maxlength="40">
  99.                                   </div>
  100.                                 </td>
  101.                               </tr>
  102.                               <tr bgcolor=#fafafa> 
  103.                                 <td width="12%"> 
  104.                                   <div align="center"> 
  105.                                     <input type="checkbox" name="topNameTag" value="1">
  106.                                   </div>
  107.                                 </td>
  108.                                 <td width="22%"> 
  109.                                   <div align=left><strong>&nbsp;类别:</strong></div>
  110.                                 </td>
  111.                                 <td width="66%"> 
  112.                                   <div align=left> 
  113.                                     <input class=text name="topName" size=30 maxlength="40">
  114.                                     &nbsp;</div>
  115.                                 </td>
  116.                               </tr>
  117.                               <tr bgcolor=#e0e0e0> 
  118.                                 <td width="12%"> 
  119.                                   <div align="center"> 
  120.                                     <input type="checkbox" name="fileBefTag" value="1">
  121.                                   </div>
  122.                                 </td>
  123.                                 <td width="22%"> 
  124.                                   <div align=left><strong>&nbsp;专业:</strong></div>
  125.                                 </td>
  126.                                 <td width="66%"> 
  127.                                   <div align=left> 
  128.                                     <input class=text name="fileBef" size=30 maxlength="40">
  129.                                     &nbsp;</div>
  130.                                 </td>
  131.                               </tr>
  132.                               <tr bgcolor=#e0e0e0> 
  133.                                 <td width="12%" bgcolor="#fafafa"> 
  134.                                   <div align="center"> 
  135.                                     <input type="checkbox" name="titleTag" value="1">
  136.                                   </div>
  137.                                 </td>
  138.                                 <td width="22%" bgcolor="#fafafa"> 
  139.                                   <div align=left><strong>&nbsp;名称:</strong></div>
  140.                                 </td>
  141.                                 <td width="66%" bgcolor="#fafafa"> 
  142.                                   <div align=left> 
  143.                                     <input class=text name="title" size=30 maxlength="40">
  144.                                     &nbsp;</div>
  145.                                 </td>
  146.                               </tr>
  147.                               <tr bgcolor=#e0e0e0> 
  148.                                 <td width="12%"> 
  149.                                   <div align="center"> 
  150.                                     <input type="checkbox" name="wordKeyTag" value="1">
  151.                                   </div>
  152.                                 </td>
  153.                                 <td width="22%"> 
  154.                                   <div align=left><strong>&nbsp;获奖级别:</strong></div>
  155.                                 </td>
  156.                                 <td width="66%"> 
  157.                                   <input class=text  maxlength=40 name="wordKey" size=15>
  158.                                 </td>
  159.                               </tr>
  160.                               <tr bgcolor=#fafafa> 
  161.                                 <td width="12%"> 
  162.                                   <div align="center"> 
  163.                                     <input type="checkbox" name="depTag" value="1">
  164.                                   </div>
  165.                                 </td>
  166.                                 <td width="22%"><strong>&nbsp;发奖单位:</strong></td>
  167.                                 <td width="66%" bgcolor="#fafafa"> 
  168.                                   <input class=text name="dep" size=30 maxlength="40">
  169.                                 </td>
  170.                               </tr>
  171.                               <tr bgcolor=#e0e0e0> 
  172.                                 <td width="12%" height="9"> 
  173.                                   <div align="center"> 
  174.                                     <input type="checkbox" name="buildDateTag" value="1">
  175.                                   </div>
  176.                                 </td>
  177.                                 <td width="22%" height="9"> 
  178.                                   <div align=left><strong>&nbsp;获奖时间:</strong></div>
  179.                                 </td>
  180.                                 <td width="66%" height="9"> 
  181.                                   <div align=left> 从 
  182.                                     <input type="text" name="buildDate" readonly size="10" class="text">
  183.                                     &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDate);return false"> 
  184.                                     到 
  185.                                     <input type="text" name="buildDateEnd" readonly size="10" class="text">
  186.                                     &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDateEnd);return false"> 
  187.                                   </div>
  188.                                 </td>
  189.                               </tr>
  190.                               <tr bgcolor=#fafafa> 
  191.                                 <td align=middle height=30 colspan="3"> 
  192.                                   <div align="center"> 
  193.                                     <input class=text onclick=searchArchive(this.form)  type=button value=查询>
  194.                                     &nbsp;&nbsp; 
  195.                                     <input class=text  type=reset value=返回 onClick=history.back() >
  196.                                     &nbsp;&nbsp; </div>
  197.                                 </td>
  198.                               </tr>
  199.                               </tbody> 
  200.                             </table>
  201.                             </td>
  202.                   </tr>
  203.                      
  204.                 </table>
  205.                     </td>
  206.                     </tr>
  207.                   </table>
  208.                 </td>
  209.              </tr>
  210.           </table>
  211.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  212.        </TD>
  213.      </TR>
  214.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  215.     </TBODY> 
  216.   </TABLE>
  217.     <BR>
  218.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  219. </form>
  220. </DIV>
  221. </BODY>
  222. </HTML>