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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  3. <%@ taglib uri="/vnex_hr.tld" prefix="hr" %>
  4. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  5. <%
  6.         int deptId = 0;
  7.         if( request.getParameter("deptId") != null )
  8.         {
  9.             deptId = Integer.parseInt ( request.getParameter("deptId") );
  10.         }
  11. %>
  12. <script language=JavaScript>
  13. function search1(form)
  14. {
  15.    form.action="/mainctrl/leaveword/search?s";
  16.    form.submit();
  17. }
  18. function changeIt(form)
  19. {
  20.    form.action="/mainctrl/leaveword/advanceSearch";
  21.    form.submit();
  22. }
  23. </script>
  24. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  25. <HTML>
  26. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  27. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  28. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_communicate.js"></script>
  29. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  30. <DIV align=center>
  31. <form name="form1" method="post">
  32.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  33.     <TBODY> 
  34.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  35.     <TR> 
  36.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  37.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  38.             <tr valign="top"> 
  39.               <td bgcolor="#fafafa" > 
  40.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  41.                   <tr valign="top" bgcolor="#cccccc"> 
  42.                     <td> 
  43.                       <table width="600" border="0" cellspacing="0" cellpadding="2">
  44.                         <tr bgcolor="#666666"> 
  45.                           <td><font class="strongw">
  46.                             <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;
  47.                             <a href="/mainctrl/communication/main"><font color="#ffffff">通信</font></a>&gt;&gt;
  48.                             <a href="/mainctrl/leaveword/home"><font color="#ffffff">留言板</font></a>&gt;&gt;高级查询
  49.                             </font>
  50.                           </td>
  51.                         </tr>
  52.                       </table>
  53.                       <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  54.                         <tr bgcolor="#fafafa">
  55.                           <td width="15%"><strong>&nbsp;部门:</strong></td>
  56.                           <td>
  57.         <select name="deptId" onChange="changeIt(this.form)" class="file">
  58.           <option value="0">部门</option>
  59.           <org:DivisionList><vnex:items select='<%= request.getParameter("deptId") %>'> 
  60.           <option value="<org:DivisionAttribute attribute="id"/>" <org:DivisionAttribute attribute="isSelected"/> 
  61.           > <org:DivisionAttribute attribute="levelStr"/>+<org:DivisionAttribute attribute="name"/> 
  62.           </option>
  63.           </vnex:items></org:DivisionList> 
  64.         </select>
  65.           </td>
  66.          </tr> 
  67.          <tr bgcolor="#e0e0e0">
  68.           <td width="15%"><strong>&nbsp;姓名:</strong></td>
  69.           <td>
  70.               <select  name="empId" size="1">
  71.                 <option value="0">员工姓名</option>
  72.                 <hr:EmployeeList divisionId='<%=deptId %>'> <vnex:items> 
  73.                 <option value="<hr:EmployeeAttribute attribute="id" />"> 
  74.                  <hr:EmployeeAttribute attribute="employee_name_SameLength" /> 
  75.                 </option>
  76.                 </vnex:items> </hr:EmployeeList> 
  77.               </select>
  78.           </td>
  79.          </tr>   
  80.                         <tr>
  81.                            <td colspan="2" align="center" bgcolor="#fafafa" height="30">
  82.              <input type="button" name="Button" value="查询" onClick="search1(this.form)" class="text">&nbsp;&nbsp;
  83.              <input type="button" name="Button3" value="放弃" onclick="location='/mainctrl/leaveword/home'" class="text">
  84.                            </td>
  85.                         </tr>
  86.                   </table>
  87.               </td>
  88.             </tr>
  89.           </table> 
  90.           </td>
  91.           </tr>
  92.           </table>        
  93.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  94.        </TD>
  95.      </TR>
  96.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  97.     </TBODY> 
  98.   </TABLE>
  99.     <BR>
  100.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  101. </form>
  102. </DIV>
  103. </BODY>
  104. </HTML>