peccancy_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="pvb" class="com.vnex.intranet.vehicle.driver.value.PeccancyValueBean" scope="page" /> 
  6. <%      
  7.     String id = request.getParameter("id");
  8.     int peccancyId = Integer.parseInt( id );      
  9.     pvb = driverProxy.getPeccancyInfo( peccancyId );                                
  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 listPeccancy(form)
  19. {
  20.    form.action="/mainctrl/driver/listPeccancy";
  21.    form.submit();
  22. }
  23. function modifyPeccancy(form)
  24. {
  25.    form.action="/mainctrl/driver/modifyPeccancy";
  26.    form.submit();
  27. }
  28. function deletePeccancy(form)
  29. {
  30.     if(confirm("是否要删除当前违章记录?"))
  31.     {
  32.         form.action="/mainctrl/driver/deletePeccancy";
  33.         form.submit();
  34.     }
  35. }
  36. </script>
  37. <DIV align=center>
  38. <form name="myform" method="post" action="">
  39. <input type="hidden" name="empId" value="<%=request.getParameter("empId")%>">   
  40. <input type="hidden" name="empName" value="<%= request.getParameter("empName") %>">
  41. <input type="hidden" name="automobileId" value="<%= request.getParameter("automobileId") %>">
  42. <input type="hidden" name="id" value="<%= id %>">
  43.    
  44.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  45.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  46.     <TR> 
  47.         <TD colSpan=3 align="center"><br>
  48.            <!--个人信息开始 -->
  49.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  50.             <tr bgcolor="#fafafa"> 
  51.               <td> 
  52.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  53.                   <tr> 
  54.                     <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;违章记录详细信息                     
  55.                       </font></td>
  56.                   </tr>
  57.                   <tr bgcolor="#fafafa"> 
  58.                     <td width="100"> <font class="strong">&nbsp;姓名:</font> </td>
  59.                     <td width="487"> <%= FieldUtil.filterScriptTag(request.getParameter("empName")) %></td>
  60.                   </tr>
  61.                   <tr bgcolor="#e0e0e0"> 
  62.                     <td width="100"> <font class="strong">&nbsp;违章日期:</font> </td>
  63.                     <td width="487"> <%= pvb.getTimeS() %> </td>
  64.                   </tr>
  65.                   <tr bgcolor="#fafafa"> 
  66.                     <td width="100"> <font  class="strong">&nbsp;违章地点: </font> 
  67.                     </td>
  68.                     <td width="487"><%= FieldUtil.filterScriptTag(pvb.getSite()) %></td>
  69.                   </tr>
  70.                   <tr bgcolor="#e0e0e0"> 
  71.                     <td width="100"> <font  class="strong">&nbsp;使用车辆: </font> 
  72.                     </td>
  73.                     <td width="487"><%= FieldUtil.filterScriptTag(pvb.getAutomobileSerialNo()) %></td>
  74.                   </tr>
  75.                   <tr bgcolor="#fafafa"> 
  76.                     <td width="100"> <font  class="strong">&nbsp;严重程度: </font> 
  77.                     </td>
  78.                     <td width="487"><%= FieldUtil.filterScriptTag(pvb.getSeverityLevel()) %></td>
  79.                   </tr>
  80.                   <tr bgcolor="#e0e0e0"> 
  81.                     <td width="100"> <font  class="strong">&nbsp;违章原因</font>: 
  82.                     </td>
  83.                     <td width="487"><%= FieldUtil.filterScriptTag(pvb.getReason()) %></td>
  84.                   </tr>
  85.                   <tr bgcolor="#fafafa"> 
  86.                     <td width="100"> <font  class="strong">&nbsp;处罚措施</font>: 
  87.                     </td>
  88.                     <td width="487"> <%= FieldUtil.filterScriptTag(pvb.getPunishment()) %></td>
  89.                   </tr>
  90.                   <tr bgcolor="#e0e0e0"> 
  91.                     <td width="100"><font  class="strong">&nbsp;其他说明:</font></td>
  92.                     <td width="487"><%= FieldUtil.filterScriptTag(pvb.getNote()) %></td>
  93.                   </tr>
  94.                   <tr align="center" bgcolor="#fafafa"> 
  95.                     <td colspan="2" height="30">
  96.                       <input type="button" name="Submit25" value="修改" class="file" onClick="modifyPeccancy(this.form)">&nbsp;&nbsp;
  97.                       <input type="button" name="Submit2" value="删除" class="file" onClick="deletePeccancy(this.form)">&nbsp;&nbsp; 
  98.                       <input type="button" name="Submit25" value="返回" class="file" onClick="listPeccancy(this.form)">
  99.                     </td>
  100.                   </tr>
  101.                 </table>
  102.               </td>
  103.             </tr>
  104.           </table>          
  105.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  106.        </TD>
  107.     </TR>
  108.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  109.     </TABLE>
  110.   <BR>
  111.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  112. </form></DIV>
  113. </BODY></HTML>