|
|
@ -32,6 +32,46 @@ select
|
|
|
|
.spanc{
|
|
|
|
.spanc{
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridHead{
|
|
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
|
|
|
background-color: #cce7f5;
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridHead .gridRow{
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridHead span{
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
width: 148px;
|
|
|
|
|
|
|
|
border-right: 1px solid #000000;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridBody .gridRow{
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
/*margin-top: 5px;*/
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
border-bottom: 1px solid #000;
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridBody .gridRow span{
|
|
|
|
|
|
|
|
width: 148px;
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
border-right: 1px solid;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#myGrid .gridBody .gridRow span a,img,input {
|
|
|
|
|
|
|
|
margin-right: 6px;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
function setValue() {
|
|
|
|
function setValue() {
|
|
|
@ -90,7 +130,7 @@ function selectChange(i)
|
|
|
|
<body onload="setValue();" scroll="no" >
|
|
|
|
<body onload="setValue();" scroll="no" >
|
|
|
|
<input type="hidden" name="operate" value=""/>
|
|
|
|
<input type="hidden" name="operate" value=""/>
|
|
|
|
<input type="hidden" name="empId" value="<%=optrid%>"/>
|
|
|
|
<input type="hidden" name="empId" value="<%=optrid%>"/>
|
|
|
|
<form name="form1" method="post" action="/servlet/LeaveManage">
|
|
|
|
<form name="form1" method="post" action="/servlet/LeaveManage" style="height: 100%;">
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
<td valign="top">
|
|
|
@ -110,13 +150,13 @@ function selectChange(i)
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02">
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02">
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<td class="cell1">所属地市</td>
|
|
|
|
<td class="cell1">所属地市</td>
|
|
|
|
<td class="cell2" width="10%">
|
|
|
|
<td class="cell2" width="15%">
|
|
|
|
<select class='aselect' name="sj" setValue="<%=sj%>" onChange="selectChange(1);">
|
|
|
|
<select class='aselect' name="sj" setValue="<%=sj%>" onChange="selectChange(1);">
|
|
|
|
<%=Para.getSj(getPara)%>
|
|
|
|
<%=Para.getSj(getPara)%>
|
|
|
|
</select><font color="#ff0000">*</font>
|
|
|
|
</select><font color="#ff0000">*</font>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="cell1">所属区县</td>
|
|
|
|
<td class="cell1">所属区县</td>
|
|
|
|
<td class="cell2" width="10%">
|
|
|
|
<td class="cell2" width="15%">
|
|
|
|
<select class='aselect' name="qj" setValue="<%=qj%>" <%if(sj.equals("0930")){ %> disabled="disabled" <%} %> onChange="selectChange(1);">
|
|
|
|
<select class='aselect' name="qj" setValue="<%=qj%>" <%if(sj.equals("0930")){ %> disabled="disabled" <%} %> onChange="selectChange(1);">
|
|
|
|
<%=Para.getQj(getPara,sj)%>
|
|
|
|
<%=Para.getQj(getPara,sj)%>
|
|
|
|
</select><font color="#ff0000">*</font>
|
|
|
|
</select><font color="#ff0000">*</font>
|
|
|
@ -163,15 +203,15 @@ function selectChange(i)
|
|
|
|
if (buf != null) {
|
|
|
|
if (buf != null) {
|
|
|
|
int rowcount = buf.getRowCount();
|
|
|
|
int rowcount = buf.getRowCount();
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" style="height: 87%;" cellspacing="1" class="box">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<div style="width:100%; height:385px;overflow: auto;">
|
|
|
|
<div style="width:100%; height:96%;overflow: auto;">
|
|
|
|
<div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace">
|
|
|
|
<div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace">
|
|
|
|
<div class="gridHead">
|
|
|
|
<div class="gridHead">
|
|
|
|
<!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div-->
|
|
|
|
<!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div-->
|
|
|
|
<div class="gridRow">
|
|
|
|
<div class="gridRow">
|
|
|
|
<span style="text-align: center;" width="5px"><b>序号</b></span>
|
|
|
|
<span style="width: 100px;"><b>序号</b></span>
|
|
|
|
<span width="15px"><b>所属单位</b></span>
|
|
|
|
<span width="15px"><b>所属单位</b></span>
|
|
|
|
<span width="10px"><b>离岗状态</b></span>
|
|
|
|
<span width="10px"><b>离岗状态</b></span>
|
|
|
|
<span width="10px"><b>审批人</b></span>
|
|
|
|
<span width="10px"><b>审批人</b></span>
|
|
|
@ -180,7 +220,7 @@ function selectChange(i)
|
|
|
|
<span width="10px"><b>入职日期</b></span>
|
|
|
|
<span width="10px"><b>入职日期</b></span>
|
|
|
|
<span width="10px"><b>离岗日期</b></span>
|
|
|
|
<span width="10px"><b>离岗日期</b></span>
|
|
|
|
<span width="10px"><b>工作交接</b></span>
|
|
|
|
<span width="10px"><b>工作交接</b></span>
|
|
|
|
<span width="10px"><b>操作</b></span>
|
|
|
|
<span style="width: 182px;border-right: none;"><b>操作</b></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="gridBody">
|
|
|
|
<div class="gridBody">
|
|
|
@ -223,18 +263,18 @@ function selectChange(i)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<div class="gridRow">
|
|
|
|
<div class="gridRow">
|
|
|
|
<span style="text-align: center;" width="5px"><%=i+1%></span>
|
|
|
|
<span style="text-align: center;width: 100px;"><%=i+1%></span>
|
|
|
|
<span ><%=buf.fget("departname",i)%></span>
|
|
|
|
<span ><%=buf.fget("departname",i)%></span>
|
|
|
|
|
|
|
|
|
|
|
|
<span >
|
|
|
|
<span >
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../images1/nopass.png" width="16" height="16" alt="已离岗" style="cursor: pointer;">
|
|
|
|
<img src="../../images1/nopass.png" width="16" height="16" alt="已离岗" style="cursor: pointer;margin-top: 5%;">
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../images1/pass.png" width="16" height="16" alt="未离岗" style="cursor: pointer;">
|
|
|
|
<img src="../../images1/pass.png" width="16" height="16" alt="未离岗" style="cursor: pointer;margin-top: 5%;">
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
@ -247,11 +287,11 @@ function selectChange(i)
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
if(tempUState.equals("正常")){
|
|
|
|
if(tempUState.equals("正常")){
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../../images1/ok.png" width="16" height="16" alt="正常" style="cursor: pointer;">
|
|
|
|
<img src="../../../images1/ok.png" width="16" height="16" alt="正常" style="cursor: pointer;margin-top: 5%;">
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../../images1/nook.png" width="16" height="16" alt="注销" style="cursor: pointer;">
|
|
|
|
<img src="../../../images1/nook.png" width="16" height="16" alt="注销" style="cursor: pointer;margin-top:5%;">
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
@ -260,15 +300,15 @@ function selectChange(i)
|
|
|
|
<span><%=buf.fget("empstatedate",i) %></span>
|
|
|
|
<span><%=buf.fget("empstatedate",i) %></span>
|
|
|
|
<span><%=buf.fget("leave_date",i) %></span>
|
|
|
|
<span><%=buf.fget("leave_date",i) %></span>
|
|
|
|
<span><%=buf.fget("workreason",i) %></span>
|
|
|
|
<span><%=buf.fget("workreason",i) %></span>
|
|
|
|
<span>
|
|
|
|
<span style="width: 182px;border-right: none;">
|
|
|
|
<%if(login.getSanyuan().equals("0")){ %>
|
|
|
|
<%if(login.getSanyuan().equals("0")){ %>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;margin-top: 5%;"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveId&leaveId=<%=buf.fget("leave_Id",i)%>" ><img src="../../../images1/edit.gif" border="0" alt=" 修改"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveId&leaveId=<%=buf.fget("leave_Id",i)%>" ><img src="../../../images1/edit.gif" border="0" alt=" 修改"/></a>
|
|
|
|
<input border="0" type="image" src="../../../images1/delete.gif" ALT="删除" style="cursor: pointer;" name="button2"onclick="check('queryLeavedelete','<%=buf.fget("leave_Id",i)%>');"/>
|
|
|
|
<input border="0" type="image" src="../../../images1/delete.gif" ALT="删除" style="cursor: pointer;margin-top: 5%;" name="button2"onclick="check('queryLeavedelete','<%=buf.fget("leave_Id",i)%>');"/>
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../../images1/user_go1.png" border="0" alt="已离岗" style="cursor: pointer;">
|
|
|
|
<img src="../../../images1/user_go1.png" border="0" alt="已离岗" style="cursor: pointer;margin-top: 5%;">
|
|
|
|
|
|
|
|
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
@ -278,11 +318,11 @@ function selectChange(i)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<%}else if(login.getSanyuan().equals("1")){ %>
|
|
|
|
<%}else if(login.getSanyuan().equals("1")){ %>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;margin-top: 5%;"/></a>
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
if(tempState.equals("已离岗")){
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<img src="../../../images1/user_go1.png" border="0" alt="已离岗" style="cursor: pointer;">
|
|
|
|
<img src="../../../images1/user_go1.png" border="0" alt="已离岗" style="cursor: pointer;margin-top: 5%;">
|
|
|
|
|
|
|
|
|
|
|
|
<%
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
@ -292,9 +332,9 @@ function selectChange(i)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
%>
|
|
|
|
<%}else { %>
|
|
|
|
<%}else { %>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveById&leaveId=<%=tempLeaveId%>"/><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;margin-top: 5%;"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveId&leaveId=<%=buf.fget("leave_Id",i)%>" ><img src="../../../images1/edit.gif" border="0" alt=" 修改"/></a>
|
|
|
|
<a href="/servlet/LeaveManage?operate=queryLeaveId&leaveId=<%=buf.fget("leave_Id",i)%>" ><img src="../../../images1/edit.gif" border="0" alt=" 修改"/></a>
|
|
|
|
<input border="0" type="image" src="../../../images1/delete.gif" ALT="删除" style="cursor: pointer;" name="button2"onclick="check('queryLeavedelete','<%=buf.fget("leave_Id",i)%>');"/>
|
|
|
|
<input border="0" type="image" src="../../../images1/delete.gif" ALT="删除" style="cursor: pointer;margin-top: 5%;" name="button2"onclick="check('queryLeavedelete','<%=buf.fget("leave_Id",i)%>');"/>
|
|
|
|
<%} %>
|
|
|
|
<%} %>
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|