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

📄 tj_tingxing.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;
}
.STYLE1 {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;
	}
}
  function printsetup(){ 
  // 打印页面设置 
  wb.execwb(8,1); 
  } 
  function printpreview(){ 
  // 打印页面预览      
  wb.execwb(7,1);   } 
  function printit() 
  { 
  if (confirm('确定打印吗?')) { 
  wb.execwb(6,6) 
  } 
  } 
</script>
<body>
<br>
<h3 align="center">停薪留职统计</h3>
<hr />
<form id="form1" name="form1" method="post" action='/pmsys/tjstate.do?method=tingxing&state=<bean:write name="state" />' onsubmit="return che()">
<table width="317" height="26" border="0" align="center" cellspacing="0">
    <tr>
      <td width="113" class="style2"><span class="STYLE1">选择查看部门:</span></td>
	  <td width="133" class="style2"><span class="STYLE1">
	    <select name="tjdept" id="tjdept">
	      <option value="#">--请选择-- </option>
	      <logic:present name="deptlist" scope="request">
	        <logic:iterate id="deptlist" name="deptlist" type="pmsys.UserForm" scope="request">
	          <option value='<bean:write name="deptlist" property="deptno"/>' >
              <bean:write name="deptlist" property="dname"/>
              </option>
            </logic:iterate>
          </logic:present>
        </select>
	    </span></td>
	  <td width="65" class="style2"><input name="Submit2" type="submit" value="查看" /></td>
    </tr>
  </table>
  <logic:present name="dept0" scope="request">
  <table width="134" height="97" border="1" align="center" cellspacing="0">
    <tr>
      <td width="128" height="23" align="center" class="STYLE1">停薪留职员工(<logic:iterate id="j0" name="j0" type="pmsys.UserForm" scope="request"><bean:write name="j0" property="deptno"/></logic:iterate>人)</td>
    </tr>
    <tr>
      <td align="center" valign="top" class="style2">
	  <table width="100" border="0" cellspacing="0">
    <logic:iterate id="dept0" name="dept0" type="pmsys.UserForm" scope="request">
    <tr><td valign="top" class="STYLE1">
         <a href='/pmsys/tjtype.do?method=emplist&emp_id=<bean:write name="dept0" property="deptno" />'><bean:write name="dept0" property="dname"/>
         </a>
	</td></tr>
    </logic:iterate>
      </table>	  </td>
    </tr>
    <tr>
      <td height="6" class="STYLE1">全厂总人数:<bean:write name="count0" /></td>
    </tr>
    <tr>
      <td height="3" class="STYLE1">当前显示部门:<bean:write name="dept" /></td>
    </tr>
    <tr>
      <td height="2" class="STYLE1"><a href='/pmsys/tjstate.do?method=report_date_tingxing&dept=<bean:write name="dep_id" />' class="style2">导出数据</a>
	  </a></td>
    </tr>
  </table>
  </logic:present>
</form>
<logic:present name="tingxing_ok" scope="request">
<center>
<span class="style2"><bean:write name="tingxing_ok" /></span>
</center>
</logic:present>
  <center>
  <OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
<input type="button" name="打印" value="打印"
 onclick="javascript:printit()" />
<input type="button" name=button_setup value="打印页面设置" 
onclick="javascript:printsetup();"> 
<input type="button" name="打印预览" value="打印预览" 
onclick="javascript:printpreview();">
  </center>
</body>
</html>

⌨️ 快捷键说明

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