| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <%@ page import="java.util.List" %>
- <%@ page import="com.runzhixing.bean.Car" %>
- <%@ page import="com.runzhixing.bean.Cylinder" %>
- <%@ page import="com.runzhixing.tool.Util"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- Car car = (Car)session.getAttribute("carpublic");
- List<String> imgList = (List)session.getAttribute("carpublicimg");
- List<Cylinder> cyList = (List)session.getAttribute("carpubliccy");
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <base href="<%=basePath%>">
-
- <title></title>
-
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache">
- <meta http-equiv="expires" content="0">
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
- <meta http-equiv="description" content="This is my page">
- <!--
- <link rel="stylesheet" type="text/css" href="styles.css">
- -->
- <style type="text/css">
- body{
- margin: 0;
- }
- #info{
- width: 100%;
- height:100%;
-
- }
- #carinfo{
- width: 100%;
- height:300px;
-
- }
- #cartitle{
- width: 100%;
- height:30px;
- line-height:30px;
- text-align:center;
- border: 1px solid;
- }
-
- #cardetail{
- width: 100%;
- height:270px;
-
- }
-
-
-
-
- #cyinfo{
- width: 100%;
- height:200px;
-
- }
- #cytitle{
- width: 100%;
- height:30px;
- line-height:30px;
- text-align:center;
- border: 1px solid;
- }
-
-
-
-
-
-
- #certinfo{
- width: 100%;
- height:200px;
-
- }
-
-
- #certtitle{
- width: 100%;
- height:30px;
- line-height:30px;
- text-align:center;
- border: 1px solid;
- }
-
- </style>
- </head>
-
- <body>
- <div id="info">
-
-
- <div id="carinfo">
- <%if(car!=null){ %>
- <div id="cartitle">车辆信息_<%=car.getCarNo() %></div>
- <div id="cardetail">
- <center>
- <table>
- <tr>
- <td class="hzbspan1">汽车厂家:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarProduct())%>" readonly="readonly">
- </td><td class="hzbspan1">发证单位:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getManaUnitName()) %>" readonly="readonly">
- </td><td class="hzbspan1">负 责 人:</td><td class="hzbspan1"><input type="text" style="width: 197px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarUnitMana()) %>" readonly="readonly">
- </td><td class="hzbspan1">车辆状态:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarStateName()) %>" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">厂牌型号:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarType()) %>" readonly="readonly">
- </td><td class="hzbspan1">所属单位:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarUnit()) %>" readonly="readonly">
- </td><td class="hzbspan1">联系地址:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getAddr()) %>" readonly="readonly">
- </td><td class="hzbspan1">充装次数:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=car.getFillTimes() %>" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">应用类型:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getAppTypeName()) %>" readonly="readonly">
- </td><td class="hzbspan1">车主姓名:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarOwnerName()) %>" readonly="readonly">
-
- </td><td class="hzbspan1">联系电话:</td><td class="hzbspan1"><input id="phone1" type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getPhone()) %>" readonly="readonly">
- </td><td class="hzbspan1">操作状态:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getOperStateName()) %>" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">发动机号:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getEngineNo()) %>" readonly="readonly">
- </td><td class="hzbspan1">发证时间:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getRegTime1()) %>" readonly="readonly">
- </td><td class="hzbspan1">单位电话:</td><td class="hzbspan1"><input id="phone2" type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getCarUnitPhone()) %>" readonly="readonly">
- </td><td class="hzbspan1">安装单位:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getInstallStation()) %>" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">车 架 号:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getVin()) %>" readonly="readonly">
- </td><td class="hzbspan1">登记证号:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getRegNo()) %>" readonly="readonly">
- </td><td class="hzbspan1">邮 编:</td><td class="hzbspan1"><input type="text" style="width: 198px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getPost()) %>" readonly="readonly">
- </td><td class="hzbspan1">发标签站点:</td><td class="hzbspan1"><input type="text" style="width: 188px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getTagStation()) %>" readonly="readonly">
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">单 位:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getUnitName()) %>" readonly="readonly">
- </td><td class="hzbspan1">已发标签状态:</td><td class="hzbspan1"><input type="text" style="width: 175px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getTagOperStateName()) %>" readonly="readonly"/>
- </td><td class="hzbspan1">发标签时间:</td><td class="hzbspan1"><input type="text" style="width: 191px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getTagOperTime1()) %>" readonly="readonly"/>
- </td><td class="hzbspan1">发标签操作员:</td><td class="hzbspan1"><input type="text" style="width: 175px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="<%=Util.removeNull(car.getTagOperator()) %>" readonly="readonly"/>
- </td>
- </tr>
- <tr>
- <td class="hzbspan1">车载气瓶:</td><td class="hzbspan1"><input type="text" style="width: 200px;height: 26px;border: none;line-height:33px;background:none;font-size: 16px;" value="共 <%=car.getInstallNum() %> 个" readonly="readonly"/>
- </td>
- </tr>
- </table>
- </center>
- </div>
- <%}else{ %>
- <center>
- 未查询到相关数据!!!
- </center>
- <%} %>
- </div>
- <div id="cyinfo">
- <div id="cytitle">气瓶信息</div>
- <div id="cydetail">
- <center>
- <table>
- <%if(cyList!=null){ %>
- <tr>
- <td>车牌号</td>
- <td>气瓶编号</td>
- <td>气瓶厂家</td>
- <td>气瓶类型</td>
- <td>生产年月</td>
- <td>使用状态</td>
- <td>安装单位</td>
- <td>安装位置</td>
- <td>容积</td>
- <td>安装日期</td>
- <td>开始使用日期</td>
- <td>下次检验日期</td>
- <td>检验状态</td>
- <td>年限</td>
- <td>可充装次数</td>
- </tr>
- <%for(Cylinder cy:cyList){
-
- %>
- <tr>
- <td><%=cy.getCarNo() %></td>
- <td><%=cy.getCylinderNo() %></td>
- <td>IT</td>
- <td><%=cy.getCylinderTypeName() %></td>
- <td><%=cy.getProductDate() %></td>
- <td><%=cy.getOperStateName() %></td>
- <td></td>
- <td><%=cy.getInstallLoc() %></td>
- <td><%=cy.getVol() %></td>
- <td><%=cy.getInstallDate1() %></td>
- <td><%=cy.getStartUseDate1() %></td>
- <td><%=cy.getNextCheckDate() %></td>
- <td><%=cy.getCheckstatename() %></td>
- <td><%=cy.getYearLimit() %></td>
- <td><%=cy.getTimesAvailable() %></td>
- </tr>
- <%}}else{ %>
- <tr>
- <td>
- 未查询到相关数据!!!
- </td>
- </tr>
- <%} %>
-
- </table>
- </center>
- </div>
- </div>
- <div id="certinfo">
- <div id="certtitle">证书信息</div>
- <div id="certdetail">
- <center>
- <table>
- <%if(imgList!=null){for(String url:imgList){ %>
- <tr>
- <td>
- <%-- <img src="/NonLocalCar2/certimg/<%=url %>" alt="加载失败" title="使用登记证" /> --%>
- <img src="/wxPublic/certimg/<%=url %>" alt="加载失败" title="使用登记证" />
- </td>
- </tr>
- <%}}else{ %>
- <tr>
- <td>
- 未查询到相关数据!!!
- </td>
- </tr>
- <%} %>
- </table>
-
- </center>
-
-
- </div>
- </div>
- </div>
- </body>
- </html>
|