@ -37,6 +37,47 @@ select {
.spanc {
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;
font-weight: bold;
}
#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>
<script>
//权限控制
@ -138,7 +179,7 @@ select {
}
</script>
<body onload="setValue();" scroll="no">
<form name="form1" method="post" action="/servlet/EmpManage">
<form name="form1" method="post" action="/servlet/EmpManage" style="height: 100%;" >
<input type="hidden" name="operate" value="" />
<table width="99%" border="0" align="center" cellpadding="0"
cellspacing="1" class="box">
@ -227,22 +268,22 @@ select {
int rowcount = buf.getRowCount();
%>
<table width="99%" border="0" align="center" cellpadding="0"
cellspacing="1" class="box">
cellspacing="1" class="box" style="height: 87%;" >
<tr>
<td>
<div style="width: 100%; height: 380px ; overflow: auto;">
<div style="width: 100%; height: 96% ; overflow: auto;">
<div id="myGrid" class="2k3Grid" borderWidth="0"
contextMenu="mnuGridContextMenu" altRowColor="oldLace">
<div class="gridHead">
<!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div-->
<div class="gridRow">
<span width="5px" style="text-align: center;">序号 <%=login.getEmpid() %></span> <span
width="10px">人员编号</span> <span width="10px">人员状态</span> <span
width="10px">人员姓名</span> <span width="7px">人员性别</span> <span
width="7px">涉密程度</span> <span width="10px">是否为要害部门</span> <span
width="10px">联系电话</span> <span width="7px">政治面貌</span>
<span width="5px" style="text-align: center;width: 100px; ">序号 <%=login.getEmpid() %></span> <span
width="10px">人员编号</span> <span width="10px" style="width: 100px;" >人员状态</span> <span
width="10px">人员姓名</span> <span width="7px" style="width: 100px;" >人员性别</span> <span
width="7px" style="width: 100px;" >涉密程度</span> <span width="10px">是否为要害部门</span> <span
width="10px">联系电话</span> <span width="7px" style="width: 100px;" >政治面貌</span>
<span width="10px">出生年月</span>
<span width="15px ">管理</span>
<span style="width: 182px;border-right: none; ">管理</span>
</div>
</div>
<div class="gridBody">
@ -260,33 +301,40 @@ select {
if (tempExaminestate.equals("0")) {tempExaminestate = "已审核";disabled = "";} else { tempExaminestate = "未审核"; disabled = "";}
%>
<div class="gridRow">
<span width="5px" style="text-align: center;"><%=i + 1%>
<input type="checkbox" name="empids" value="<%=tempEmpid%>"></span>
<span><%=tempEmpid%></span> <span>
<% if (tempstate.equals("正常")) {%> <img src="../../images1/ok.png" width="16" height="16" alt="正常" style="cursor: pointer;">
<% } else {%> <img src="../../images1/nook.png" width="16" height="16" alt="已注销" style="cursor: pointer;">
<span width="5px" style="text-align: center;width: 100px;"><%=i + 1%>
<input type="checkbox" name="empids" value="<%=tempEmpid%>">
</span>
<span><%=tempEmpid%></span>
<span style="width: 100px;">
<% if (tempstate.equals("正常")) {%> <img src="../../images1/ok.png" width="16" height="16" alt="正常" style="cursor: pointer;margin-top: 7%;">
<% } else {%> <img src="../../images1/nook.png" width="16" height="16" alt="已注销" style="cursor: pointer;margin-top: 7%;">
<% } %>
</span> <span><%=buf.fget("empname", i)%></span> <span><%=tmpsex%></span>
<span><%=buf.fget("empschool", i)%></span> <span><%=buf.fget("yaohaidemept", i)%></span>
<span><%=buf.fget("empcontphone", i)%></span> <span><%=buf.fget("emppolitics", i)%></span>
<span><%=buf.fget("birthday", i)%></span> <span width="15px">
</span>
<span><%=buf.fget("empname", i)%></span>
<span style="width: 100px;"><%=tmpsex%></span>
<span style="width: 100px;"><%=buf.fget("empschool", i)%></span>
<span><%=buf.fget("yaohaidemept", i)%></span>
<span><%=buf.fget("empcontphone", i)%></span>
<span style="width: 100px;"><%=buf.fget("emppolitics", i)%></span>
<span><%=buf.fget("birthday", i)%></span>
<span style="width: 182px;border-right: none;">
<% if (login.getSanyuan().equals("0")) {%>
<% if(employeeid.equals(login.getEmpid()) || login.getEmpid().equals("ADMIN") || login.getEmpid().equals("ZHKYADMIN")){ %>
<a href=" /servlet/EmpManage?operate=queryEmpselectEmpId&empid=<%=tempEmpid%>&nationstate=<%=tenationstate%>"><img
border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;" /></a>
<% if (tempstate.equals("正常")) { %> <img border="0" src="../../../images1/unlockTask.png" ALT="已激活" style="cursor: pointer;" />
<a href=" /servlet/EmpManage?operate=queryEmpselectEmpId&empid=<%=tempEmpid%>&nationstate=<%=tenationstate%>"><img
border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;" /></a>
<% if (tempstate.equals("正常")) { %> <img border="0" src="../../../images1/unlockTask.png" ALT="已激活" style="cursor: pointer;" />
<% } else { %>
<% if (tempExaminestate.equals("已审核")) { %>
<a href=" /servlet/EmpManage?operate=queryEmpstateEmpId&empid=<%=tempEmpid%>"
onclick="return confirm('确定要激活此人吗?')"><img border="0" src="../../../images1/lockTask.png" ALT="激活"
style="cursor: pointer;" /></a>
style="cursor: pointer;" /></a>
<% } else { %> <img border="0" src="../../../images1/lockTask.png" ALT="激活" style="cursor: pointer;"
onclick="return confirm('此用户未进行审核,请先审核,再激活!')" />
onclick="return confirm('此用户未进行审核,请先审核,再激活!')" />
<% } %>
<% } %>
<a href="/servlet/EmpManage?operate=initPwd&empid=<%=tempEmpid%>"><img
border="0" src="../../../images1/password.gif" ALT="初始化密码"/>
</a>
</a>
<%--<input border="0" type="image" src="../../../images1/password.gif"
ALT="初始化密码" style="cursor: pointer;" name="button2"
@ -297,26 +345,26 @@ select {
<input border="0" type="image" src="../../../images1/edit.gif"
ALT="修改" style="cursor: pointer;" name="button2"
onclick="check('queryEmpByEmpId','<%=tempEmpid%>');" />
<input border="0" type="image"
<input border="0" type="image"
src="../../../images1/delete.gif" ALT="删除"
style="cursor: pointer;" name="button2"
onclick="check('queryEmpBydelete','<%=tempEmpid%>');" />
<%}else{ %> <%} %>
<%}else{ %> <%} %>
<% } else if (login.getSanyuan().equals("1")) { %>
<% if(employeeid.equals(login.getEmpid()) || login.getEmpid().equals("ADMIN") || login.getEmpid().equals("ZHKYADMIN")){ %>
<a href=" /servlet/EmpManage?operate=queryEmpselectEmpId&empid=<%=tempEmpid%>&nationstate=<%=tenationstate%>"><img
border="0" src="../../../images1/read_document.png" ALT="查看"
style="cursor: pointer;" /></a> <%}else{ %> <%} %> <% } else { %>
style="cursor: pointer;" /></a><%}else{ %> <%} %> <% } else { %>
<%
if(employeeid.equals(login.getEmpid()) || login.getEmpid().equals("ADMIN") || login.getEmpid().equals("ZHKYADMIN")){
%>
<a href=" /servlet/EmpManage?operate=queryEmpselectEmpId&empid=<%=tempEmpid%>&nationstate=<%=tenationstate%>"><img
border="0" src="../../../images1/read_document.png" ALT="查看"
style="cursor: pointer;" /></a> <input border="0"
style="cursor: pointer;" /></a><input border="0"
type="image" src="../../../images1/edit.gif" ALT="修改"
style="cursor: pointer;" name="button2"
onclick="check('queryEmpByEmpId','<%=tempEmpid%>');" />
<input border="0" type="image"
<input border="0" type="image"
src="../../../images1/delete.gif" ALT="删除"
style="cursor: pointer;" name="button2"
onclick="check('queryEmpBydelete','<%=tempEmpid%>');" /> <%}else{ %>