init
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
<style>
|
||||
/* Custom styles for this template */
|
||||
.sub-header {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.group-border-left {
|
||||
border-left: 1px solid #000 !important;
|
||||
}
|
||||
|
||||
/* Override table font size for this dense report */
|
||||
th, td {
|
||||
font-size: 11px;
|
||||
padding: 5px 2px;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #f0f0f0;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="header">
|
||||
<h1>车辆三检记录表</h1>
|
||||
</div>
|
||||
<div class="sub-header">打印时间:$!printTime</div>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="2" width="40">序号</th>
|
||||
<th rowspan="2" width="80">车辆</th>
|
||||
|
||||
<th colspan="3" class="group-border-left">出车检查</th>
|
||||
<th colspan="3" class="group-border-left">行车检查</th>
|
||||
<th colspan="3" class="group-border-left">收车检查</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- 出车前 -->
|
||||
<th class="group-border-left" width="80">检查时间</th>
|
||||
<th width="50">状态</th>
|
||||
<th width="50">隐患</th>
|
||||
|
||||
<!-- 行车中 -->
|
||||
<th class="group-border-left" width="80">检查时间</th>
|
||||
<th width="50">状态</th>
|
||||
<th width="50">隐患</th>
|
||||
|
||||
<!-- 收车后 -->
|
||||
<th class="group-border-left" width="80">检查时间</th>
|
||||
<th width="50">状态</th>
|
||||
<th width="50">收车隐患</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
#foreach($item in $list)
|
||||
<tr>
|
||||
<td>$foreach.count</td>
|
||||
<td>$!item.plateNumber</td>
|
||||
|
||||
<!-- 出车前 -->
|
||||
<td class="group-border-left">$!item.startPhaseTime</td>
|
||||
<td>$!item.startPhaseStatus</td>
|
||||
<td>$!item.startPhaseHiddenDanger</td>
|
||||
|
||||
<!-- 行车中 -->
|
||||
<td class="group-border-left">$!item.runningPhaseTime</td>
|
||||
<td>$!item.runningPhaseStatus</td>
|
||||
<td>$!item.runningPhaseHiddenDanger</td>
|
||||
|
||||
<!-- 收车后 -->
|
||||
<td class="group-border-left">$!item.endPhaseTime</td>
|
||||
<td>$!item.endPhaseStatus</td>
|
||||
<td>$!item.endPhaseHiddenDanger</td>
|
||||
</tr>
|
||||
#end
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user