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

电子政务应用

开发平台:

Java

  1. <%
  2. /**
  3.  * $RCSfile: employee_change_formal_setting.jsp,v $
  4.  * $Revision: 1.0 $
  5.  * $Date: 2001/05/17 20:57:46 $
  6.  * /mainctrl/intranet/hr/change_formal_setting
  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. <jsp:useBean id="memberInfoBean" class="com.vnex.intranet.hr.employer_info.value.MemberInfo" scope="session" />
  15. <jsp:useBean id="contractBean" class="com.vnex.intranet.hr.employer_info.value.MemberContract" scope="page" />
  16. <jsp:setProperty name="contractBean" property="*" />
  17. <%
  18.     boolean isExist = false;
  19.     int emp_id = -1;
  20.     String str = request.getParameter("emp_id");
  21.     if ( str != null )
  22.     {
  23.         emp_id = Integer.parseInt( str );
  24.         contractBean.setEmployerId( emp_id );
  25.         session.setAttribute("contractBean", contractBean);
  26.     }
  27.     //MemberContractDAO mi = new MemberContractDAO();
  28.     if ( request.getParameter("doAdd") != null && memberInfoBean.getId() > 0 )
  29.     {
  30.         //System.out.println("****************do Add");
  31.         hrProxyBean.contractCreate( contractBean );
  32.     }
  33.     else if ( request.getParameter("doSave") != null && memberInfoBean.getId() > 0 )
  34.     {
  35.         //System.out.println("****************do Save");
  36.         hrProxyBean.contractStore( contractBean );
  37.         isExist = true;
  38.     }
  39.     else
  40.     {
  41.         //System.out.println("****************do Find");
  42.         contractBean = hrProxyBean.contractFind( memberInfoBean.getId() );
  43.         if ( contractBean != null )
  44.         {
  45.             isExist = true;
  46.             session.setAttribute( "contractBean", contractBean );
  47.         }
  48.     }
  49. %>
  50. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  51. <HTML>
  52. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  53. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff 
  54. topMargin=0 leftmargin="0" marginwidth="0" marginheight="0">
  55. <script language="JavaScript" src="/vnex/validate.js"></script>
  56. <script language="JavaScript" src="/vnex/menu/menu.js">
  57. /*
  58. Static Top Menu Script
  59. By ChunyiYang
  60. */
  61. </script>
  62. <script language="JavaScript" src="/vnex/menu/menucontext.js"></script>
  63. <script language="JavaScript">
  64. showToolbar();
  65. </script>
  66. <script language="JavaScript">
  67. function UpdateIt(){
  68. if (document.all){
  69. document.all["MainTable"].style.top = document.body.scrollTop;
  70. setTimeout("UpdateIt()", 200);
  71. }
  72. }
  73. UpdateIt();
  74. </script>
  75. <DIV align=center>
  76. <form name="form1" method="post" action="">
  77.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  78.     <TBODY>
  79.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  80.     <TR> 
  81.         <TD colSpan=3 align="center"> 
  82.           <br>
  83.           <br>
  84.           <table width="400" border="0">
  85.             <tr> 
  86.               <td align="center"><font class="strong">员工转正设置</font></td>
  87.             </tr>
  88.           </table>
  89.           <span class=iframestyle 
  90.             style="OVERFLOW: visible; HEIGHT: 100%"> 
  91.           <table class=title cellspacing=1 cellpadding=2 width="400" border=0>
  92.             <tr> 
  93.               <td bgcolor="#e0e0e0" width="34%" align="center"><font class=strong>姓名:</font></td>
  94.               <td bgcolor="#e0e0e0" colspan="2" width="79%"> 张三</td>
  95.             </tr>
  96.             <tr> 
  97.               <td bgcolor="#fafafa" width="34%" align="center"><font class=strong>转正后部门:</font></td>
  98.               <td bgcolor="#fafafa" colspan="2" width="79%"> 
  99.                 <select style="WIDTH: 100px" name="select">
  100.                   <option value="0">技术开发部</option>
  101.                   <option value="0">人力资源部</option>
  102.                 </select>
  103.               </td>
  104.             </tr>
  105.             <tr bgcolor="#e0e0e0"> 
  106.               <td width="34%" align="center"><font class=strong>转正后职位:</font></td>
  107.               <td colspan="2" width="79%">
  108.                 <input type="text" name="textfield3222" class=text size="20">
  109.               </td>
  110.             </tr>
  111.             <tr> 
  112.               <td bgcolor="#fafafa" width="34%" align="center"><font class=strong>转正后工资:</font></td>
  113.               <td bgcolor="#fafafa" colspan="2" width="79%">
  114.                 <input type="text" name="textfield32222" class=text size="20">
  115.               </td>
  116.             </tr>
  117.           </table>
  118.           </span> 
  119.           <!--休假事件表结束 -->
  120.           <br><br>
  121.           <input type="button" value="增加" name="B1" onClick="location='employee_change_formal.htm'" class=button>
  122.            
  123.         <input type="button" value="取消" name="B2" class=button>
  124.           <br><br>
  125.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  126.         </TD>
  127.     </TR>
  128.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  129.     </TBODY> 
  130.     </TABLE>
  131.   <BR>
  132.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  133.   </form></DIV>
  134. </BODY></HTML>