From 94853e46b9d4911fb4cf00389f00a4b820db5d3c Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 21 五月 2025 14:35:46 +0800
Subject: [PATCH] fix: 修正 系统上机日志查询 没有显示默认方案的问题

---
 WebTM/views/index_pb.html |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/WebTM/views/index_pb.html b/WebTM/views/index_pb.html
index 0fb2985..bbee727 100644
--- a/WebTM/views/index_pb.html
+++ b/WebTM/views/index_pb.html
@@ -12,7 +12,13 @@
     <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
     <script src="../layuiadmin/zgqCustom/zgqCustom.js"></script>
     <script src="../layuiadmin/Scripts/jquery-3.5.1.min.js"></script>
-
+    <script language="JavaScript">
+    //灞忚斀鍚庨��鎸夐挳
+        history.pushState(null, null, document.URL);
+        window.addEventListener('popstate', function () {
+            history.pushState(null, null, document.URL);
+        });
+    </script>
     <script>
         /^http(s*):\/\//.test(location.href) || alert('璇峰厛閮ㄧ讲鍒� localhost 涓嬪啀璁块棶');
     </script>
@@ -83,7 +89,7 @@
                         <dl class="layui-nav-child">
                             <!--<dd><a lay-href="set/user/info.html">鍩烘湰璧勬枡</a></dd>-->
                             <dd><a lay-href="set/user/password.html">淇敼瀵嗙爜</a></dd>
-                            <dd layadmin-event="logout" style="text-align: center;"><a>閫�鍑�</a></dd>
+                            <dd layadmin-event="logout2" style="text-align: center;"><a>閫�鍑�</a></dd>
                         </dl>
                     </li>
 
@@ -1144,7 +1150,7 @@
             if (sessionStorage.login != "login") {
                 layer.confirm("鐧诲綍澶辨晥锛岃閲嶆柊鐧诲綍锛�", {
                     icon: 4, skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず", closeBtn: 0, btn: ['閲嶆柊鐧诲綍']
-                }, function () { window.location.href = "user/login.html"; });
+                }, function () { window.location.href = "user/login_pb.html"; });
             }           
 
             $("#LAY_app_flexible").click();

--
Gitblit v1.9.1