list_auto_booking.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_vehicle_automobile.tld" prefix="vnex_auto" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <%@ page import="java.util.*"%>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="bookingProxy" scope="application" class="com.vnex.intranet.vehicle.automobile.booking.proxy.AutoBookingProxyBean" />
- <jsp:useBean id="condition" scope="page" class="com.vnex.intranet.vehicle.automobile.booking.value.AutoBookingConditionBean" />
- <%
- String statusId = request.getParameter("statusId");
- if( statusId == null )
- {
- statusId = "0";
- }
- condition.setStatusId( Integer.parseInt( statusId ) );
- condition.setEmployeeId( BusinessName.getEmpId() );
- String link = "/mainctrl/booking/detailAutoBooking?statusId=" + statusId + "&";
- String start = "";
- if( request.getParameter("start") != null )
- {
- start = "&start=" + request.getParameter("start");
- }
- %>
- <!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>
- function listAutoBooking(form)
- {
- form.action="/mainctrl/booking/listAutoBooking";
- form.submit();
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <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="6" 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>>>车辆预订管理
- </font></td>
- </tr>
- <tr>
- <td colspan="4"> 查询状态
- <select name="statusId">
- <option value="0" <% if( statusId.equals("0") ) out.print("selected"); %>>全部</option>
- <option value="1" <% if( statusId.equals("1") ) out.print("selected"); %>>待批</option>
- <option value="2" <% if( statusId.equals("2") ) out.print("selected"); %>>同意</option>
- <option value="3" <% if( statusId.equals("3") ) out.print("selected"); %>>拒绝</option>
- </select>
- <input type="submit" name="Submit" class="file" onclick="listAutoBooking(this.form)" value="查询">
- </td>
- </tr>
- </table>
- <table class=title cellspacing=1 cellpadding=2 width="100%" border=0>
- <tr align=middle>
- <td width="9%"><font class="strong">车型</font></td>
- <td width="12%"><font class="strong">牌号 </font></td>
- <td width="15%"><font class="strong">开始时间</font></td>
- <td width="15%"> <font class="strong">终止时间</font> </td>
- <td width="20%"><font class="strong">理由</font></td>
- <td width="20%"><font class="strong">路线</font></td>
- <td width="9%" ><font class="strong">状态</font></td>
- </tr>
- <vnex_auto:autoBookingList condition="<%= condition %>">
- <vnex:items paging="true">
- <tr align=middle bgcolor="<vnex:itemsColor />">
- <td width="9%" height="27"> <vnex_auto:automobileBookingAttribute attribute="autoTypeName"/></td>
- <td width="12%" height="27"><a href="<%= link %>id=<vnex_auto:automobileBookingAttribute attribute="id"/>"><vnex_auto:automobileBookingAttribute attribute="carCertNo"/></a></td>
- <td width="15%" height="27"><vnex_auto:automobileBookingAttribute attribute="beginTime"/></td>
- <td width="15%" height="27"><vnex_auto:automobileBookingAttribute attribute="endTime"/></td>
- <td width="20%" height="27"><vnex_auto:automobileBookingAttribute attribute="reason"/></td>
- <td width="20%" height="27"><vnex_auto:automobileBookingAttribute attribute="route"/></td>
- <td width="9%" height="27" ><vnex_auto:automobileBookingAttribute attribute="statusName"/></td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan="8" align="left" bgcolor="#e0e0e0">
- <vnex:pagingTag pageName="/mainctrl/booking/listAutoBooking?a" />
- </td>
- </tr>
- </vnex_auto:autoBookingList>
- </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>