From 3931c704761e5f51b9aed161560a3214058881c8 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 28 二月 2026 17:35:43 +0800
Subject: [PATCH] 抓拍页面,分页展示错误修复

---
 fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html |   20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html b/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
index d0f430b..136c437 100644
--- a/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
+++ b/fzzy-igdss-web/src/main/resources/templates/security/snapRecord.html
@@ -95,23 +95,13 @@
 
                         <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>
-                                    <!-- 浣跨敤鏍囧織鍙橀噺璁板綍鏄惁宸插尮閰� -->
-                                    <th:block th:with="matchedCameras=${cameraList.?[id == #root.snapRecord.cameraId]}">
-                                        <!-- 濡傛灉鏈夊尮閰嶉」锛屾樉绀虹涓�涓尮閰嶇殑鎽勫儚澶村悕绉� -->
-                                        <th:block th:if="${!#lists.isEmpty(matchedCameras)}">
-                                            <span th:text="${matchedCameras[0].name}"></span>
-                                        </th:block>
-                                        <!-- 濡傛灉娌℃湁鍖归厤椤癸紝鏄剧ず鍘熷ID -->
-                                        <th:block th:if="${#lists.isEmpty(matchedCameras)}">
-                                            <span th:text="${snapRecord.cameraId}"></span>
-                                        </th:block>
-                                    </th:block>
+                                    <span th:text="${snapRecord.cameraId}"></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="${snapRecord.snapTime != null ? #dates.format(snapRecord.snapTime, 'yyyy-MM-dd HH:mm') : '鏃犳椂闂�'}"></span>
                                 </div>
@@ -120,11 +110,9 @@
                                 <i class="layui-icon layui-icon-home"></i>
                                 <!--                                <span th:text="${snapRecord.deptId}"></span>-->
                                 <th:block th:with="matchedDept=${deptList.?[id == #root.snapRecord.deptId]}">
-                                    <!-- 濡傛灉鏈夊尮閰嶉」锛屾樉绀虹涓�涓尮閰嶇殑鎽勫儚澶村悕绉� -->
                                     <th:block th:if="${!#lists.isEmpty(matchedDept)}">
                                         <span th:text="${matchedDept[0].kqmc}"></span>
                                     </th:block>
-                                    <!-- 濡傛灉娌℃湁鍖归厤椤癸紝鏄剧ず鍘熷ID -->
                                     <th:block th:if="${#lists.isEmpty(matchedDept)}">
                                         <span th:text="${snapRecord.deptId}"></span>
                                     </th:block>
@@ -136,7 +124,7 @@
             </div>
 
             <!-- 鍒嗛〉鎺т欢 -->
-            <div class="pagination-container" th:if="${not #lists.isEmpty(snapRecordList)}">
+            <div class="pagination-container" id="paginationContainer">
                 <div id="pagination"></div>
             </div>
 

--
Gitblit v1.9.3