<%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page import="java.util.Date"%> <%@ page import="com.zky.bjca.SM4" %> <%@ page import="cn.org.bjca.utils.Base64" %> <%@page language="java" pageEncoding="utf-8" %> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <% HashFmlBuf buf = (HashFmlBuf)request.getAttribute("by_trainId"); String qj = ""; String departid=Common.convertNull(request.getParameter("qj")); String sj = Common.convertNull(request.getParameter("sj")); Login loginObj = (Login)session.getAttribute("login"); String tainType=buf.fget("train_type", 0); String trainSubject=buf.fget("train_subject", 0); String optrid = loginObj.optrid; String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid); %> <html> <head> <title>培训管理</title> <link href="../../css/font.css" rel="stylesheet" type="text/css"> <script src="../../js/date.js"></script> <script src="../../js/check.js"></script> <script> function textToUpperCase(){ if(event.keyCode>=65 && event.keyCode<=99 || event.type=="change"){ event.srcElement.value = event.srcElement.value.toUpperCase(); } } function check(operate) { form1.operate.value = operate; if(operate=='modifyTrainState'){ if (form1.sj.value == "") { alert("请选择地市!"); form1.sj.focus(); return false; } if (form1.qj.value == "") { alert("请选择区县!"); form1.qj.focus(); return false; } if(form1.trainState.value=="") { alert("请选择状态"); form1.trainState.focus(); return false; } } form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smry/rypx/TrainState.jsp"; form1.submit(); } </script> <style type="text/css"> .aselect{ width: 155px; } </style> </head> <body onload="setValue();"> <form name="form1" method="post" action="/servlet/TrainManage"> <input type="hidden" name="operate" value=""/> <input type="hidden" name="trainId" value="<%=buf.fget("train_id", 0)%>"/> <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="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="3%"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="97%" class="font12b"> 培训审核管理</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="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02"> <tr bgcolor="#FFFFFF"> <td class="cell1" style="line-height: 35px; width: 10%">所属地市</td> <td class="cell2" style="line-height: 35px; width: 10%"> <%=buf.fget("FRAMEWORKNAME", 0)%> </td> <td class="cell1" style="line-height: 35px; width: 10%">所属区县</td> <td class="cell2" style="line-height: 35px; width: 10%"> <%=buf.fget("areadef", 0)%> </td> <td class="cell1" style="line-height: 30px;">所属单位</td> <td class="cell2" > <%=buf.fget("departname", 0)%> </td> </tr> <tr bgcolor="#FFFFFF"> <td class="cell1" style="line-height: 35px; width: 10%">培训类型</td> <td class="cell2" style="line-height: 35px; width: 10%"> <% if(tainType.equals("0")){ %> 资料学习 <% }else if(tainType.equals("1")){ %> 视频学习 <% }else{ %> 音频学习 <% } %> </td> <td class="cell1" style="line-height: 35px; width: 10%">培训人姓名</td> <td class="cell2" style="line-height: 35px; width: 10%"> <%=buf.fget("train_name",0) %> </td> <td class="cell1" style="line-height: 35px; width: 10%">培训对象</td> <td class="cell2" style="line-height: 35px; width: 10%"> <% if(trainSubject.equals("0")){ %> 涉密文件 <% }else if(trainSubject.equals("1")){ %> 涉密设备 <% }else if(trainSubject.equals("2")){ %> 涉密资产 <% }else{ %> 涉密人员 <% } %> </td> </tr> <tr bgcolor="#FFFFFF"> <td class="cell1" style="line-height: 35px; width: 10%">培训地点</td> <td class="cell2" style="line-height: 35px; width: 10%" > <%=SM4.SM4Decrypt(Base64.decode(buf.fget("train_address", 0))) %> </td> <td class="cell1" style="line-height: 35px; width: 10%">培训状态</td> <td class="cell2" style="line-height: 35px; width: 10%" colspan="3"> <select class='aselect' name="trainState" id="trainState" <%=buf.fget("train_state",0) %>> <%=Para.getTrainState(getPara,"TRAINSTATE")%> </select><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF"> <td class="cell1" style="line-height: 35px; width: 10%">领导审批意见</td> <td class="cell2" style="line-height: 35px; width: 10%" colspan="5" > <textarea cols="50" rows="5" name="tainerInfo"> </textarea> </td> </tr> </table> <br> <table width="99%" align="center"> <tr align="center"> <td> <input border="0" type="image" src="../../images1/bc1.png" alt="保存" onclick="check('modifyTrainState')"/> <a href="javascript:history.go(-1)"><img src="../../images1/fh.png" alt="返回" border="0" /></a> </td> </tr> </table> </td> </tr> </table> <%@include file="/foot.jsp"%> </form> </body> </html>