czt
2026-02-26 c7e17f74474198316a39b9bf7afde5d403a49c56
fzzy-igdss-web/src/main/resources/templates/security/weighbridgeSnap.html
@@ -85,25 +85,18 @@
                        <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>
@@ -133,7 +126,6 @@
<script th:inline="javascript">
    var cameraList = [[${cameraList}]];
    var deptList = [[${deptList}]];
    var bizTypeList = [[${bizTypeList}]];
    var companyList = [[${companyList}]];
    var currentPage = [[${currentPage}]];
    var totalItems = [[${totalItems}]];