<%@page import="com.zky.para.Para"%> <%@ page import="com.zky.bjca.SM4" %> <%@ page import="cn.org.bjca.utils.Base64" %> <%@include file="/auth.jsp"%> <%@page language="java" contentType="text/html;charset=utf-8"%> <% Login login = (Login) request.getSession().getAttribute("login"); String operate = (String) request.getParameter("operate"); String trainId = Common.convertNull(request .getParameter("train_id")); String empid = Common.convertNull(request.getParameter("empid")); String trainState = request.getParameter("trainState"); String trainType = Common.convertNull(request .getParameter("trainType")); String trainSubject = Common.convertNull(request .getParameter("trainSubject")); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String pcs = Common.convertNull(request.getParameter("pcs")); String user = Common.convertNull(request.getParameter("user")); Login loginObj = (Login) session.getAttribute("login"); String optrid = loginObj.optrid; String optrname = getPara.getDesc("TAB_EMPLOYEE", "EMPID", "EMPNAME", optrid); String optrjob = getPara.getDesc("TAB_EMPLOYEE", "EMPID", "EMPJOB", optrid); %> 培训管理
 涉密人员培训
所属地市 所属区县 所属单位 培训人员   
<% if (login.getSanyuan().equals("0")) { %> <% } else if (login.getSanyuan().equals("1")) { %> <% } else { %> <% } %>
<% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("train_info"); if (buf != null) { int rowcount = buf.getRowCount(); %>
序号 培训状态 审批人 培训人员姓名 培训类型 培训对象 培训开始日期 培训结束日期 培训地点 操作
<% for (int i = 0; i < rowcount; i++) { String disabled = ""; String tempTrainid = buf.fget("train_id", i); String tempType = buf.fget("train_type", i); String tempState = buf.fget("train_state", i); String tempSubject = buf.fget("train_subject", i); String tempempid=buf.fget("empid",i); String employid=login.getEmpid(); if (tempType.equals("0")) { tempType = "资料学习"; disabled = ""; } else if (tempType.equals("1")) { tempType = "视频学习"; disabled = "disabled"; } else if (tempType.equals("2")) { tempType = "音频学习"; disabled = "disabled"; } if (tempState.equals("0")) { tempState = "通过"; disabled = ""; } else { tempState = "不通过"; disabled = "disabled"; } if (tempSubject.equals("0")) { tempSubject = "涉密文件"; disabled = ""; } else if (tempSubject.equals("1")) { tempSubject = "涉密设备"; disabled = "disabled"; } else if (tempSubject.equals("2")) { tempSubject = "涉密资产"; disabled = "disabled"; } else if (tempSubject.equals("3")) { tempSubject = "涉密人员"; disabled = "disabled"; } %>
<%=i + 1%> <% if (tempState.equals("通过")) { %> 通过 <% } else { %> 未通过 <% } %> <%=buf.fget("empid", i)%> <%=buf.fget("train_name", i)%> <%=tempType%> <%=tempSubject%> <%=buf.fget("train_time", i)%> <%=buf.fget("train_timeend", i)%> <%=SM4.SM4Decrypt(Base64.decode(buf.fget("TRAIN_ADDRESS", i)))%> <% if (login.getSanyuan().equals("0")) { %> 查看修改 <% if (tempState.equals("不通过")) { %> <% } else { %> 已审核 <% } %> <% } else if (login.getSanyuan().equals("1")) { %> 查看 <% if (tempState.equals("不通过")) { %> <% } else { %> 已审核 <% } %> <% } else { %> 查看修改 <% } %>
<% } %>
<% } %>
<%@include file="/foot.jsp"%>