<%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page language="java" contentType="text/html;charset=utf-8"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <% Login login = (Login) request.getSession().getAttribute("login"); String empid = Common.convertNull(request.getParameter("empid")); String empstate = request.getParameter("empstate"); String examintstate =request.getParameter("examintstate"); String empname = Common.convertNull(request.getParameter("empname")); String operate = (String)request.getParameter("operate"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String pcs = Common.convertNull(request.getParameter("pcs")); String optrid = login_obj.optrid; String optrjob = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPJOB",optrid); %> <html> <head> <title>审核管理</title> <link rel="stylesheet" type="text/css" href="../../../css/font.css"> <script src="/js/check.js"></script> <link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css"> <style type="text/css"> html { overflow-x:hidden; overflow-y:hidden; } select { width:155px; } </style> <script> function textToUpperCase(){ if(event.keyCode>=65 && event.keyCode<=100 || event.type=="change"){ event.srcElement.value = event.srcElement.value.toUpperCase(); } } function setValue() { <% if (!Common.isNull(empstate)) { out.println("form1.empstate.value='" + empstate + "';"); } if (!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } if (!Common.isNull(sj)) { out.println("form1.sj.value='" + sj + "';"); } if (!Common.isNull(pcs)) { out.println("form1.pcs.value='" + pcs + "';"); } if (!Common.isNull(operate)) { out.println("form1.operate.value='" + operate + "';"); } if (!Common.isNull(examintstate)) { out.println("form1.examintstate.value='" + examintstate + "';"); } %> } function check(operate,empid) { form1.operate.value=operate; if (operate == "queryEmpEmpId") { form1.action = " /servlet/ExmManage?operate=queryEmpEmpId&empid=" + empid; } if (operate == "queryExamine"){ form1.action = "/servlet/ExmManage?operate=queryExamine"; } form1.button1.disabled=true; if (form1.button3){ form1.button3.disabled=false; } form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smry/rysh/ExamineManage.jsp"; form1.submit(); } </script> </head> <body onload="setValue();"> <form name="form1" method="post" action="/servlet/ExmManage"> <table width="100%" 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="left" cellpadding="0" cellspacing="0"> <tr> <td width="3%"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="97%" class="font12b"> <b>涉密人员审核</b></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> <input type="hidden" name="operate" value=""/> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02"> <tr bgcolor="#FFFFFF"> <td class="cell1">所属地市</td> <td class="cell2" width="10%"> <select class='aselect' name="sj" setValue="<%=sj%>" onChange="selectChange(1);"> <%=Para.getSj(getPara)%> </select> </td> <td class="cell1">所属区县</td> <td class="cell2" width="10%"> <select class='aselect' name="qj" setValue="<%=qj%>" <%if(sj.equals("0930")){ %> disabled="disabled" <%} %> onChange="selectChange(1);"> <%=Para.getQj(getPara,sj)%> </select> </td> <td class="cell1">所属单位</td> <td class="cell2" width="10%"> <select class='aselect' name="pcs" setValue="<%=pcs%>"> <%if(sj.equals("0930")){ %> <%=Para.getXx1(getPara, sj)%> <%}else { %> <%=Para.getXx(getPara, qj)%> <%} %> </select> </td> <td class="cell1">审核状态</td> <td class="cell2" > <select class='aselect' name="examintstate" id="examintstate"> <%=Para.getExamineState(getPara,"EXAMINESTATE")%> </select> </td> </tr> <tr bgcolor="#FFFFFF"> <td class="cell1">人员姓名</td> <td class="cell2" width="10%" > <input type="text" name="empname" maxlength="8" onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"> </td> <td colspan="6"> <input type="image" name="button1" border="0" type="image" src="../../../images1/cx.png" alt="查询" onclick="check('queryExamine');"/> </td> </tr> </table> </td> </tr> </table> <br> <% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("employee_info"); if (buf != null) { int rowcount = buf.getRowCount(); %> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="box"> <tr> <td> <div style="width:100%; height:385px;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" ><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 width="11px" ><b>联系电话</b></span> <span width="11px" ><b>户籍地址</b></span> <span width="10px" >管理</span> </div> </div> <div class="gridBody"> <% for (int i=0; i<rowcount; i++) { String tenationstate = buf.fget("nationstate", i); String tempEmpid = buf.fget("empid",i); String tempstate = buf.fget("empstate",i); String tempExaminestate =buf.fget("examintstate", i); String empcontphone=buf.fget("empcontphone", i); String emphomeAddress=buf.fget("emphomeAddress", i); String disabled = ""; if (tempExaminestate.equals("0")) { tempExaminestate = "已审核"; disabled = ""; } else { tempExaminestate = "未审核"; disabled = ""; } if (tempstate.equals("1")) { tempstate = "正常"; disabled = ""; } else { tempstate = "注销"; disabled = "disabled"; } %> <div class="gridRow"> <span width="5px" style="text-align: center;"><%=i+1%></span> <span><%=tempEmpid%></span> <span><%=buf.fget("empname",i)%></span> <span> <% if(tempExaminestate.equals("已审核")){ %> <img src="../../../images1/pass.png" width="16" height="16" alt="通过" style="cursor: pointer;"> <% }else{ %> <img src="../../../images1/nopass.png" width="16" height="16" alt="通过" style="cursor: pointer;"> <% } %> </span> <span><%=buf.fget("examintname", i) %></span> <span><%=buf.fget("examinttime", i) %></span> <span> <% if(tempstate.equals("正常")){ %> <img src="../../../images1/ok.png" width="16" height="16" alt="正常" style="cursor: pointer;"> <% }else{ %> <img src="../../../images1/nook.png" alt="已注销" style="cursor: pointer;"> <% } %> </span> <span> <% if(empcontphone.equals("")){%> 未完善 <% }else{ %> <%=buf.fget("empcontphone",i)%> <%} %> </span> <span> <% if(emphomeAddress.equals("")){%> 未完善 <% }else{ %> <%=buf.fget("emphomeAddress",i)%> <%} %> </span> <span> <%if(login.getSanyuan().equals("0")){ %> <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 src="../../../images1/1.png" alt="已审核" style="cursor: pointer;" border="0" /> <% }else {%> <input type="image" name="button1" border="0" style="cursor: pointer; margin-left :2px;" type="image" src="../../../images1/car_apply.png" alt="审核" onclick="check('queryEmpEmpId','<%=buf.fget("empid",i)%>')"/> <%}%> <%} else if(login.getSanyuan().equals("1")){%> <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 src="../../../images1/1.png" alt="已审核" style="cursor: pointer;" border="0" /> <% }else {%> <input type="image" name="button1" border="0" style="cursor: pointer; margin-left :2px;" type="image" src="../../../images1/car_apply.png" alt="审核" onclick="check('queryEmpEmpId','<%=buf.fget("empid",i)%>')"/> <%}%> <%}else{ %> <a href=" /servlet/EmpManage?operate=queryEmpselectEmpId&empid=<%=tempEmpid%>&nationstate=<%=tenationstate%>" ><img border="0" src="../../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> <%} %> </span> </div> <% } %> </div> <!-- gridBody end --> </div> <!-- myGrid end --> </div> <tag:PageLinkTag operate="queryExamine" scope="request" width="100%" align="center"/> <% } %> <tr> <td> </table> </form> </body> </html>