📄 lookleave.jsp
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查看请假条</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
body {
margin-left: 2px;
margin-top: 2px;
margin-right: 0px;
margin-bottom: 0px;
}
a {
font-size: 12px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.STYLE1 {
font-size: 14px;
font-weight: bold;
}
-->
</style>
</head>
<script type="text/javascript">
function auditchk(){
var state = document.forms[0].state.value;
var auditor = document.forms[0].auditor.value;
if(state == "同意"){
if(auditor == ""){
if(!confirm("您确定该公文审核结束吗?")){
alert("请您先选择下一步审核人!");
return false;
}
}
}
return true;
}
function agree(){
document.getElementById("btnsel").disabled = false;
document.getElementById("tempauditor").readOnly = false;
}
function back(){
document.getElementById("btnsel").disabled = true;
document.getElementById("tempauditor").readOnly = true;
}
</script>
<body>
<table width="699" border="0" cellpadding="0" cellspacing="1">
<tr>
<td width="697" height="35">
<div align="center">
<span class="STYLE1">深圳市联合征信网络有限公司请假单</span>
</div>
</td>
</tr>
</table>
<html:form action="docAudit.do" method="post" onsubmit="return auditchk()">
<input type="hidden" name="docid" value="<bean:write name="leave" property="id" />"/>
<input type="hidden" name="doctype" value="1"/>
<c:if test="${!empty mid}">
<input type="hidden" name="mid" value="<bean:write name="mid" />"/>
</c:if>
<table width="718" border="0" cellpadding="0" cellspacing="1"
bgcolor="#999999">
<tr>
<td width="113" height="22" bgcolor="#FFFFFF">
<div align="center">
姓 名:
</div>
</td>
<td width="145" bgcolor="#FFFFFF">
<bean:write name="leave" property="sender" />
</td>
<td width="75" bgcolor="#FFFFFF">
<div align="center">
工作部门:
</div>
</td>
<td width="197" bgcolor="#FFFFFF">
<bean:write name="leave" property="deptid" />
</td>
<td width="71" bgcolor="#FFFFFF">
<div align="center">
职 位:
</div>
</td>
<td width="110" bgcolor="#FFFFFF">
<bean:write name="leave" property="postid" />
</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF">
<div align="center">
请假类型:
</div>
</td>
<td bgcolor="#FFFFFF">
<bean:write name="leave" property="leavetype"/>
</td>
<td bgcolor="#FFFFFF">
<div align="center">
请假去向:
</div>
</td>
<td bgcolor="#FFFFFF">
<bean:write name="leave" property="leaveplace" />
</td>
<td bgcolor="#FFFFFF">
<div align="center">
联系电话:
</div>
</td>
<td bgcolor="#FFFFFF">
<bean:write name="leave" property="tel" />
</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF">
<div align="center">
申请时间:
</div>
</td>
<td bgcolor="#FFFFFF">
<bean:write name="leave" property="date" />
</td>
<td bgcolor="#FFFFFF">
<div align="center">
请假时间:
</div>
</td>
<td colspan="3" bgcolor="#FFFFFF">
从
<bean:write name="leave" property="starttime" />
到
<bean:write name="leave" property="endtime" />
共
<bean:write name="leave" property="totalday" />
天
<bean:write name="leave" property="totalhour" />
小时
</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF">
<div align="center">审核意见:</div>
</td>
<td bgcolor="#FFFFFF" colspan="5" style="padding-top:4px; padding-bottom:3px; padding-left:8px; padding-right:4px;">
<c:forEach items="${audits}" var="audit" begin="1">
${audit.opinion}<br/>
${audit.auditor}[${audit.state}] ${audit.date}<br/>
</c:forEach>
</td>
</tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -