dismission_confirm.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <%
- /**
- * $RCSfile: dismission_confirm.jsp,v $
- * $Revision: 1.0 $
- * $Date: 2001/05/17 20:57:46 $
- * /mainctrl/intranet/dismission/dismission_confirm
- */
- %>
- <%@ 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.*" %>
- <%@ page import="java.sql.Timestamp" %>
- <jsp:useBean id="hrProxyBean" class="com.vnex.intranet.hr.employer_info.proxy.MemberInfoProxyBean" scope="application" />
- <jsp:useBean id="memberInfoBean" class="com.vnex.intranet.hr.employer_info.value.MemberInfo" scope="session" />
- <jsp:useBean id="taskPendingProxy" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" scope="application"/>
- <jsp:useBean id="taskPendingCondition" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingConditionBean" scope="page"/>
- <%
- int emp_id = -1;
- String str = request.getParameter("emp_id");
- if ( str != null )
- {
- emp_id = Integer.parseInt( str );
- }
- //MemberInfoDAO mi = new MemberInfoDAO();
- String doDismission = request.getParameter("doDismission");
- if ( doDismission != null )
- {
- if ( emp_id == memberInfoBean.getId() )
- {
- hrProxyBean.infoSetDismission( emp_id );
- session.removeValue("memberInfoBean");
- //System.out.println("*******************dismisssion ok");
- response.sendRedirect("/mainctrl/intranet/hr/search_result");
- }
- else
- {
- throw new Exception("操作超时,或者您没有按照步骤进行操作!");
- }
- }
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_hr.js"></script>
- <script language="JavaScript" src="/vnex/menu/dockmenu.js"></script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <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>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td bgcolor="#fafafa">
- <table class=title cellspacing=1 width="600" border=0>
- <tr bgcolor="#666666">
- <td colspan="3"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>>><a href="/mainctrl/intranet/hr/search_result"><font color="#FFFFFF">员工信息</font></a>>><a href="/mainctrl/intranet/hr/edit_basic_info?emp_id=<%= emp_id %>"><font color="#FFFFFF">本公司工作履历维护</font></a>>>员工离职确认</font></td>
- </tr>
- <%
- taskPendingCondition.setEmployeeId(emp_id);
- taskPendingCondition.setType(0);
- int newTask = taskPendingProxy.queryPretaskList(taskPendingCondition).size();
- %>
- <tr>
- <%
- if ( newTask != 0 )
- {
- %>
- <td bgcolor="#fafafa" colspan="3"><font color="#FF0000"> 此职员目前还有 <%= newTask %> 个需要交接的工作任务!</font></td>
- <%
- }
- else
- {
- %>
- <td bgcolor="#fafafa" colspan="3"> 此职员目前已经完成工作的交接!</td>
- <%
- }
- %>
- </tr>
- <tr>
- <td bgcolor="#e0e0e0" colspan="3"> 此操作,将设置此员工为离职状态,他(她)不在具有使用此系统的权限,我们可以在离职员工的列表中找到此员工的相关信息。<br>
- 您确认要这样做吗?</td>
- </tr>
- <tr bgcolor="#fafafa" align="center">
- <td colspan="3" height="30">
- <%
- if ( newTask == 0 )
- {
- %>
- <input type="submit" value="确认" name="B1" class=text>
-
- <%
- }
- %>
- <input type="button" value="放弃" name="B22" onClick="history.back()" class=text>
- <input type=hidden name=doDismission value="<%= emp_id %>" >
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <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>