📄 censor.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>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<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 type="text/javascript">
function censor(statusId, recordId){
window.showModalDialog("censor.html?statusId="+statusId+"&&recordId="+recordId, "dialogHeight:80px;dialogWidth:120px" );
}
</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> </td>
</tr>
</table>
<p></p>
<form id="form1" name="form1" method="post" action="getUncensored.html">
<table width="20%" border="0" cellpadding="0" cellspacing="0"
class="tb_form" align="center">
<!--DWLayoutTable-->
<tr>
<td nowrap="nowrap" align="center">
选择类型:
</td>
<td>
<select name="appTypeId">
<option value="0">
所有
</option>
<option value="1">
外出
</option>
<option value="2">
请假
</option>
<option value="3">
出差
</option>
</select>
</td>
</tr>
</table>
<p></p>
<table border="0" align="center" cellpadding="0" cellspacing="0"
class="tb_foot">
<tr>
<td align="center" colspan="2">
<input name="btn_count" type="submit" id="btn_count"
value=" 查 看 " onclick="return checkForm()" />
<input name="btn_cancel" type="button" id="btn_cancel"
value=" 返 回 " onClick="window.location.href='deptAttend.jsp'" />
</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="tb_data">
<thead>
<tr>
<td width="6%" align="center" >序号</td>
<td width="8%" align="center" >员工号</td>
<td width="8%" align="center" >姓名</td>
<td width="8%" align="center" >类型</td>
<td width="28%" align="center" >申请时间</td>
<td width="30%" align="center" >申请事由</td>
<td width="12%" align="center" >操作</td>
</tr>
</thead>
<c:forEach var="record" items="${requestScope.unCensored }" varStatus="status">
<tr>
<td align="center">${status.index }</td>
<td align="center">${record.userId }</td>
<td align="center">${record.userName }</td>
<td 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">${record.toLeave } -- ${record.toReturn }</td>
<td align="center"><a href="#">${record.reason }</a></td>
<td align="center"><a href="censor.html?statusId=2&&record=${record }">同意</a> <a href="javascript:censor(3,${record.recordId })">驳回</a> </td>
</tr>
</c:forEach>
<!--
<tr>
<td height="25" align="center" colspan="8"><a href="#">首页 </a> <a href="#">上一页</a> <a href="#">下一页 </a> <a href="#">最后一页</a>
<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 + -