overtime_statistic.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_vehicle_driver.tld" prefix="vnex_driver" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <%@ page import="com.vnex.intranet.util.*"%>
- <%@ page import="java.util.*"%>
- <%@ page import="java.sql.Timestamp"%>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
- <%
- String timeS = request.getParameter("timeS");
- if( timeS == null || timeS.equals("") )
- {
- timeS = MyDateFormat.myDate( TimeStamp.convertCalendarToTimestamp( Calendar.getInstance() ) );
- }
- Timestamp condition = MyDateFormat.myDate( timeS );
- Calendar cal = TimeStamp.convertTimestampToCalendar( condition );
- int year = cal.get( Calendar.YEAR );
- int month = cal.get( Calendar.MONTH ) + 1;
- cal.set(Calendar.MONTH,month);
- condition = TimeStamp.convertCalendarToTimestamp( cal );
- %>
- <!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=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
- <script language="JavaScript">
- function change(select)
- {
- myform.action="/mainctrl/driver/generateOvertimeStatistic";
- myform.submit();
- }
- function listWorkRecord(form)
- {
- form.action="/mainctrl/driver/listWorkRecord";
- form.submit();
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <input type="hidden" name="timeS" value="<%= timeS %>">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <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 bgcolor="#fafafa">
- <td>
- <table width="600" border="0" cellspacing="0" cellpadding="2">
- <tr bgcolor="#666666">
- <td colspan="2" height="15" bgcolor="#666666"><font class="strongw"> <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href="/mainctrl/driver/listWorkRecord"><font color="#FFFFFF">车辆出勤登记</font></a>>>驾驶员加班补助申报表
- </font></td>
- </tr>
- </table>
- <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
- <tr bgcolor="#fafafa">
- <td colspan="6"> <font class="strong"> <%= 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>
- </td>
- </tr>
- <tr align=middle>
- <td width="50"><font class="strong">序号</font></td>
- <td width="75"><font class="strong">姓名</font></td>
- <td width="85"><font class="strong">平时延长时间</font></td>
- <td width="85"><font class="strong">双休日加班 </font></td>
- <td width="85"><font class="strong">节假日加班</font></td>
- <td width="183"><font class="strong">备注</font></td>
- </tr>
- <vnex_driver:overtimeList condition="<%= condition %>">
- <vnex:items paging="true">
- <tr align=middle bgcolor="<vnex:itemsColor />">
- <td width="50"><vnex:itemsRowNum /></td>
- <td width="75"> <vnex_driver:overtimeAttribute attribute="name"/></td>
- <td width="85"><vnex_driver:overtimeAttribute attribute="peace_time"/></td>
- <td width="85"><vnex_driver:overtimeAttribute attribute="weekend"/></td>
- <td width="85"><vnex_driver:overtimeAttribute attribute="festival"/></td>
- <td width="183"><vnex_driver:overtimeAttribute attribute="note"/> </td>
- </tr>
- </vnex:items>
- </vnex_driver:overtimeList>
- <tr bgcolor="#e0e0e0">
- <td colspan="6">
- <table width="100%" border="0">
- <tr>
- <td width="50%"> 车队负责人: </td>
- <td width="50%">人事部负责人: </td>
- </tr>
- <tr>
- <td width="50%"> 办公室负责人: </td>
- <td width="50%"> 财务部负责人:</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align=center bgcolor="#fafafa">
- <td colspan="6" height="30">
- <input type="button" name="Button3222" value="返回" class="file" onClick="listWorkRecord(this.form)">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>