From 6f9b2db708dce217fc81e642ac7e6c6094925c13 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期四, 22 五月 2025 17:14:06 +0800
Subject: [PATCH] 电子货位卡-增加系统运维页面,设置定时锁屏及跳转

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

diff --git a/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html b/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
index ea1a421..2ddf7d2 100644
--- a/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
+++ b/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
@@ -106,8 +106,15 @@
     </div>
 </div>
 <script th:src="@{/js/jquery.min.js}"></script>
+<script th:src="@{/ruoyi/js/common.js?v=4.7.8}"></script>
 <script th:src="@{/dzhwk/common.js}"></script>
 <script th:inline="javascript">
+    var flag = [[${flag}]];
+
+    //鐩戝惉鎿嶄綔
+    document.addEventListener('mousemove', resetTimeout);  //榧犳爣绉诲姩
+    document.addEventListener('click', resetTimeout);      //榧犳爣鐐瑰嚮
+    document.addEventListener('touchstart', resetTimeout); //瑙﹀睆
 
     timeFormate();
     setInterval(function () {

--
Gitblit v1.9.3