carDuit.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.bean.CarAudit" %>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. List<CarAudit> list = (List)session.getAttribute("carAuitlist");
  7. %>
  8. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  9. <html>
  10. <head>
  11. <base href="<%=basePath%>">
  12. <title>车辆审核信息查询</title>
  13. <meta http-equiv="pragma" content="no-cache">
  14. <meta http-equiv="cache-control" content="no-cache">
  15. <meta http-equiv="expires" content="0">
  16. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  17. <meta http-equiv="description" content="This is my page">
  18. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  19. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  20. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  21. </head>
  22. <body>
  23. <center>
  24. <% if(list.size()>0){%>
  25. <table class="hzbspan" width="auto" border="1" cellpadding="2" cellspacing="0">
  26. <tr style="text-align: center; COLOR: #0076C8; BACKGROUND-COLOR: #F4FAFF; font-weight: bold">
  27. <td>序号</td>
  28. <td>车牌号</td>
  29. <td>车牌类型</td>
  30. <td>原操作状态</td>
  31. <td>新操作状态</td>
  32. <td>审核站点</td>
  33. <td>审核操作员</td>
  34. <td>录入时间</td>
  35. </tr>
  36. <%
  37. int xuhao = 1;
  38. for(CarAudit ca:list){ %>
  39. <tr style="text-align: center; COLOR: #0076C8; BACKGROUND-COLOR: #F4FAFF; font-weight: bold">
  40. <td><%=xuhao %></td>
  41. <td><%=ca.getCarNo() %></td>
  42. <td><%=ca.getPlateTypeName() %></td>
  43. <td><%=ca.getOldOperStateName() %></td>
  44. <td><%=ca.getNewOperStateName() %></td>
  45. <td><%=ca.getAuditStation() %></td>
  46. <td><%=ca.getAuditOperator() %></td>
  47. <td><%=ca.getAuditOperTime() %></td>
  48. </tr>
  49. <%
  50. xuhao++;
  51. }%>
  52. </table>
  53. <%}else{%>
  54. <font class="hzbspan">没有查询到相关信息!!!</font>
  55. <% } %>
  56. </center>
  57. </body>
  58. </html>