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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
  3. <%@ page import="java.util.*"%>
  4. <%@ page import="com.vnex.intranet.util.*" %>
  5. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  6. <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
  7. <jsp:useBean id="dvb" class="com.vnex.intranet.vehicle.driver.value.DriverViewBean" scope="page" /> 
  8. <%      
  9.     String id = request.getParameter("empId");
  10.     int empId = Integer.parseInt( id );      
  11.     dvb = driverProxy.getDriverInfo( empId );
  12.     
  13.     String peccancyLink = "/mainctrl/driver/listPeccancy?empId=" + dvb.getEmpId() + 
  14.                           "&empName=" + dvb.getName() + "&automobileId=" + dvb.getAutomobileId();
  15.     String accidentLink = "/mainctrl/driver/listAccident?empId=" + dvb.getEmpId() + 
  16.                           "&empName=" + dvb.getName() + "&automobileId=" + dvb.getAutomobileId();                          
  17. %>
  18. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  19. <HTML>
  20. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  21. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  22. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  23. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  24. <script language=JavaScript>
  25. function deleteDriver(form)
  26. {
  27.     if(confirm("是否要删除当前司机?"))
  28.     {
  29.         form.action="/mainctrl/driver/deleteDriver";
  30.         form.submit();
  31.     }
  32. }
  33. function modifyDriver(form)
  34. {
  35.    form.action="/mainctrl/driver/modifyDriver";
  36.    form.submit();
  37. }
  38. </script>
  39. <DIV align=center>
  40. <form name="myform" method="post" action="">
  41. <input type="hidden" name="empId" value="<%=request.getParameter("empId")%>">
  42.    
  43.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  44.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  45.     <TR> 
  46.         <TD colSpan=3 align="center"><br>
  47.            <!--个人信息开始 -->
  48.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  49.             <tr bgcolor="#fafafa"> 
  50.               <td> 
  51.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  52.                   <tr> 
  53.                     <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/listDriver"><font color="#FFFFFF">司机管理</font></a>&gt;&gt;司机详细信息                    
  54.                       </font></td>
  55.                   </tr>
  56.                   <tr bgcolor="#fafafa"> 
  57.                     <td width="130"> <font class="strong">&nbsp;姓名:</font> 
  58.                     </td>
  59.                     <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getName()) %> </td>
  60.                   </tr>
  61.                   <tr bgcolor="#e0e0e0"> 
  62.                     <td width="130"> <font class="strong">&nbsp;部门:</font> 
  63.                     </td>
  64.                     <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getDepartment()) %></td>
  65.                   </tr>
  66.                   <tr bgcolor="#fafafa"> 
  67.                     <td width="130"> <font class="strong">&nbsp;联系信息:</font> 
  68.                     </td>
  69.                     <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getContactInfo()) %></td>
  70.                   </tr>
  71.                   <tr bgcolor="#e0e0e0"> 
  72.                     <td width="130"> <font class="strong">&nbsp;驾驶证号:</font> 
  73.                     </td>
  74.                     <td width="487"> <%= FieldUtil.filterScriptTag(dvb.getLicenceNo()) %></td>
  75.                   </tr>
  76.                   <tr bgcolor="#fafafa"> 
  77.                     <td width="130"> <font  class="strong">&nbsp;准驾车型: 
  78.                       </font> </td>
  79.                     <td width="487"><%= FieldUtil.filterScriptTag(dvb.getTypePermited()) %></td>
  80.                   </tr>
  81.                   <tr bgcolor="#e0e0e0"> 
  82.                     <td width="130"> <font  class="strong">&nbsp;配备车辆: 
  83.                       </font> </td>
  84.                     <td width="487"><%= FieldUtil.filterScriptTag(dvb.getAutomobileSerialNo()) %></td>
  85.                   </tr>
  86.                   <tr bgcolor="#fafafa"> 
  87.                     <td width="130"> <font  class="strong">&nbsp;备案地点: 
  88.                       </font> </td>
  89.                     <td width="487"><%= FieldUtil.filterScriptTag(dvb.getAddressIssued()) %></td>
  90.                   </tr>
  91.                   <tr bgcolor="#e0e0e0"> 
  92.                     <td width="130"> <font  class="strong">&nbsp;领证时间</font>: 
  93.                     </td>
  94.                     <td width="487"><%= dvb.getTimeIssuedS() %> </td>
  95.                   </tr>
  96.                   <tr bgcolor="#fafafa"> 
  97.                     <td width="130"> <font  class="strong">&nbsp;下次验证日期</font>: 
  98.                     </td>
  99.                     <td width="487"> <%= dvb.getNextTimeS() %> </td>
  100.                   </tr>
  101.                   <tr bgcolor="#e0e0e0"> 
  102.                     <td width="130"><font  class="strong">&nbsp;违章情况说明:</font></td>
  103.                     <td width="487" bordercolor="#000000"><a href="<%= peccancyLink %>">查看违章记录</a></td>
  104.                   </tr>
  105.                   <tr bgcolor="#fafafa"> 
  106.                     <td width="130"> <font  class="strong">&nbsp;事故情况说明:</font> 
  107.                     </td>
  108.                     <td width="487"> <a href="<%= accidentLink %>">查看事故记录</a></td>
  109.                   </tr>
  110.                   <tr bgcolor="#e0e0e0"> 
  111.                     <td width="130"><font  class="strong">&nbsp;其他说明:</font></td>
  112.                     <td width="487"><%= FieldUtil.filterScriptTag(dvb.getNote()) %></td>
  113.                   </tr>
  114.                   <tr align="center" bgcolor="#fafafa"> 
  115.                     <td colspan="2" height="30"> 
  116.                       <input type="button" name="Submit25" value="修改" class="file" onClick="modifyDriver(this.form)">&nbsp;&nbsp;
  117.                       <input type="button" name="Submit2" value="删除" class="file" onClick="deleteDriver(this.form)">&nbsp;&nbsp;
  118.                       <input type="button" name="Submit22" value="返回" class="file" onClick="location='/mainctrl/driver/listDriver'">
  119.                     </td>
  120.                   </tr>
  121.                 </table>
  122.               </td>
  123.             </tr>
  124.           </table>           
  125.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  126.         </TD>
  127.     </TR>
  128.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  129.     </TABLE>
  130.   <BR>
  131.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  132. </form></DIV>
  133. </BODY></HTML>