department_training_plan_detail_client.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.hr.util.*" %>
  3. <%@ page import="com.vnex.intranet.hr.value.*" %> 
  4. <%@ page import="com.vnex.intranet.util.FieldUtil" %>
  5. <%@ page import="java.util.*"%>
  6. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  7. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  8. <%@ page import="com.vnex.intranet.organization.value.*"%>
  9. <%@ page import="com.vnex.intranet.organization.proxy.*"%>
  10. <jsp:useBean id="organizationProxy" scope="Application" class="com.vnex.intranet.organization.proxy.OrganizationProxyBean" />
  11. <jsp:useBean id="trainingProxy" class="com.vnex.intranet.hr.process.HRTrainingProcessBean" scope="page" />
  12. <jsp:useBean id="BusinessName" class="com.vnex.intranet.pub.BusinessSession" scope="session" />
  13. <%
  14.      HRTrainingValueBean tmpHRTrainingValueBean = new HRTrainingValueBean();
  15.      int trainId = Integer.parseInt(request.getParameter("trainId"));
  16.      String pageFlow = HRPayAndTrainingConstant.TRAINMODIFYPAGEFLOW;
  17.      String startDate = "";
  18.      String endDate = "";
  19.      tmpHRTrainingValueBean = trainingProxy.getTraining( trainId ); 
  20.      tmpHRTrainingValueBean.setPersonsName();
  21.          
  22.      startDate = tmpHRTrainingValueBean.getTrain_startdate().toString();
  23.      endDate = tmpHRTrainingValueBean.getTrain_enddate().toString();
  24.      startDate = startDate.substring(0, startDate.indexOf(" "));
  25.      endDate = endDate.substring(0, endDate.indexOf(" "));
  26. %>
  27. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  28. <HTML>
  29. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  30. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  31. <script language="JavaScript" src="/vnex/menu/dockmenu_person.js"></script>
  32. <script language="JavaScript" src="/vnex/menu/dockmenu.js"></script>
  33. <DIV align=center>
  34. <form name="maintain" method=POST>
  35.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  36.     <tbody>
  37.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  38.     <TR> 
  39.         <TD colSpan=3 align="center"> 
  40.           <br>
  41.           <!--休假事件表开始 -->
  42.            <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  43.             <tr>
  44.               <td> 
  45.                 <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
  46.                   <tr> 
  47.                     <td bgcolor="#666666"><font class="strongw">
  48.                     <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;
  49.                     <a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;
  50.                     <a href="/mainctrl/personal/personal_info/index"><font color="#ffffff">个人信息</font></a>&gt;&gt;
  51.                     <a href="/mainctrl/training/statisticClient?emp_id=<%=request.getParameter("emp_id")%>"><font color="#ffffff">培训记录</font></a>&gt;&gt;
  52.                     培训记录详细情况</font></td>
  53.                   </tr>
  54.                 </table>  
  55.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  56.       <tr bgcolor="#fafafa"> 
  57.         <td width="26%"><strong>&nbsp;部门名称:</strong></td>
  58.         <td width="74%"><%=BusinessName.getDeptName()%>
  59.         </td>
  60.       </tr>
  61.       <tr bgcolor="#e0e0e0"> 
  62.         <td width="26%"><strong>&nbsp;培训主题:</strong></td>
  63.         <td width="74%"><%=FieldUtil.filterQuotTag(FieldUtil.filterScriptTag(tmpHRTrainingValueBean.getTrain_name()))%>
  64.         </td>
  65.       </tr>
  66.       <tr bgcolor="#fafafa"> 
  67.         <td width="26%"><strong>&nbsp;主讲:</strong></td>
  68.         <td width="74%"><%=tmpHRTrainingValueBean.getTrain_teacher()%>
  69.         </td>
  70.       </tr>
  71.       <tr bgcolor="#e0e0e0"> 
  72.         <td width="26%"><strong>&nbsp;地点:</strong></td>
  73.         <td width="74%"> 
  74.                 <%=tmpHRTrainingValueBean.getTrain_address()%>"
  75.         </td>
  76.       </tr>
  77.       <tr bgcolor="#fafafa"> 
  78.         <td width="26%"><strong>&nbsp;培训方式:</strong></td>
  79.         <td width="74%"><%=tmpHRTrainingValueBean.getTrain_type()%>
  80.         </td>
  81.       </tr>
  82.       <tr bgcolor="#e0e0e0"> 
  83.         <td width="26%"><strong>&nbsp;状态:</strong></td>
  84.         <td width="74%"> 
  85.       <%
  86.                             TrainType aTrainType = new TrainType();
  87.                             ArrayList typeList1 = aTrainType.getAllEType();
  88.                             
  89.                             for (int i = 0;i<typeList1.size() ;i++) {
  90.                                   aTrainType = ( TrainType )typeList1.get(i);
  91.                                   if( aTrainType.getTypeId() == tmpHRTrainingValueBean.getDd_train_id() )
  92.                                   {
  93.                                        out.println(aTrainType.getTypeName());     
  94.                                        break;
  95.                                   }
  96.                             }     
  97.                                
  98.         %> 
  99.          </td>
  100.        </tr>
  101.       <tr bgcolor="#fafafa"> 
  102.         <td width="26%"><strong>&nbsp;培训时间:</strong></td>
  103.         <td width="74%">从&nbsp;<%=startDate%>&nbsp;至&nbsp;<%=endDate%>
  104.         </td>
  105.       </tr>
  106.       <tr bgcolor="#e0e0e0">
  107.          <td width="26%"><strong>&nbsp;参加人员:</strong></td>
  108.          <td><%=tmpHRTrainingValueBean.getTrain_persons()%>
  109.          </td>
  110.        </tr>
  111.       <tr bgcolor="#fafafa" align="center" height="30">
  112.         <td colspan="2">
  113.   &nbsp;&nbsp;<input type="button" value="返回" name="B3" class="text" onclick="history.back()"> 
  114.  </td>
  115.       </tr> 
  116.     </table>
  117.     </td>
  118.     </tr>
  119.     </table>
  120.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  121.         </TD>
  122.     </TR>
  123.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  124.     </TBODY> 
  125.     </TABLE>
  126.   <BR>
  127.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  128.   </form></DIV>
  129. </BODY></HTML>