Leaveword_Head.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="com.vnex.intranet.communication.util.DeptEmpHandler" %>
- <%
- DeptEmpHandler handler = new DeptEmpHandler();
- String deptId = "0";
- if(request.getParameter("deptId") != null)
- deptId = request.getParameter("deptId");
- String dept = handler.generateDeptCode(deptId);
- String emp = handler.generateEmpCode(deptId);
- %>
- <script language=JavaScript>
- function search1(form)
- {
- form.action="/mainctrl/leaveword/search?s";
- form.submit();
- }
- function search(form)
- {
- form.action="/mainctrl/leaveword/search";
- form.submit();
- }
- function changeIt(form)
- {
- form.action="/mainctrl/leaveword/home";
- form.submit();
- }
- </script>
- <p align="left"> <strong>部门:</strong>
- <select name="deptId" onchange="changeIt(this.form)">
- <%=dept%>
- </select>
- <strong>姓名:</strong>
- <select name="empId" size="1">
- <%=emp%>
- </select>
- <input type="button" name="Button" value="查询" onClick="search1(this.form)" class="text">
- <strong>姓名:</strong>
- <input type="text" class="text" size="10" name="search_name">
- <input type="button" name="Button1" value="查询" onClick="search(this.form)" class="text">
- </p>