CarChange.jsp 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.bean.CarChange" %>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. List<CarChange> list = (List)session.getAttribute("carChangelist");
  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. <td>使用登记证</td>
  36. </tr>
  37. <%
  38. int xuhao = 1;
  39. for(CarChange ca:list){ %>
  40. <tr style="text-align: center; COLOR: #0076C8; BACKGROUND-COLOR: #F4FAFF; font-weight: bold">
  41. <td><%=xuhao %></td>
  42. <td><%=ca.getChangeState()==0?"过户中":"过户完成" %></td>
  43. <td><%=ca.getCarNo() %></td>
  44. <td><%=ca.getPlateTypeName() %></td>
  45. <td><%=ca.getCarUnit() %></td>
  46. <td><%=ca.getCarOwnerName() %></td>
  47. <td><%=ca.getEditOperator() %></td>
  48. <td><%=ca.getEditStation() %></td>
  49. <td><%=ca.getRegNo() %></td>
  50. </tr>
  51. <%
  52. xuhao++;
  53. }%>
  54. </table>
  55. <%}else{%>
  56. <font class="hzbspan">没有查询到相关信息!!!</font>
  57. <% } %>
  58. </center>
  59. </body>
  60. </html>