⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tj_query.jsp

📁 1.员工添加 2.人事调动 3.在职人员管理 4.部门(分厂)管理
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>组合统计</title>
<LINK href="../as_files/style.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
body {
	background-color: #C4DEF6;
}
.style2 {font-size: 12px}
-->
</style></head>
<script language="javascript">
function che(){

  	var a = document.getElementById("tjdept");

	if(a.options[form1.tjdept.selectedIndex].value=="#"){
		alert("请选择一项");
		return false;
	}else {
		return true;
	}
} 
</script>
<body>
<br>
<h3 align="center">组合统计</h3>
<hr />
<form id="form1" name="form1" method="post" action="/pmsys/query.do?method=lookup" >
<table width="308" border="0" align="center" cellspacing="0">
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按职称查询:</td>
      <td width="161" bgcolor="#C4DEF6"><select name="zhicheng">
        <option value="#">--请选择-- </option>
        <logic:present name="zc_list" scope="request">
          <logic:iterate id="zc_list" name="zc_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="zc_list" property="deptno"/>' >
              <bean:write name="zc_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select></td>
    </tr>

    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按学历查询:</td>
      <td bgcolor="#C4DEF6"><select name="xueli">
	  <option value="#">--请选择-- </option>
        <logic:present name="xl_list" scope="request">
          <logic:iterate id="xl_list" name="xl_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="xl_list" property="deptno"/>' >
              <bean:write name="xl_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select>      </td>
    </tr>
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按职务查询:</td>
      <td bgcolor="#C4DEF6"><select name="zhiwu">
	  <option value="#">--请选择-- </option>
        <logic:present name="zw_list" scope="request">
          <logic:iterate id="zw_list" name="zw_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="zw_list" property="deptno"/>' >
              <bean:write name="zw_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select>      </td>
    </tr>
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按状态查询:</td>
      <td bgcolor="#C4DEF6"><select name="state">
	  <option value="#">--请选择-- </option>
        <logic:present name="st_list" scope="request">
          <logic:iterate id="st_list" name="st_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="st_list" property="deptno"/>' >
              <bean:write name="st_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select>      </td>
    </tr>
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按民族查询:</td>
      <td bgcolor="#C4DEF6"><select name="nation">
	  <option value="#">--请选择-- </option>
        <logic:present name="na_list" scope="request">
          <logic:iterate id="na_list" name="na_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="na_list" property="deptno"/>' >
              <bean:write name="na_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select>
      </td>
    </tr>
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按部门查询:</td>
      <td bgcolor="#C4DEF6"><select name="dept">
	  <option value="#">--请选择-- </option>
        <logic:present name="dept_list" scope="request">
          <logic:iterate id="dept_list" name="dept_list" type="pmsys.UserForm" scope="request">
            <option value='<bean:write name="dept_list" property="deptno"/>' >
              <bean:write name="dept_list" property="dname"/>
              </option>
          </logic:iterate>
        </logic:present>
      </select></td>
    </tr>
    <tr>
      <td height="37" align="right" bgcolor="#C4DEF6" class="style2">按年龄段查询:</td>
      <td bgcolor="#C4DEF6"><span class="style2">从
        <input name="age1" type="text" size="3" maxlength="3" />
        岁到
        <input name="age2" type="text" size="3" maxlength="3" />
        岁</span></td>
    </tr>
    <tr>
      <td height="37" colspan="2" align="center" bgcolor="#C4DEF6" class="style2"><input type="submit" name="Submit2" value="查看" /></td>
    </tr>
  </table>
<logic:present name="dept0" scope="request"></logic:present>
</form>
<logic:present name="query_ok" scope="request">
<center>
<span class="style2"><bean:write name="query_ok" /></span>
</center>
</logic:present>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -