safe_driving_statistic.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
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 );
- String link = "/mainctrl/driver/modifySafetyDriving?timeS=" + timeS;
- %>
- <!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 SelectAll(form)
- {
- for (var i=0;i<form.elements.length;i++)
- {
- var e = form.elements[i];
- if (e.name != 'C1')
- e.checked = form.C1.checked;
- }
- }
- function change(select)
- {
- myform.action="/mainctrl/driver/listSafetyDriving";
- myform.submit();
- }
- function listDrivingFee(select)
- {
- myform.action="/mainctrl/driver/listDrivingFee";
- myform.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/listDrivingFee"><font color="#FFFFFF">车辆行驶费用</font></a>>>驾驶员安全行驶奖统计申报表
- </td>
- </tr>
- </table>
- <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
- <tr bgcolor="#fafafa">
- <td colspan="12"> <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><font class="strong">序号</font></td>
- <td><font class="strong">姓名</font></td>
- <td><font class="strong">车牌号</font></td>
- <td><font class="strong">里程表底</font></td>
- <td><font class="strong">里程表</font></td>
- <td><font class="strong">总计行走公里</font></td>
- <td><font class="strong">耗油(公升)</font></td>
- <td><font class="strong">元/公里</font></td>
- <td><font class="strong">安全考核</font></td>
- <td><font class="strong">奖金 </font></td>
- <td><font class="strong">签字</font></td>
- <td><font class="strong">备注</font></td>
- </tr>
- <vnex_driver:safetyDrivingList condition="<%= condition %>">
- <vnex:items paging="false">
- <tr align=middle bgcolor="<vnex:itemsColor />">
- <td><vnex:itemsRowNum /></td>
- <td><a href="<%= link %>&id=<vnex_driver:safetyDrivingAttribute attribute="id"/>"><vnex_driver:safetyDrivingAttribute attribute="name"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="auto"/></a></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="base_odometer"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="odometer"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="miles"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="oil"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="fee_mile"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="examination"/></td>
- <td><vnex_driver:safetyDrivingAttribute attribute="bonus"/></td>
- <td> </td>
- <td><vnex_driver:safetyDrivingAttribute attribute="note"/></td>
- </tr>
- </vnex:items>
- </vnex_driver:safetyDrivingList>
- <tr bgcolor="#e0e0e0">
- <td colspan="12">
- <table width="100%" border="0">
- <tr>
- <td> 车队负责人: </td>
- <td>人事部负责人: </td>
- </tr>
- <tr>
- <td> 办公室负责人: </td>
- <td>财务部负责人: </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align=center bgcolor="#fafafa">
- <td colspan="12" height="30">
- <input type="button" name="Button3222" value="返回" class="file" onClick="listDrivingFee(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>