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

电子政务应用

开发平台:

Java

  1. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  2. <%@ taglib uri="/vnex_vehicle_driver.tld" prefix="vnex_driver" %>
  3. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  4. <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
  5. <%@ page import="com.vnex.intranet.util.*"%>
  6. <%@ page import="java.util.*"%>
  7. <%@ page import="java.sql.Timestamp"%>
  8. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  9. <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
  10. <%      
  11.     String timeS = request.getParameter("timeS");    
  12.     if( timeS == null || timeS.equals("") )
  13.     {
  14.         timeS = MyDateFormat.myDate( TimeStamp.convertCalendarToTimestamp( Calendar.getInstance() ) );
  15.     }   
  16.     Timestamp condition = MyDateFormat.myDate( timeS );  
  17.     Calendar cal = TimeStamp.convertTimestampToCalendar( condition );      
  18.     int year = cal.get( Calendar.YEAR );
  19.     int month = cal.get( Calendar.MONTH ) + 1;
  20.     cal.set(Calendar.MONTH,month);
  21.     condition = TimeStamp.convertCalendarToTimestamp( cal );                     
  22. %>
  23. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  24. <HTML>
  25. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  26. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  27. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  28. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  29. <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
  30. <script language="JavaScript">
  31. function change(select)
  32. {
  33. myform.action="/mainctrl/driver/generateOvertimeStatistic";
  34. myform.submit();
  35. }
  36. function listWorkRecord(form)
  37. {
  38.    form.action="/mainctrl/driver/listWorkRecord";
  39.    form.submit();
  40. }
  41. </script>
  42. <DIV align=center>
  43. <form name="myform" method="post" action="">
  44. <input type="hidden" name="timeS" value="<%= timeS %>">   
  45.    
  46.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  47.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  48.     <TR> 
  49.         <TD colSpan=3 align="center"> <br> <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  50.             <tr bgcolor="#fafafa"> 
  51.               <td> 
  52.                 <table width="600" border="0" cellspacing="0" cellpadding="2">
  53.                   <tr bgcolor="#666666"> 
  54.                     <td colspan="2" height="15" bgcolor="#666666"><font class="strongw">&nbsp;<a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>&gt;&gt;<a href="/mainctrl/driver/listWorkRecord"><font color="#FFFFFF">车辆出勤登记</font></a>&gt;&gt;驾驶员加班补助申报表                                        
  55.                     </font></td>
  56.                   </tr>
  57.                 </table>
  58.                 <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
  59.                   <tr bgcolor="#fafafa"> 
  60.                     <td colspan="6"> <font class="strong">&nbsp;<%= year %>年<%= month %>月 <img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(timeS);change(this);return false;" width="16" height="16"></font> 
  61.                     </td>
  62.                   </tr>                  
  63.                   <tr align=middle> 
  64.                     <td width="50"><font  class="strong">序号</font></td>
  65.                     <td width="75"><font  class="strong">姓名</font></td>
  66.                     <td width="85"><font  class="strong">平时延长时间</font></td>
  67.                     <td width="85"><font  class="strong">双休日加班 </font></td>
  68.                     <td width="85"><font  class="strong">节假日加班</font></td>
  69.                     <td width="183"><font  class="strong">备注</font></td>
  70.                   </tr>  
  71.                   <vnex_driver:overtimeList condition="<%= condition %>">                   
  72.                   <vnex:items paging="true">  
  73.                   <tr align=middle bgcolor="<vnex:itemsColor />"> 
  74.                     <td width="50"><vnex:itemsRowNum /></td>
  75.                     <td width="75"> <vnex_driver:overtimeAttribute attribute="name"/></td>
  76.                     <td width="85"><vnex_driver:overtimeAttribute attribute="peace_time"/></td>
  77.                     <td width="85"><vnex_driver:overtimeAttribute attribute="weekend"/></td>
  78.                     <td width="85"><vnex_driver:overtimeAttribute attribute="festival"/></td>
  79.                     <td width="183"><vnex_driver:overtimeAttribute attribute="note"/> </td>
  80.                   </tr>
  81.                   </vnex:items> 
  82.                   </vnex_driver:overtimeList>                  
  83.                   <tr bgcolor="#e0e0e0"> 
  84.                     <td colspan="6"> 
  85.                        <table width="100%" border="0">
  86.                           <tr> 
  87.                             
  88.                           <td width="50%">&nbsp;车队负责人: </td>
  89.                             
  90.                           <td width="50%">人事部负责人: </td>
  91.                           </tr>
  92.                           <tr> 
  93.                             
  94.                           <td width="50%">&nbsp;办公室负责人: </td>
  95.                             
  96.                           <td width="50%"> 财务部负责人:</td>
  97.                           </tr>
  98.                         </table>
  99.                      </td>
  100.                   </tr>
  101.                   <tr align=center bgcolor="#fafafa"> 
  102.                     <td colspan="6" height="30"> 
  103.                       <input type="button" name="Button3222" value="返回" class="file" onClick="listWorkRecord(this.form)">
  104.                     </td>
  105.                   </tr>
  106.                 </table>
  107.               </td>
  108.             </tr>
  109.           </table>
  110.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  111.        </TD>
  112.     </TR>
  113.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  114.     </TABLE>
  115.   <BR>
  116.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  117. </form></DIV>
  118. </BODY></HTML>