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

电子政务应用

开发平台:

Java

  1. <%@ page import="com.vnex.intranet.communication.util.DeptEmpHandler" %>
  2. <%
  3.     DeptEmpHandler handler = new DeptEmpHandler();
  4.     String deptId = "0";
  5.     if(request.getParameter("deptId") != null)
  6.        deptId = request.getParameter("deptId");
  7.     String dept = handler.generateDeptCode(deptId);
  8.     String emp = handler.generateEmpCode(deptId);
  9. %>
  10. <script language=JavaScript>
  11. function search1(form)
  12. {
  13.    form.action="/mainctrl/leaveword/search?s";
  14.    form.submit();
  15. }
  16. function search(form)
  17. {
  18.    form.action="/mainctrl/leaveword/search";
  19.    form.submit();
  20. }
  21.    
  22. function changeIt(form)
  23. {
  24.    form.action="/mainctrl/leaveword/home";
  25.    form.submit();
  26. }
  27. </script>
  28.           <p align="left">&nbsp;<strong>部门:</strong>
  29.           <select name="deptId" onchange="changeIt(this.form)">
  30.           <%=dept%>
  31.           </select>
  32.            <strong>姓名:</strong>
  33.           <select name="empId" size="1">
  34.           <%=emp%>
  35.           </select>
  36.           <input type="button" name="Button" value="查询" onClick="search1(this.form)" class="text">
  37.           <strong>姓名:</strong>
  38.           <input type="text" class="text" size="10" name="search_name">&nbsp;
  39.           <input type="button" name="Button1" value="查询" onClick="search(this.form)" class="text">
  40.           </p>