<%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%> <%@page import="java.net.URLEncoder"%> <%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <% request.setCharacterEncoding("UTF-8");%> <% Login login = (Login) request.getSession().getAttribute("login"); String empid = Common.convertNull(request.getParameter("empid")); String username = Common.convertNull(request.getParameter("username")); String operate = (String)request.getParameter("operate"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String school = Common.convertNull(request.getParameter("pcs")); String name = Common.convertNull(request.getParameter("usename")); String optrid = login_obj.optrid; String optrjob = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPJOB",optrid); %> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>涉密人员考试</title> <link rel="stylesheet" type="text/css" href="../../../css/font.css"> <script src="/js/check.js"></script> <script src="../../../js/date.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"> #myGrid .gridHead{ height: 50px; line-height: 50px; background-color: #cce7f5; color: #000; font-size: 16px; font-weight: bold; box-sizing: border-box; } #myGrid .gridHead .gridRow{ display: flex; justify-content: start; } #myGrid .gridHead span{ text-align: center; display: inline-block; border-right: 1px solid #000000; box-sizing: border-box; } #myGrid .gridHead span:nth-child(1){ width: 100px; } #myGrid .gridHead span:nth-child(2){ width: 180px; } #myGrid .gridHead span:nth-child(3){ width: 200px; } #myGrid .gridHead span:nth-child(4){ width: 300px; } #myGrid .gridHead span:nth-child(5){ width: 200px; } #myGrid .gridHead span:nth-child(6){ width: 200px; } #myGrid .gridHead span:nth-child(7){ width: 297px; border-right: none; } #myGrid .gridBody .gridRow{ height: 30px; /*margin-top: 5px;*/ display: flex; justify-content: start; 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:nth-child(1){ width: 100px; } #myGrid .gridBody .gridRow span:nth-child(2){ width: 180px; } #myGrid .gridBody .gridRow span:nth-child(3){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(4){ width: 300px; } #myGrid .gridBody .gridRow span:nth-child(5){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(6){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(7){ width: 297px; border-right: none; } #myGrid .gridBody .gridRow span a,#myGrid .gridBody .gridRow span img,#myGrid .gridBody .gridRow span input { margin-right: 6px; margin-top: 6px; } form{ height: 100%; } </style> <script> function setValue() { <% if (!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } if (!Common.isNull(sj)) { out.println("form1.sj.value='" + sj + "';"); } if (!Common.isNull(school)) { out.println("form1.pcs.value='" + school + "';"); } if (!Common.isNull(name)) { out.println("form1.usename.value='" + name + "';"); } if (!Common.isNull(operate)) { out.println("form1.operate.value='" + operate + "';"); } %> } function check(operate) { form1.operate.value=operate; if (operate == "queryStatScoreShowInfo") { form1.action="/servlet/TybookTjManage?operate=queryStatScoreShowInfo"; } if (operate == "queryTrainStat"){ form1.action="/servlet/TybookTjManage?operate=queryTrainStat"; } if(operate=="exportExcelsmry") { form1.action="/servlet/TybookTjManage?operate=exportExcelsmry"; } form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smtj/kstj/TryBookSmry.jsp"; form1.submit(); } </script> <style type="text/css"> html { overflow-x:hidden; overflow-y:hidden; } </style> </head> <body scroll="no" onload="setValue();"> <form name="form1" method="post" action="/servlet/TybookTjManage"> <input type="hidden" name="operate" value=""/> <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="100%" height="23" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="6%" align="right"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="94%" 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> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02"> <tr bgcolor="#FFFFFF"> <td class="cell1" width="10" >所属地市</td> <td class="cell2" width="156" > <select class='aselect' name="sj" setValue="<%=sj%>" style="width:155px" onChange="selectChange(1);"> <%=Para.getSj(getPara)%> </select> </td> <td class="cell1" width="10">所属区县</td> <td class="cell2" width="156"> <select class='aselect' name="qj" setValue="<%=qj%>" <%if(sj.equals("0930")){ %> disabled="disabled" <%} %> onChange="selectChange(1);" style="width:155px"> <%=Para.getQj(getPara,sj)%> </select> </td> <td class="cell1">所属单位</td> <td class="cell2" width="156"> <input type="text" name="pcs" setValue="<%=school%>"> </td> <td class="cell1" >人员姓名</td> <td class="cell2" width="156"> <input type="text" name="usename" setValue="<%=name%>"> </td> <td class="cell1" colspan="2" ><input type="image" name="button1" src="../../../images1/cx.png" onClick="check('queryTrainStat');"/></td> <td class="cell2" width="156"></td> </tr> </table> </td> </tr> </table> <table width="99%" align="center"> <tr align="left"> <td> <%if(login.getSanyuan().equals("0")){ %> <input type="image" name="button2" alt="导出" src="../../../images1/dc.png" onClick="check('exportExcelsmry');"/> <%}else{ %> <%} %> </td> </tr> </table> <% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("SmryTj_info"); if (buf != null) { int rowcount = buf.getRowCount(); %> <table width="99%" border="0" align="center" style="height: 85%" cellpadding="0" cellspacing="1" class="box"> <tr> <td> <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;"><b>序号</b></span> <span width="7px">所属市州</span> <span width="7px">所属区县</span> <span width="17px"><b>所在单位</b></span> <span width="17px"><b>培训人员</b></span> <span width="9px"><b>考试次数</b></span> <span width="9px"><b>操作</b></span> </div> </div> <div class="gridBody"> <% for (int i=0; i<rowcount; i++) { String tempEmpid = buf.fget("DEPARTID",i); String TRAINNAME = URLEncoder.encode(buf.fget("EMPNAME",i),"UTF-8"); String tempstate = buf.fget("empstate",i); %> <div class="gridRow"> <span width="5px" style="text-align: center;"><%=i+1%></span> <span><%= buf.fget("FRAMEWORKNAME",i)%></span> <span><%= buf.fget("AREADEF",i)%></span> <span width="15px"><%=buf.fget("DEPARTNAME",i)%></span> <span width="15px"><%=buf.fget("EMPNAME",i)%></span> <span><%=buf.fget("dddddd",i) %></span> <span> <a target="_blank" href="/servlet/TybookTjManage?operate=queryStatScoreShowInfo&empid=<%=buf.fget("empid",i)%>&departid=<%=buf.fget("DEPARTID",i)%>" ><img src="../../images1/read_document.png" ALT="查看" border="0" style="cursor: pointer;"/></a> </span> </div> <% } %> </div> <!-- gridBody end --> </div> <!-- myGrid end --> </div> <tag:PageLinkTag operate="queryTrainStat" scope="request" width="99%" align="center"/> <% } %> </td> </tr> </table> </form> <%@include file="/foot.jsp"%> </body> </html>