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