detail.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <%@ page import="java.util.*"%>
- <%@ page import="com.vnex.intranet.util.*" %>
- <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" />
- <jsp:useBean id="dvb" class="com.vnex.intranet.vehicle.driver.value.DriverViewBean" scope="page" />
- <%
- String id = request.getParameter("empId");
- int empId = Integer.parseInt( id );
- dvb = driverProxy.getDriverInfo( empId );
- String peccancyLink = "/mainctrl/driver/listPeccancy?empId=" + dvb.getEmpId() +
- "&empName=" + dvb.getName() + "&automobileId=" + dvb.getAutomobileId();
- String accidentLink = "/mainctrl/driver/listAccident?empId=" + dvb.getEmpId() +
- "&empName=" + dvb.getName() + "&automobileId=" + dvb.getAutomobileId();
- %>
- <!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 deleteDriver(form)
- {
- if(confirm("是否要删除当前司机?"))
- {
- form.action="/mainctrl/driver/deleteDriver";
- form.submit();
- }
- }
- function modifyDriver(form)
- {
- form.action="/mainctrl/driver/modifyDriver";
- form.submit();
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <input type="hidden" name="empId" value="<%=request.getParameter("empId")%>">
- <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 class=title width="600" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <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/listDriver"><font color="#FFFFFF">司机管理</font></a>>>司机详细信息
- </font></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 姓名:</font>
- </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getName()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"> <font class="strong"> 部门:</font>
- </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getDepartment()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 联系信息:</font>
- </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getContactInfo()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"> <font class="strong"> 驾驶证号:</font>
- </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getLicenceNo()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 准驾车型:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(dvb.getTypePermited()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"> <font class="strong"> 配备车辆:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(dvb.getAutomobileSerialNo()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 备案地点:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(dvb.getAddressIssued()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"> <font class="strong"> 领证时间</font>:
- </td>
- <td width="487"><%= dvb.getTimeIssuedS() %> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 下次验证日期</font>:
- </td>
- <td width="487"> <%= dvb.getNextTimeS() %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"><font class="strong"> 违章情况说明:</font></td>
- <td width="487" bordercolor="#000000"><a href="<%= peccancyLink %>">查看违章记录</a></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="130"> <font class="strong"> 事故情况说明:</font>
- </td>
- <td width="487"> <a href="<%= accidentLink %>">查看事故记录</a></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="130"><font class="strong"> 其他说明:</font></td>
- <td width="487"><%= FieldUtil.filterScriptTag(dvb.getNote()) %></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td colspan="2" height="30">
- <input type="button" name="Submit25" value="修改" class="file" onClick="modifyDriver(this.form)">
- <input type="button" name="Submit2" value="删除" class="file" onClick="deleteDriver(this.form)">
- <input type="button" name="Submit22" value="返回" class="file" onClick="location='/mainctrl/driver/listDriver'">
- </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>