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

📄 personquery.jsp

📁 oa办公系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>查询个人考勤</title>
		<link href="../../common/defaultFa/css/all.css" rel="stylesheet"
			type="text/css" />
		<link href="../../common/defaultFa/css/css.css" rel="stylesheet"
			type="text/css" />
		<SCRIPT language=javascript src="../../common/js/datetime.js"></SCRIPT>
	</head>

	<body style="overflow-y: auto">

		<table width="99%" height="191" border="0" align="center"
			cellpadding="0" cellspacing="0" class="tb_title">
			<tr>
				<th align="left" valign="middle">
					<strong>个人考勤查询</strong>
				</th>
				<td>&nbsp;
					
				</td>
			</tr>
		</table>

		<form name="form1" method="post" action="personQuery.html">
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				class="tb_form">
				<tr>
				    <td align="center" height="22">
					考勤类型:</td>
					<td>
						<select name="appTypeId">
                          <option value="0"> 所有 </option>
                          <option value="1"> 外出 </option>
                          <option value="2"> 请假 </option>
                          <option value="3"> 出差 </option>
                        </select>
					</td>
				</tr>
				<tr>
					<td align="center" height="22">考勤时间:
					</td>
					<td><input type="text" name="from" onClick="show_cele_date('','',from)" />
&nbsp; 至&nbsp;
<input type="text" name="to" onClick="show_cele_date('','',to)" />
					</td>
				</tr>
				<tr align="center" height="10">
					<td colspan="2">
						<input type="submit" name="Submit" value="  提交  ">
						<input name="cancel" type="button" id="cancel" value="  返回  "
							onClick="window.location.href='personAttend.jsp'" />
					</td>
				</tr>
			</table>
		</form>

		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			class="tb_data" id="tb_query">
			<thead>
				<tr>
					<td width="14%" align="center">
						序号
					</td>
					<td width="26%" align="center">
						申请时间
					</td>
					<td width="23%" align="center">
						返回时间
					</td>
					<td width="17%" align="center">
						考勤类型
					</td>
					<td width="20%" align="center">
						详细情况
					</td>
				</tr>
			</thead>
			<c:forEach var="record" items="${records}" varStatus="status">
			<tr>
				<td align="center">
					${status.index }
				</td>
				<td align="center">
					${record.toLeave } -- ${record.toReturn }
				</td>
				<td align="center" align="center"> 
					<c:if test="${record.backTime== 0000000000 }">未登记返回</c:if>
					<c:if test="${record.backTime!= 0000000000 }">${record.backTime }</c:if>
				</td>
				<td align="center" align="center">
					<c:if test="${record.appTypeId==1 }">外出</c:if>
					<c:if test="${record.appTypeId==2 }">请假</c:if>
					<c:if test="${record.appTypeId==3 }">出差</c:if>
				</td>
				<td align="center" align="center">
					<a href="showSingleRecord.jsp?index=${status.count }">查看</a>
				</td>
			</tr>
			</c:forEach>
			
			<!-- 
			<tr>
				<td height="25" align="center" colspan="5">
					<a href="#">首页 </a>&nbsp;
					<a href="#">上一页</a>&nbsp;
					<a href="#">下一页 </a>&nbsp;
					<a href="#">最后一页</a> &nbsp;
					<input name="textfield" type="text" value="1" size="3" />
					<a href="#">跳转</a>
				</td>
			</tr>
			-->
		</table>

	</body>
</html>

⌨️ 快捷键说明

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