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

电子政务应用

开发平台:

Java

  1. <%
  2. /**
  3.  * $RCSfile: employee_statistic_totallist.jsp,v $
  4.  * $Revision: 1.0 $
  5.  * $Date: 2001/05/17 20:57:46 $
  6.  * /mainctrl/intranet/hr/salary_create_alllist
  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.     boolean doCreateAllList = false;
  18.     if ( request.getParameter("doCreateAllList") != null )
  19.     {
  20.          hrProxyBean.createAllList();
  21.           doCreateAllList = true;
  22.  
  23.  
  24.     }
  25. %>
  26. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  27. <HTML>
  28. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  29. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  30. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_hr.js"></script>
  31. <script language="JavaScript" src="/vnex/menu/dockmenu.js"></script>
  32. <script language="JavaScript" src="/vnex/validate.js"></script>
  33. <script language=JavaScript>
  34. function submitCreateAllList()
  35. {
  36.     if ( confirm("你确认要生成所有的职员的本月工资单?n此项操作将会耗费比较长的时间!") )
  37.     {
  38.         form1.action= "/mainctrl/intranet/hr/salary_create_alllist?doCreateAllList=1";
  39.         form1.submit();
  40.     }
  41.     else return false;
  42. }
  43. </script>
  44. <DIV align=center>
  45. <form name="form1" method="post" action="">
  46.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  47.     <TBODY>
  48.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  49.     <TR> 
  50.         <TD colSpan=3 align="center"> 
  51.           <br>
  52.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  53.             <tr>
  54.               <td bgcolor="#fafafa"> 
  55.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  56.                   <tr bgcolor="#666666"> 
  57.                     <td><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>&gt;&gt;<a href="/mainctrl/intranet/hr/salary_statistic_main"><font color="#FFFFFF">薪酬统计</font></a>&gt;&gt;生成工资单</font></td>
  58.                   </tr>
  59.               <%
  60.                 if ( !doCreateAllList )
  61.                 {
  62.               %>
  63.                   <tr bgcolor="#e0e0e0"> 
  64.                     <td><font class=strong>&nbsp;&nbsp;&nbsp;&nbsp;此操作将生成公司所有员工本月的工资单,如果员工在薪酬设置中已经生成了此月的工资单,则此操作将会跳过此员工的生成工资单操作,生成之后,在统计查询中才可以看到此月的薪酬数据。 
  65.                       <br>
  66.                       &nbsp;&nbsp;&nbsp;&nbsp;此操作将会耗费较长时间,您确定要进行此操作吗?</font></td>
  67.                   </tr>
  68.                   <tr bgcolor="#fafafa" align="center"> 
  69.                     <td height="30"> 
  70.                       <input type="submit" value="确定" name="B38" class=text onclick="return submitCreateAllList()">
  71.                       &nbsp;&nbsp; 
  72.                       <input type="button" value="放弃" name="B23" onClick="history.back()"  class=text>
  73.                     </td>
  74.                   </tr>
  75.             <%
  76.                 } else {
  77.             %>
  78.                   <tr bgcolor="#e0e0e0"> 
  79.                     <td><font class=strong>&nbsp;&nbsp;&nbsp;&nbsp;您成功生成了所有职员本月的工资单!</font></td>
  80.                   </tr>
  81.                   <tr bgcolor="#fafafa" align="center"> 
  82.                     <td height="30"> 
  83.                       <input type="button" value="返回" name="B38" class=text     onclick="location='/mainctrl/intranet/hr/salary_statistic_main'">
  84.                     </td>
  85.                   </tr>
  86.             <%
  87.                 } 
  88.             %>
  89.                 </table>
  90.               </td>
  91.             </tr>
  92.           </table>
  93.           <br>
  94.           <br>
  95.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  96.         </TD>
  97.     </TR>
  98.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  99.     </TBODY> 
  100.     </TABLE>
  101.   <BR>
  102.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  103.   </form></DIV>
  104. </BODY></HTML>