|
|
|
<%@page import="com.zky.para.Para"%>
|
|
|
|
<%@include file="/auth.jsp"%>
|
|
|
|
<%@page import="java.util.Date"%>
|
|
|
|
<%@ page import="com.zky.bjca.SM4" %>
|
|
|
|
<%@ page import="cn.org.bjca.utils.Base64" %>
|
|
|
|
<%@page language="java" pageEncoding="utf-8" %>
|
|
|
|
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
|
|
|
|
<%
|
|
|
|
String operate = (String)request.getParameter("operate");
|
|
|
|
String leaveId = "";
|
|
|
|
String leaveTime = "";
|
|
|
|
String leaveReason="";
|
|
|
|
String readonly="";
|
|
|
|
String leaveName="";
|
|
|
|
String qj = "";
|
|
|
|
String departid=Common.convertNull(request.getParameter("qj"));
|
|
|
|
String sj = Common.convertNull(request.getParameter("sj"));
|
|
|
|
HashFmlBuf buf = (HashFmlBuf)request.getAttribute("by_leaveState");
|
|
|
|
%>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>人员离岗管理</title>
|
|
|
|
<link href="../../css/font.css" rel="stylesheet" type="text/css">
|
|
|
|
<script src="../../js/date.js"></script>
|
|
|
|
<script src="../../js/check.js"></script>
|
|
|
|
<script>
|
|
|
|
function setValue() {
|
|
|
|
<%
|
|
|
|
if (!Common.isNull(qj)) {
|
|
|
|
out.println("form1.qj.value='" + qj + "';");
|
|
|
|
}
|
|
|
|
if (!Common.isNull(operate)) {
|
|
|
|
out.println("form1.operate.value='" + operate + "';");
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
}
|
|
|
|
function check(operate) {
|
|
|
|
form1.operate.value = operate;
|
|
|
|
if(operate=='modifyLeave'){
|
|
|
|
|
|
|
|
if (form1.leaveName.value == "") {
|
|
|
|
alert("请输入离岗人员姓名!");
|
|
|
|
form1.leaveName.focus();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
form1.submit();
|
|
|
|
}
|
|
|
|
function selectChange(i)
|
|
|
|
{
|
|
|
|
form1.action = "/zhyw/smry/rylz/LeaveUpdate.jsp";
|
|
|
|
form1.submit();
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
|
|
.aselect{width: 155px;}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body onload="setValue();">
|
|
|
|
<form name="form1" method="post" action="/servlet/LeaveManage">
|
|
|
|
<input type="hidden" name="operate" value=""/>
|
|
|
|
<input type="hidden" name="leaveId" value="<%=buf.fget("leave_Id", 0)%>"/>
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
|
|
<tr>
|
|
|
|
<td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25%" background="/images/tab_search_01.jpg"><table width="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="3%"><img src="/images/little_red.jpg" width="12" height="12"></td>
|
|
|
|
<td width="97%" class="font12b"> 涉密人员离岗管理</td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
<td width="82%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<td class="cell1">离岗人员姓名</td>
|
|
|
|
<td class="cell2">
|
|
|
|
<input type="text" name="leaveName" value="<%=buf.fget("leave_name",0)%>" class="createuserid" maxlength="8" >
|
|
|
|
</td>
|
|
|
|
<td class="cell1">离岗日期</td>
|
|
|
|
<td class="cell2" >
|
|
|
|
<input name='leaveTime' type='text' readonly="readonly" value='<%=buf.fget("leave_time",0)%>' onclick="fPopCalendar(leaveTime,leaveTime);">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<td class="cell1">离岗编号</td>
|
|
|
|
<td class="cell2" colspan="3">
|
|
|
|
<%=buf.fget("leave_Id", 0)%>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<td class="cell1">离岗原因</td>
|
|
|
|
<td class="cell2" colspan="3">
|
|
|
|
<textarea rows="20" cols="85" name="leaveReason"><%=SM4.SM4Decrypt(Base64.decode(buf.fget("leave_reason",0))) %></textarea>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br>
|
|
|
|
<table width="99%" align="center">
|
|
|
|
<tr align="center">
|
|
|
|
<td>
|
|
|
|
<input border="0" type="image" src="../../images1/bc1.png" alt="保存" onclick="check('modifyLeave');"/>
|
|
|
|
<a href="javascript:history.go(-1)"><img src="../../images1/fh.png" alt="返回" border="0" /></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|