employee_change_formal_setting.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <%
- /**
- * $RCSfile: employee_change_formal_setting.jsp,v $
- * $Revision: 1.0 $
- * $Date: 2001/05/17 20:57:46 $
- * /mainctrl/intranet/hr/change_formal_setting
- */
- %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.hr.employer_info.value.*"%>
- <%@ page import="com.vnex.intranet.hr.employer_info.process.*"%>
- <%@ page import="com.vnex.intranet.hr.util.*"%>
- <%@ page import="java.util.*" %>
- <jsp:useBean id="memberInfoBean" class="com.vnex.intranet.hr.employer_info.value.MemberInfo" scope="session" />
- <jsp:useBean id="contractBean" class="com.vnex.intranet.hr.employer_info.value.MemberContract" scope="page" />
- <jsp:setProperty name="contractBean" property="*" />
- <%
- boolean isExist = false;
- int emp_id = -1;
- String str = request.getParameter("emp_id");
- if ( str != null )
- {
- emp_id = Integer.parseInt( str );
- contractBean.setEmployerId( emp_id );
- session.setAttribute("contractBean", contractBean);
- }
- //MemberContractDAO mi = new MemberContractDAO();
- if ( request.getParameter("doAdd") != null && memberInfoBean.getId() > 0 )
- {
- //System.out.println("****************do Add");
- hrProxyBean.contractCreate( contractBean );
- }
- else if ( request.getParameter("doSave") != null && memberInfoBean.getId() > 0 )
- {
- //System.out.println("****************do Save");
- hrProxyBean.contractStore( contractBean );
- isExist = true;
- }
- else
- {
- //System.out.println("****************do Find");
- contractBean = hrProxyBean.contractFind( memberInfoBean.getId() );
- if ( contractBean != null )
- {
- isExist = true;
- session.setAttribute( "contractBean", contractBean );
- }
- }
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff
- topMargin=0 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript" src="/vnex/validate.js"></script>
- <script language="JavaScript" src="/vnex/menu/menu.js">
- /*
- Static Top Menu Script
- By ChunyiYang
- */
- </script>
- <script language="JavaScript" src="/vnex/menu/menucontext.js"></script>
- <script language="JavaScript">
- showToolbar();
- </script>
- <script language="JavaScript">
- function UpdateIt(){
- if (document.all){
- document.all["MainTable"].style.top = document.body.scrollTop;
- setTimeout("UpdateIt()", 200);
- }
- }
- UpdateIt();
- </script>
- <DIV align=center>
- <form name="form1" method="post" action="">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center">
- <br>
- <br>
- <table width="400" border="0">
- <tr>
- <td align="center"><font class="strong">员工转正设置</font></td>
- </tr>
- </table>
- <span class=iframestyle
- style="OVERFLOW: visible; HEIGHT: 100%">
- <table class=title cellspacing=1 cellpadding=2 width="400" border=0>
- <tr>
- <td bgcolor="#e0e0e0" width="34%" align="center"><font class=strong>姓名:</font></td>
- <td bgcolor="#e0e0e0" colspan="2" width="79%"> 张三</td>
- </tr>
- <tr>
- <td bgcolor="#fafafa" width="34%" align="center"><font class=strong>转正后部门:</font></td>
- <td bgcolor="#fafafa" colspan="2" width="79%">
- <select style="WIDTH: 100px" name="select">
- <option value="0">技术开发部</option>
- <option value="0">人力资源部</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="34%" align="center"><font class=strong>转正后职位:</font></td>
- <td colspan="2" width="79%">
- <input type="text" name="textfield3222" class=text size="20">
- </td>
- </tr>
- <tr>
- <td bgcolor="#fafafa" width="34%" align="center"><font class=strong>转正后工资:</font></td>
- <td bgcolor="#fafafa" colspan="2" width="79%">
- <input type="text" name="textfield32222" class=text size="20">
- </td>
- </tr>
- </table>
- </span>
- <!--休假事件表结束 -->
- <br><br>
- <input type="button" value="增加" name="B1" onClick="location='employee_change_formal.htm'" class=button>
- <input type="button" value="取消" name="B2" class=button>
- <br><br>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>