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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.*" %>
  3. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  4. <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
  5. <jsp:useBean id="avb" class="com.vnex.intranet.vehicle.driver.value.AccidentValueBean" scope="page" /> 
  6. <%      
  7.     String id = request.getParameter("id");
  8.     int accidentId = Integer.parseInt( id );      
  9.     avb = driverProxy.getAccidentInfo( accidentId );                                
  10. %>
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  12. <HTML>
  13. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  14. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  15. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  16. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  17. <script language="JavaScript">
  18. function recover( obj )
  19. {    
  20.     if ( obj.checked ) obj.checked = false;
  21.     else obj.checked = true; 
  22. }
  23. function listAccident(form)
  24. {
  25.    form.action="/mainctrl/driver/listAccident";
  26.    form.submit();
  27. }
  28. function modifyAccident(form)
  29. {
  30.    form.action="/mainctrl/driver/modifyAccident";
  31.    form.submit();
  32. }
  33. function deleteAccident(form)
  34. {
  35.     if(confirm("是否要删除当前事故记录?"))
  36.     {
  37.         form.action="/mainctrl/driver/deleteAccident";
  38.         form.submit();
  39.     }
  40. }
  41. </script>
  42. <DIV align=center>
  43. <form name="myform" method="post" action="">
  44. <input type="hidden" name="empId" value="<%=request.getParameter("empId")%>">   
  45. <input type="hidden" name="empName" value="<%= request.getParameter("empName") %>">
  46. <input type="hidden" name="automobileId" value="<%= request.getParameter("automobileId") %>">
  47. <input type="hidden" name="id" value="<%= id %>">
  48.    
  49.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  50.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  51.     <TR> 
  52.         <TD colSpan=3 align="center"><br>
  53.            <!--个人信息开始 -->
  54.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  55.             <tr bgcolor="#fafafa"> 
  56.               <td> 
  57.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  58.                   <tr> 
  59.                     <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;<a href="/mainctrl/driver/detailDriver?empId=<%= request.getParameter("empId") %>"><font color="#FFFFFF">司机详细信息</font></a>&gt;&gt;事故详细信息 
  60.                       </font></td>
  61.                   </tr>
  62.                   <tr> 
  63.                     <td width="100" bgcolor="#e0e0e0"> <font class="strong" >&nbsp;姓名:</font> 
  64.                     </td>
  65.                     <td width="487" bgcolor="#e0e0e0"> <%= FieldUtil.filterScriptTag(request.getParameter("empName")) %></td>
  66.                   </tr>
  67.                   <tr bgcolor="#fafafa"> 
  68.                     <td width="100"> <font class="strong" >&nbsp;事故时间:</font> 
  69.                     </td>
  70.                     <td width="487"> <%= avb.getTimeS() %> </td>
  71.                   </tr>
  72.                   <tr bgcolor="#e0e0e0"> 
  73.                     <td width="100"> <font  class="strong">&nbsp;事故地点: 
  74.                       </font> </td>
  75.                     <td width="487"><%= FieldUtil.filterScriptTag(avb.getSite()) %></td>
  76.                   </tr>
  77.                   <tr bgcolor="#fafafa"> 
  78.                     <td width="100"> <font  class="strong">&nbsp;使用车辆: 
  79.                       </font> </td>
  80.                     <td width="487"><%= FieldUtil.filterScriptTag(avb.getAutomobileSerialNo()) %></td>
  81.                   </tr>
  82.                   <tr bgcolor="#e0e0e0"> 
  83.                     <td width="100"> <font  class="strong">&nbsp;严重程度: 
  84.                       </font> </td>
  85.                     <td width="487"><%= FieldUtil.filterScriptTag(avb.getSeverityLevel()) %></td>
  86.                   </tr>
  87.                   <tr bgcolor="#fafafa"> 
  88.                     <td width="100"> <font  class="strong">&nbsp;事故原因</font>: 
  89.                     </td>
  90.                     <td width="487"><%= FieldUtil.filterScriptTag(avb.getReason()) %> </td>
  91.                   </tr>
  92.                   <tr bgcolor="#e0e0e0"> 
  93.                     <td width="100"><font class="strong" >&nbsp;是主要责任人:</font></td>
  94.                     <td width="487"> <%= FieldUtil.filterScriptTag(avb.getIsResponsibleS()) %></td>
  95.                   </tr>
  96.                   <tr bgcolor="#fafafa"> 
  97.                     <td width="100"> <font  class="strong">&nbsp;处理结果</font>: 
  98.                     </td>
  99.                     <td width="487"> <%= FieldUtil.filterScriptTag(avb.getProcessResult()) %></td>
  100.                   </tr>
  101.                   <tr bgcolor="#e0e0e0"> 
  102.                     <td width="100"><font  class="strong">&nbsp;其他说明:</font></td>
  103.                     <td width="487"><%= FieldUtil.filterScriptTag(avb.getNote()) %></td>
  104.                   </tr>
  105.                   <tr align="center" bgcolor="#fafafa"> 
  106.                     <td colspan="2" height="30"> 
  107.                       <input type="button" name="Submit25" value="修改" class="file" onClick="modifyAccident(this.form)">&nbsp;&nbsp;
  108.                       <input type="button" name="Submit2" value="删除" class="file" onClick="deleteAccident(this.form)">&nbsp;&nbsp; 
  109.                       <input type="button" name="Submit25" value="返回" class="file" onClick="listAccident(this.form)">
  110.                     </td>
  111.                   </tr>
  112.                 </table>
  113.               </td>
  114.             </tr>
  115.           </table>          
  116.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  117.       </TD>
  118.     </TR>
  119.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  120.     </TABLE>
  121.   <BR>
  122.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  123. </form></DIV>
  124. </BODY></HTML>