优化
This commit is contained in:
@@ -121,9 +121,13 @@
|
||||
<tbody style="text-align: center;">
|
||||
<!-- 动态行渲染+异常值红色高亮 -->
|
||||
<tr th:each="item : ${items}"
|
||||
th:style="${item.oaflag=='1'} ? '' : 'background-color: #f9f9f9;color:red;'">
|
||||
th:style="${item.oaflag} ? '' : 'background-color: #f9f9f9;color: red;'">
|
||||
<td style="padding: 8px 5px;" th:text="${item.loitemCname}"></td>
|
||||
<td style="padding: 8px 5px;" th:text="${item.orderRptResult}"></td>
|
||||
<td style="padding: 8px 5px;">
|
||||
<span th:text="${item.orderRptResult}"></span>
|
||||
<span th:if="${item.oaflagLow}">↓</span>
|
||||
<span th:if="${item.oaflagHigh}">↑</span>
|
||||
</td>
|
||||
<td style="padding: 8px 5px;" th:text="${item.loitemUnit}"></td>
|
||||
<td style="padding: 8px 5px;" th:text="${item.loitemRv}"></td>
|
||||
<td style="padding: 8px 5px;" th:text="${item.inspectionMethod}"></td>
|
||||
|
||||
Reference in New Issue
Block a user