You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							292 lines
						
					
					
						
							9.0 KiB
						
					
					
				
			
		
		
	
	
							292 lines
						
					
					
						
							9.0 KiB
						
					
					
				| <%@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">
 | |
| .cell{
 | |
| 	font-size: 12px;
 | |
| 	color: #41247B;
 | |
| 	text-align: center;
 | |
| 	text-indent: 2px;
 | |
| }
 | |
| #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: 96%;
 | |
| }
 | |
| </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 doclickss(operate,funcct,arery){
 | |
| 	form1.operate.value=operate;
 | |
| 	if(operate=="queryStatScoreShowInfo"){
 | |
| 		 window.open('/servlet/TrainTjManage?operate=queryStatScoreShowInfo&trainname='+funcct+'&departid='+arery) ;
 | |
| 	}
 | |
| }
 | |
| function check(operate) {
 | |
| 	form1.operate.value=operate;
 | |
| 	
 | |
| 	if (operate == "queryStatScoreShowInfo") {
 | |
| 		  form1.action="/servlet/TrainTjManage?operate=queryStatScoreShowInfo";
 | |
| 	}
 | |
| 	if (operate == "queryTrainStat"){
 | |
|         form1.action="/servlet/TrainTjManage?operate=queryTrainStat";
 | |
| 	}
 | |
| 	if(operate=="exportExcelsmry")
 | |
| 	{
 | |
| 		form1.action="/servlet/TrainTjManage?operate=exportExcelsmry";
 | |
| 	}
 | |
| 	form1.submit();
 | |
| }
 | |
| function selectChange(i)
 | |
| {
 | |
| 	form1.action = "/zhyw/smtj/pxtj/TrainSmry.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/TrainTjManage">
 | |
| 
 | |
| <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" height="60px">
 | |
| 		<td class="cell" width="70">所属地市</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="cell" width="70">所属区县</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="cell" width="70">所属单位</td>
 | |
| 		<td class="cell2" width="156">
 | |
| 			<input type="text" name="pcs" setValue="<%=school%>"/>
 | |
| 		</td>	
 | |
| 		<td class="cell" width="70">人员姓名</td>
 | |
| 		 <td class="cell2" width="156"><input type="text" name="usename"  setValue="<%=name%>"  >
 | |
| 		</td>	
 | |
| 			<td class="cell" align="left"><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("DEPART_ID",i);
 | |
| 		    String TRAINNAME = URLEncoder.encode(buf.fget("TRAIN_NAME",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("TRAIN_NAME",i)%></span>
 | |
| 		<span><%=buf.fget("dddddd",i) %></span>
 | |
| 		<span>
 | |
| 		<a onclick="doclickss('queryStatScoreShowInfo','<%=buf.fget("TRAIN_NAME",i)%>','<%=buf.fget("DEPART_ID",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> |