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

电子政务应用

开发平台:

Java

  1. <%
  2. /**
  3.  * $RCSfile: employee_degree_info.jsp,v $
  4.  * $Revision: 1.0 $
  5.  * $Date: 2001/05/17 20:57:46 $
  6.  * /mainctrl/intranet/dismission/degree_info
  7.  */
  8. %>
  9. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  10. <%@ page import="com.vnex.intranet.hr.employer_info.value.*"%>
  11. <%@ page import="com.vnex.intranet.hr.employer_info.process.*"%>
  12. <%@ page import="com.vnex.intranet.hr.util.*"%>
  13. <%@ page import="java.util.*" %>
  14. <%@ page import="java.sql.Timestamp" %>
  15. <jsp:useBean id="hrProxyBean" class="com.vnex.intranet.hr.employer_info.proxy.MemberInfoProxyBean" scope="application" />
  16. <%
  17.     String start = request.getParameter("start");
  18.     int emp_id = -1;
  19.     String str = request.getParameter("emp_id");
  20.     if ( str != null )
  21.     {
  22.         emp_id = Integer.parseInt( str );
  23.     }
  24.     Collection pageColl = new ArrayList();
  25.    pageColl = hrProxyBean.educationalInfoFind( emp_id );
  26. %>
  27. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  28. <HTML>
  29. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  30. <STYLE>
  31. #ssm2 A {
  32. FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
  33. }
  34. #ssm2 A:hover {
  35. COLOR: red
  36. }
  37. </STYLE>
  38. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  39. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  40. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  41. <DIV align=center>
  42. <form name="form1" method="post" action="">
  43.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  44.      <TR> 
  45.       <TD><IMG height=4 src="/vnex/MacOS/lefttop.gif" width=6></TD>
  46.       <TD background=/vnex/MacOS/top.gif colSpan=3><IMG height=4 
  47.       src="/vnex/MacOS/top.gif" width=1></TD>
  48.       <TD><IMG height=4 src="/vnex/MacOS/righttop.gif"></TD>
  49.     </TR>
  50.     <TR> 
  51.       <TD vAlign=top background=/vnex/MacOS/lwing.gif rowSpan=3><IMG height=18 
  52.       src="/vnex/MacOS/left.gif" width=6></TD>
  53.       <TD vAlign=top background=/vnex/MacOS/titlebg.gif width="16"> 
  54.           <DIV><a href="/vnex/index.htm"><img src="/vnex/MacOS/logo.gif" width="16" height="16" border="0"></a></DIV>
  55.       </TD>
  56.         <TD vAlign=top noWrap align=center width="100%" 
  57.     background=/vnex/MacOS/titlebg.gif><SPAN 
  58.       style="BACKGROUND-COLOR: #cecece"><FONT class=strong> Net - OFFICE </font></SPAN></TD>
  59.         <TD><a href="javascript:self.close()"><IMG height=18 src="/vnex/MacOS/right_b2.gif" width=18 border="0" alt="关闭窗口"></a></TD>
  60.       <TD vAlign=top background=/vnex/MacOS/rwing.gif rowSpan=3><IMG height=18 
  61.       src="/vnex/MacOS/right.gif" width=7></TD>
  62.     </TR>
  63.     <TR> 
  64.       <TD background=/vnex/MacOS/hr.gif colSpan=3><IMG height=2 
  65.       src="/vnex/MacOS/hr.gif" width=1></TD>
  66.     </TR>
  67.     <TR> 
  68.         <TD colSpan=3 align="center"> 
  69.           <br>
  70.       <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  71.             <tr>
  72.               <td bgcolor="#fafafa">
  73.                 <table class=title cellspacing=1 width="600" border=0>
  74.                   <tr> 
  75.                     <td colspan="3" bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/intranet/hr/search_result"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;<a href="/mainctrl/intranet/hr/dismission_search"><font color="#FFFFFF">个人信息</font></a>&gt;&gt;学历信息</font></td>
  76.                   </tr>
  77.                   <tr bgcolor="#e0e0e0"> 
  78.                      <td colspan="3" height="30">&nbsp; 
  79.                       <input type="button" style="width:60px" value="基本信息" onClick="location='/mainctrl/personal/personal_info/basic_info?emp_id=<%= emp_id %>&start=<%= start %>'" name="B322" class=text>
  80.                       &nbsp;&nbsp; 
  81.                       <input type="button" style="width:60px" value="个人信息" onClick="location='/mainctrl/personal/personal_info/personal_info?emp_id=<%= emp_id %>&start=<%= start %>'" name="B322" class=text>
  82.                       &nbsp;&nbsp; 
  83.                       <input type="button" style="width:60px" value="学历信息" onClick="location='/mainctrl/personal/personal_info/degree_info?emp_id=<%= emp_id %>&start=<%= start %>'" name="B322" class=text>
  84.                       &nbsp;&nbsp; 
  85.                       <input type="button" style="width:60px" value="履历信息" onClick="location='/mainctrl/personal/personal_info/resume?emp_id=<%= emp_id %>&start=<%= start %>'" name="B322" class=text>
  86.                       &nbsp;&nbsp; 
  87.                       <input type="button" style="width:95px" value="本公司工作履历" onClick="location='/mainctrl/personal/personal_info/inner_resume?emp_id=<%= emp_id %>&start=<%= start %>'" name="B322" class=text>
  88.                       &nbsp;&nbsp; </td>
  89.                   </tr>
  90.                 </table>
  91.                 <table width="600" border="0" cellspacing="1" cellpadding="2" class=title>
  92.                   <tr> 
  93.                     <td colspan="2" align="center"><font class=strong>学校</font></td>
  94.                     <td width="113" align="center"><font class=strong>专业</font></td>
  95.                     <td width="107" align="center"><font class=strong>时间</font></td>
  96.                     <td width="68" align="center"><font class=strong>学历</font></td>
  97.                     <td width="166" align="center"><font class=strong>特殊技能/资格</font></td>
  98.                   </tr>
  99.     <% 
  100.         //构建交错颜色显示 
  101.         String bgColor = "";
  102.         int colorNum = 0;
  103.         
  104.         Iterator iterD = pageColl.iterator();
  105.         while ( iterD.hasNext() )
  106.         {
  107.             //根据colorNum的奇偶变换颜色
  108.             colorNum++;
  109.             if( colorNum % 2 == 0 )
  110.             {
  111.                 bgColor = "#fafafa";
  112.             }
  113.             else
  114.             {
  115.                 bgColor = "#e0e0e0";
  116.             }
  117.             
  118.             MemberEducationalInfo mei = (MemberEducationalInfo)iterD.next();
  119.     %>
  120.                   <tr> 
  121.                     <td colspan="2" align="center" bgcolor="<%=bgColor%>"><%= mei.getSchoolName() %></td>
  122.                     <td width="113" align="center" bgcolor="<%=bgColor%>"><%= mei.getSubject() %></td>
  123.                     <td width="107" align="center" bgcolor="<%=bgColor%>"><%= MyDateFormat.myDate(mei.getStartDate()) %>至<%= MyDateFormat.myDate(mei.getEndDate()) %></td>
  124.                     <td width="68" align="center" bgcolor="<%=bgColor%>"><%= MemberEducationLevel.getInstance(mei.getEduLevelId()) %></td>
  125.                     <td width="166" align="center" bgcolor="<%=bgColor%>"><%= mei.getSpecial() %></td>
  126.                   </tr>
  127.     <%
  128.         }
  129.     %>
  130.                 </table>
  131.                 <table class=title cellspacing=1 width="600" border=0>
  132.                   <tr> 
  133.                     <td colspan="3" height="30" align="center" bgcolor="#fafafa"> 
  134.                       &nbsp; &nbsp; 
  135.                       <input type="button" value="返回" name="B22" onClick="location='/mainctrl/personal/personal_info/index'"  class=text>
  136.                     </td>
  137.                   </tr>
  138.                 </table>
  139.               </td>
  140.             </tr>
  141.           </table> 
  142.            <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  143. </TD>
  144.     </TR>
  145.    <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  146.     </TABLE>
  147.   <BR>
  148.     <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  149.     <input type=hidden name=start value=<%= start %> >
  150.   </form></DIV>
  151. </BODY></HTML>