From 5b9d5e7c3b714b2ccb3e9e355a376e4c85bb9f8d Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 06 十二月 2025 17:09:07 +0800
Subject: [PATCH] 添加第一版,电子巡更页面

---
 fzzy-igdss-web/src/main/resources/templates/snap/snapRecord/snapRecord.html |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/templates/snapRecord/snapRecord.html b/fzzy-igdss-web/src/main/resources/templates/snap/snapRecord/snapRecord.html
similarity index 86%
rename from fzzy-igdss-web/src/main/resources/templates/snapRecord/snapRecord.html
rename to fzzy-igdss-web/src/main/resources/templates/snap/snapRecord/snapRecord.html
index e3f1bc1..fd59632 100644
--- a/fzzy-igdss-web/src/main/resources/templates/snapRecord/snapRecord.html
+++ b/fzzy-igdss-web/src/main/resources/templates/snap/snapRecord/snapRecord.html
@@ -7,7 +7,7 @@
     <meta name="renderer" content="webkit">
     <th:block th:include="include :: header('鏅鸿兘鎶撴媿')" />
     <link rel="stylesheet" type="text/css" th:href="@{/ajax/libs/layui-ruoyi/css/layui.css}"/>
-    <link rel="stylesheet" th:href="@{/snapRecord/snapRecord-style.css}">
+    <link rel="stylesheet" th:href="@{/snap/snapRecord-style.css}">
 </head>
 <body class="gray-bg">
 <div class="container-div">
@@ -27,7 +27,15 @@
                 </div>
             </form>
         </div>
-        
+        <div class="col-sm-12 " style="padding-top: 5px">
+            <div class="btn-group-sm"  role="group" >
+                <a class="btn btn-success" onclick="openConf()" shiro:hasPermission="system:user:add">
+                    <i class="fa fa-plus"></i> 鎶撴媿閰嶇疆
+                </a>
+            </div>
+        </div>
+
+
         <div class="col-sm-12 " style="padding-top: 10px;">
             <!-- 鍥剧墖缃戞牸 -->
             <div class="gallery-grid" id="gallery-container">
@@ -39,10 +47,8 @@
                 </div>
                 <!-- 鍥剧墖鍗$墖 -->
                 <div th:each="snapRecord : ${snapRecordList}" class="gallery-item">
-<!--                    <img th:src="${snapRecord.imgPath}" th:alt="${snapRecord.id}"-->
-<!--                         th:data-url="${snapRecord.imgPath}" th:data-id="${snapRecord.id}"-->
-                    <img th:src="@{/logo-sm.png}" th:alt="${snapRecord.id}"
-                         th:data-url="@{/logo-sm.png}" th:data-id="${snapRecord.id}"
+                    <img th:src="${snapRecord.imgName ?: '/logo-sm.png'}" th:alt="${snapRecord.id}"
+                         th:data-url="${snapRecord.imgName ?: '/logo-sm.png'}" th:data-id="${snapRecord.id}"
                          class="gallery-img" onclick="showSnapRecordPreview(this.getAttribute('data-url'))">
                     <div class="gallery-info">
                         <div class="gallery-header">
@@ -94,7 +100,7 @@
 </div>
 <th:block th:include="include :: footer" />
 <script th:src="@{/ajax/libs/layui-ruoyi/layui.js}"></script>
-<script th:src="@{/snapRecord/snapRecord.js}"></script>
+<script th:src="@{/snap/snapRecord.js}"></script>
 <script th:inline="javascript">
     var currentPage = [[${currentPage}]];
     var totalItems = [[${totalItems}]];

--
Gitblit v1.9.3