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

电子政务应用

开发平台:

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/personTecSearchResult";
  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.    if(!isEmpty(form.buildYear.value))
  46.    {
  47.     form.buildYear.value=form.buildYear.value.replace("-","");
  48.     form.buildYear.value=form.buildYear.value.replace("-","");
  49.    }
  50.    else
  51.    {
  52.     form.buildYear.value=0;
  53.    }
  54.    if(!isEmpty(form.buildYearEnd.value))
  55.    {
  56.     form.buildYearEnd.value=form.buildYearEnd.value.replace("-","");
  57.     form.buildYearEnd.value=form.buildYearEnd.value.replace("-","");
  58.    }
  59.    else
  60.    {
  61.     form.buildYearEnd.value=30000000;
  62.    }
  63.    //if(isEmpty(form.fileNum.value))
  64.    //    form.fileNum.value=0;
  65.    //if(isEmpty(form.fileNumEnd.value))
  66.    //    form.fileNumEnd.value=999999;
  67.    if(isEmpty(form.buildYear.value))
  68.        form.buildYear.value=0;
  69.    if(isEmpty(form.buildYearEnd.value))
  70.        form.buildYearEnd.value=3000;
  71. }
  72. function checkIt(form)
  73. {
  74.    if((!isEmpty(form.buildDate.value))&&(!isEmpty(form.buildDateEnd.value)))
  75.    {
  76.       var start = form.buildDate.value;
  77.       var end = form.buildDateEnd.value;
  78.       if(start>end)
  79.       {
  80.            alert("形成日期的结束时间不能小于开始时间!");
  81.            return false;
  82.       }   
  83.    }
  84.    if((!isEmpty(form.buildYear.value))&&(!isEmpty(form.buildYearEnd.value)))
  85.    {
  86.       var startb = form.buildYear.value;
  87.       var endb = form.buildYearEnd.value;
  88.       if(startb>endb)
  89.       {
  90.            alert("归档日期的结束时间不能小于开始时间!");
  91.            return false;
  92.       }   
  93.    }
  94.    if(!isEmpty(form.fileNum.value))
  95.   {
  96.      if(!isInteger(form.fileNum.value))
  97.      {
  98.         alert("卷内份数只能是数字!");
  99. form.fileNum.focus();
  100.         return false;
  101.      }
  102.   }  
  103.   if(!isEmpty(form.buildYear.value))
  104.   {
  105.      if(!isInteger(form.buildYear.value))
  106.      {
  107.         alert("年度只能是数字!");
  108. form.buildYear.focus();
  109.         return false;
  110.      }
  111.   }  
  112.    if(!isEmpty(form.buildYearEnd.value))
  113.   {
  114.      if(!isInteger(form.buildYearEnd.value))
  115.      {
  116.         alert("年度只能是数字!");
  117. form.buildYearEnd.focus();
  118.         return false;
  119.      }
  120.   }  
  121.    if((!isEmpty(form.buildYear.value))&&(!isEmpty(form.buildYearEnd.value)))
  122.   {
  123.      if(form.buildYear.value>form.buildYearEnd.value)
  124.      {
  125.         alert("年度的前一个数字应该小于后一个数字!");
  126. form.buildYear.focus();
  127.         return false;
  128.      }
  129.   }  
  130.   return true;
  131. }
  132. </script>
  133. <form name="form1" method="post">
  134.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  135.     <TBODY> 
  136.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  137.       <TR> 
  138.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  139.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  140.             <tr valign="top"> 
  141.               <td bgcolor="#fafafa" > 
  142.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  143.                   <tr valign="top" bgcolor="#cccccc"> 
  144.                     <td> 
  145.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  146.                         <tr bgcolor="#666666"> 
  147.                             
  148.                           <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; 
  149.                             </font><font class="strongw">科技档案</font><font class="strongw">查询</font></td>
  150.                         </tr>
  151.                       </table>
  152.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  153.                   <tr bgcolor="#e0e0e0"> 
  154.                           <td colspan="4"> 
  155.                             <table border=0 cellpadding=2 cellspacing=1 class=title width=600>
  156.                               <tr bgcolor=#e0e0e0> 
  157.                                 <td colspan="3"><strong>请选择查询条件:</strong><br>
  158.                                   <strong>(缺省查询条件为“与”关系,若选中单选框则为‘或’关系)</strong></td>
  159.                               </tr>
  160.                               <tbody> 
  161.                               <!--
  162.                               <tr bgcolor=#fafafa> 
  163.                                 <td width="12%"> 
  164.                                   <div align=left><strong>&nbsp;</strong></div>
  165.                                 </td>
  166.                                 <td width="22%"> 
  167.                                   <div align=left><strong>&nbsp;全宗号:</strong></div>
  168.                                 </td>
  169.                                 <td width="66%"> 
  170.                                   <div align=left> 
  171.                                   </div>
  172.                                 </td>
  173.                               </tr>
  174.   -->
  175.                               <tr bgcolor=#e0e0e0> 
  176.                                 <td width="12%" bgcolor="#e0e0e0"> 
  177.                                   <div align="center"> 
  178.                                     <input type="hidden" name="topName" size="30" class="text" value="铁通总公司" maxlength="40">
  179.                                     <input type="checkbox" name="docNameTag" value="1">
  180.                                   </div>
  181.                                 </td>
  182.                                 <td width="22%"> 
  183.                                   <div align=left><strong>&nbsp;案卷号:</strong></div>
  184.                                 </td>
  185.                                 <td width="66%"> 
  186.                                   <div align=left> 
  187.                                     <input type="text" name="docName" size="30" class="text" maxlength="40">
  188.                                   </div>
  189.                                 </td>
  190.                               </tr>
  191.                               <tr bgcolor=#fafafa> 
  192.                                 <td width="12%"> 
  193.                                   <div align="center"> 
  194.                                     <input type="checkbox" name="fileBefTag" value="1">
  195.                                   </div>
  196.                                 </td>
  197.                                 <td width="22%"> 
  198.                                   <div align=left><strong>&nbsp;图号:</strong></div>
  199.                                 </td>
  200.                                 <td width="66%"> 
  201.                                   <div align=left> 
  202.                                     <input type="text" name="fileName" size="30" class="text" maxlength="40">
  203.                                   </div>
  204.                                 </td>
  205.                               </tr>
  206.                               <tr bgcolor=#e0e0e0> 
  207.                                 <td width="12%"> 
  208.                                   <div align="center"> 
  209.                                     <input type="checkbox" name="titleTag" value="1">
  210.                                   </div>
  211.                                 </td>
  212.                                 <td width="22%"> 
  213.                                   <div align=left><strong>&nbsp;内容摘要:</strong></div>
  214.                                 </td>
  215.                                 <td width="66%" bgcolor="#e0e0e0"> 
  216.                                   <div align=left> 
  217.                                     <input class=text name="title" size=30 maxlength="40">
  218.                                     &nbsp;</div>
  219.                                 </td>
  220.                               </tr>
  221.                               <tr bgcolor=#fafafa> 
  222.                                 <td width="12%"> 
  223.                                   <div align="center"> 
  224.                                     <input type="checkbox" name="depTag" value="1">
  225.                                   </div>
  226.                                 </td>
  227.                                 <td width="22%"><strong>&nbsp;形成单位:</strong></td>
  228.                                 <td width="66%" bgcolor="#fafafa"> 
  229.                                   <input class=text name="dep" size=30 maxlength="40">
  230.                                 </td>
  231.                               </tr>
  232.                               <tr bgcolor=#e0e0e0> 
  233.                                 <td width="12%"> 
  234.                                   <div align="center"> 
  235.                                     <input type="checkbox" name="shelfTag" value="1">
  236.                                   </div>
  237.                                 </td>
  238.                                 <td width="22%"><strong>&nbsp;排架:</strong></td>
  239.                                 <td width="66%"> 
  240.                                   <input class=text name=shelf size=30 maxlength="40">
  241.                                 </td>
  242.                               </tr>
  243.                               <tr bgcolor=#fafafa> 
  244.                                 <td width="12%"> 
  245.                                   <div align="center"> 
  246.                                     <input type="checkbox" name="wordKeyTag" value="1">
  247.                                   </div>
  248.                                 </td>
  249.                                 <td width="22%"> 
  250.                                   <div align=left><strong>&nbsp;图别:</strong></div>
  251.                                 </td>
  252.                                 <td width="66%"> 
  253.                                   <input class=text  maxlength=40 name="wordKey" size=15>
  254.                                 </td>
  255.                               </tr>
  256.                               <tr bgcolor=#e0e0e0> 
  257.                                 <td width="12%" bgcolor="#e0e0e0"> 
  258.                                   <div align="center"> 
  259.                                     <input type="checkbox" name="buildManTag" value="1">
  260.                                   </div>
  261.                                 </td>
  262.                                 <td width="22%"><strong>卷数:</strong></td>
  263.                                 <td width="66%" bgcolor="#e0e0e0"> 
  264.                                   <input class=text name=buildMan size=30 maxlength="40">
  265.                                 </td>
  266.                               </tr>
  267.                               <tr bgcolor=#fafafa> 
  268.                                 <td width="12%"> 
  269.                                   <div align="center"> 
  270.                                     <input type="checkbox" name="secretTag" value="1">
  271.                                   </div>
  272.                                 </td>
  273.                                 <td width="22%"> 
  274.                                   <div align=left><strong>&nbsp;密级:</strong></div>
  275.                                 </td>
  276.                                 <td width="66%"><strong> 
  277.                                   <select name="secret" size=1>
  278.                                     <option value="-1" selected>-请选择-</option>
  279.                                     <option value="1">一般</option>
  280.                                     <option value="2">秘密</option>
  281.                                     <option value="3">机密</option>
  282.                                     <option value="4">绝密</option>
  283.                                   </select>
  284.                                   </strong></td>
  285.                               </tr>
  286.   <!--
  287.                               <tr bgcolor=#e0e0e0> 
  288.                                 <td width="12%"> 
  289.                                   <div align="center"> 
  290.                                     <input type="checkbox" name="fileNumTag" value="1">
  291.                                   </div>
  292.                                 </td>
  293.                                 <td width="22%"> 
  294.                                   <div align=left><strong>&nbsp;蓝图:</strong></div>
  295.                                 </td>
  296.                                 <td width="66%"> 
  297.                                   <div align=left> 从 
  298.                                     <input class=text  maxlength=5 name="fileNum" size=6>
  299.                                     到 
  300.                                     <input class=text  maxlength=5 name="fileNumEnd" size=6>
  301.                                   </div>
  302.                                 </td>
  303.                               </tr>
  304.   -->
  305.                               <tr bgcolor=#e0e0e0> 
  306.                                 <td width="12%"> 
  307.                                   <div align="center"> 
  308.                                     <input type="hidden" name="fileNumTag" value="0">
  309.                                     <input type="hidden" class=text  maxlength=5 name="fileNum" size=6 value="0">
  310.                                     <input type="hidden" class=text  maxlength=5 name="fileNumEnd" value="999999" size=6>
  311.                                     <input type="checkbox" name="saveDateTag" value="1">
  312.                                   </div>
  313.                                 </td>
  314.                                 <td width="22%"> 
  315.                                   <div align=left><strong>&nbsp;保管期限:</strong></div>
  316.                                 </td>
  317.                                 <td width="66%" bgcolor="#e0e0e0"> 
  318.                                   <div align=left> <strong> 
  319.                                     <select name="saveDate" size=1>
  320.                                       <option value="-1" selected>-请选择-</option>
  321.                                       <option value="1">短期</option>
  322.                                       <option value="2">长期</option>
  323.                                       <option value="3">永久</option>
  324.                                     </select>
  325.                                     </strong></div>
  326.                                 </td>
  327.                               </tr>
  328.                               <tr bgcolor=#fafafa> 
  329.                                 <td width="12%" height="9"> 
  330.                                   <div align="center"> 
  331.                                     <input type="checkbox" name="buildDateTag" value="1">
  332.                                   </div>
  333.                                 </td>
  334.                                 <td width="22%" height="9"> 
  335.                                   <div align=left><strong>&nbsp;形成日期:</strong></div>
  336.                                 </td>
  337.                                 <td width="66%" height="9"> 
  338.                                   <div align=left> 从 
  339.                                     <input type="text" name="buildDate" readonly size="10" class="text">
  340.                                     &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDate);return false"> 
  341.                                     到 
  342.                                     <input type="text" name="buildDateEnd" readonly size="10" class="text">
  343.                                     &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDateEnd);return false"> 
  344.                                   </div>
  345.                                 </td>
  346.                               </tr>
  347.                               <tr bgcolor=#e0e0e0> 
  348.                                 <td width="12%"> 
  349.                                   <div align="center"> 
  350.                                     <input type="checkbox" name="buildYearTag" value="1">
  351.                                   </div>
  352.                                 </td>
  353.                                 <td width="22%"><strong>&nbsp;归档日期:</strong></td>
  354.                                 <td width="66%"> 从 
  355.                                   <input type="text" name="buildYear" readonly size="10" class="text">
  356.                                   &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildYear);return false"> 
  357.                                   到 
  358.                                   <input type="text" name="buildYearEnd" readonly size="10" class="text">
  359.                                   &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildYearEnd);return false"> 
  360.                                 </td>
  361.                               </tr>
  362.                               <tr bgcolor=#fafafa> 
  363.                                 <td align=middle height=30 colspan="3"> 
  364.                                   <div align="center"> 
  365.                                     <input class=text onclick=searchArchive(this.form)  type=button value=查询>
  366.                                     &nbsp;&nbsp; 
  367.                                     <input class=text  type=reset value=返回 onClick=history.back() >
  368.                                     &nbsp;&nbsp; </div>
  369.                                 </td>
  370.                               </tr>
  371.                               </tbody> 
  372.                             </table>
  373.                            </td>
  374.                   </tr>
  375.                      
  376.                 </table>
  377.                     </td>
  378.                     </tr>
  379.                   </table>
  380.                 </td>
  381.              </tr>
  382.           </table>
  383.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  384.        </TD>
  385.      </TR>
  386.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  387.     </TBODY> 
  388.   </TABLE>
  389.     <BR>
  390.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  391. </form>
  392. </DIV>
  393. </BODY>
  394. </HTML>