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

📄 employeemanager.jsp

📁 实现了基本的oa功能:个人日志。。。
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title>我要请假</title>
		<script type="text/javascript" language="JavaScript1.2"
			src="../../js/stm31.js"></script>
		<SCRIPT language=javascript src="../../js/tree2.js"></SCRIPT>
		<script language="javascript">
function windowOpen(theURL,winName,features,width,hight,scrollbars,top,left)
{
  var parameter="top="+top+",left="+left+",width="+width+",height="+hight;
  if(scrollbars=="no")
 {parameter+=",scrollbars=no";}
  else
 {parameter+=",scrollbars=yes";}
  window.open(theURL,winName,parameter);
}

function secBoard(n)
{
  for(i=0;i<secTable.cells.length;i++)
    secTable.cells[i].className="sec1";
  secTable.cells[n].className="sec2";
  for(i=0;i<mainTable.tBodies.length;i++)
    mainTable.tBodies[i].style.display="none";
  mainTable.tBodies[n].style.display="block";
}

</script>
		<link href="../../css/style.css" rel="stylesheet" type="text/css">
	</head>
	<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="25" align="center" valign="bottom" class="td06">
					<table width="98%" border="0" cellspacing="3" cellpadding="0">
						<tr>
							<td width="15">
								<html:img width="9" height="9" src="../../images/index_32.gif"/>
							</td>
							<td valign="bottom" class="title">
								员工调离管理
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<center>
			<br>
			<table width="90%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="450">
						<table width="450" border="0" cellpadding="0" cellspacing="0"
							id=secTable>
							<tr align="center">
								<td width="120" height="25" class="sec2" onClick="secBoard(0)">
									辞职
								</td>
								<td width="120" class="sec1" onClick="secBoard(1)">
									部门调换
								</td>
								<td width="120" class="sec1" onClick="secBoard(2)">
									升迁
								</td>
							</tr>
						</table>
					</td>
					<td class="sec3">
						&nbsp;
					</td>
				</tr>
			</table>
			<table border="0" cellspacing="0" cellpadding="0" width="90%"
				height="250" id=mainTable class="main1_tab">
				<tbody style="display:block;">
					<tr>
						<td align="center" valign=top>
							<table width="90%" border="0" cellpadding="15" cellspacing="0"
								class="td_bottom">
								<tr>
									<td>
										辞职人:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
									<td>
										工号:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
								</tr>
								<tr>
									<td>
										所属部门:
									</td>
									<td>
										<html:select property="select">
											<html:option value="1">
												请选择部门
											</html:option>
											<html:option value="2">
												经理室
											</html:option>
											<html:option value="3">
												人力资源部
											</html:option>
											<html:option value="4">
												劳保部
											</html:option>
											<html:option value="5">
												人事部
											</html:option>
										</html:select>
									</td>
									<td>
										上级领导:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
								</tr>
								<tr>
									<td>
										缘由:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
								</tr>
								<tr>
									<td height="30" align="right" valign="bottom">
										<html:submit styleClass="buttonface" value="  确定  " property="Submit"/>
										<html:submit styleClass="buttonface" value="  取消  " property="Submit"/>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</tbody>
				<tbody style="display:none;">
					<tr>
						<td align=center valign=top>
							<table width="90%" border="0" cellpadding="15" cellspacing="0"
								class="td_bottom">
								<tr>
									<td>
										职员姓名:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
									<td>
										工号:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
								</tr>
								<tr>
									<td>
										所属部门:
									</td>
									<td>
										<html:select property="select">
											<html:option value="1">
												请选择部门
											</html:option>
											<html:option value="2">
												经理室
											</html:option>
											<html:option value="3">
												人力资源部
											</html:option>
											<html:option value="4">
												劳保部
											</html:option>
											<html:option value="5">
												人事部
											</html:option>
										</html:select>
									</td>
									<td>
										调往何处:
									</td>
									<td>
										<html:select property="select">
											<html:option value="1">
												请选择部门
											</html:option>
											<html:option value="2">
												经理室
											</html:option>
											<html:option value="3">
												人力资源部
											</html:option>
											<html:option value="4">
												劳保部
											</html:option>
											<html:option value="5">
												人事部
											</html:option>
										</html:select>
									</td>
								</tr>
								<tr>
									<td>
										说明:
									</td>
									<td>
										<html:text property=""/>
									</td>
								</tr>
								<tr>
									<td height="30" align="right" valign="bottom">
										<html:submit styleClass="buttonface" value="  确定  " property="Submit"/>
										<html:submit styleClass="buttonface" value="  取消  " property="Submit"/>
									</td>
								</tr>
							</table>
							<br>
						</td>
					</tr>
				</tbody>
				<tbody style="display:none;">
					<tr>
						<td align=center valign=top>
							<table width="90%" border="0" cellpadding="15" cellspacing="0"
								class="td_bottom">
								<tr>
									<td>
										职员姓名:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
									<td>
										工号:
									</td>
									<td>
										<html:text styleClass="input" property=""/>
									</td>
								</tr>
								<tr>
									<td>
										所属部门:
									</td>
									<td>
										<html:select property="select">
											<html:option value="1">
												请选择部门
											</html:option>
											<html:option value="2">
												经理室
											</html:option>
											<html:option value="3">
												人力资源部
											</html:option>
											<html:option value="4">
												劳保部
											</html:option>
											<html:option value="5">
												人事部
											</html:option>
										</html:select>
									</td>
									<td>
										升迁至何处:
									</td>
									<td>
										<html:select property="select">
											<html:option value="1">
												请选择部门
											</html:option>
											<html:option value="2">
												经理室
											</html:option>
											<html:option value="3">
												人力资源部
											</html:option>
											<html:option value="4">
												劳保部
											</html:option>
											<html:option value="5">
												人事部
											</html:option>
										</html:select>
									</td>
								</tr>
								<tr>
									<td height="30" align="right" valign="bottom">
										<html:submit styleClass="buttonface" value="  确定  " property="Submit"/>
										<html:submit styleClass="buttonface" value="  取消  " property="Submit"/>
									</td>
								</tr>
							</table>
						</td>
					</tr>
			</table>
		</center>
	</body>
</html:html>

⌨️ 快捷键说明

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