From a41d9610b074c23f0e5d032f50282da7fb6763a2 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 26 五月 2025 18:31:13 +0800
Subject: [PATCH] 优化巡检记录

---
 igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html b/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
index 0feef15..2f4edd0 100644
--- a/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
+++ b/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
@@ -1120,6 +1120,7 @@
 <script th:src="@{/dzhwk/swiper-bundle.min.js}"></script>
 <script th:src="@{/dzhwk/common.js}"></script>
 <script th:inline="javascript">
+    var flag = [[${flag}]];
     var swiper = new Swiper('.m-swiperl1 .swiper', {
         slidesPerView: 1,
         // autoplay: {
@@ -1150,7 +1151,11 @@
     setInterval(function () {
         timeFormate()
     }, 1000);
-</script>
 
+    //鐩戝惉鎿嶄綔
+    document.addEventListener('mousemove', resetTimeout);  //榧犳爣绉诲姩
+    document.addEventListener('click', resetTimeout);      //榧犳爣鐐瑰嚮
+    document.addEventListener('touchstart', resetTimeout); //瑙﹀睆
+</script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.3