| | |
| | | |
| | | <div class="gallery-meta"> |
| | | <div style="display: flex; align-items: center; gap: 15px;width: 100%"> |
| | | <div class="meta-item" style="width: 50%"> |
| | | <div class="meta-item" style="min-width: 60%"> |
| | | <i class="layui-icon layui-icon-video"></i> |
| | | <span th:text="${weighbridgeSnap.serId}"></span> |
| | | </div> |
| | | <div class="meta-item" style="width: 50%"> |
| | | <div class="meta-item" style="min-width: 40%"> |
| | | <i class="layui-icon layui-icon-date"></i> |
| | | <span th:text="${weighbridgeSnap.time != null ? #dates.format(weighbridgeSnap.time, 'yyyy-MM-dd HH:mm') : '无时间'}"></span> |
| | | </div> |
| | | </div> |
| | | <div class="meta-item"> |
| | | <i class="layui-icon layui-icon-component"></i> |
| | | <th:block th:with="matchedTypes=${bizTypeList.?[code == #root.weighbridgeSnap.bizType]}"> |
| | | <th:block th:if="${!#lists.isEmpty(matchedTypes)}"> |
| | | <span th:text="${matchedTypes[0].msg}"></span> |
| | | </th:block> |
| | | <th:block th:if="${#lists.isEmpty(matchedTypes)}"> |
| | | <span th:text="${weighbridgeSnap.bizType}"></span> |
| | | </th:block> |
| | | </th:block> |
| | | <span th:text="${#numbers.formatDecimal(weighbridgeSnap.weight ?: 0.0, 1, 2)} + 'KG'"></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | |
| | | <!-- 分页控件 --> |
| | | <div class="pagination-container" th:if="${not #lists.isEmpty(weighbridgeSnapList)}"> |
| | | <div class="pagination-container" id="paginationContainer"> |
| | | <div id="pagination"></div> |
| | | </div> |
| | | </div> |
| | |
| | | <script th:inline="javascript"> |
| | | var cameraList = [[${cameraList}]]; |
| | | var deptList = [[${deptList}]]; |
| | | var bizTypeList = [[${bizTypeList}]]; |
| | | var companyList = [[${companyList}]]; |
| | | var currentPage = [[${currentPage}]]; |
| | | var totalItems = [[${totalItems}]]; |