From bd3c4b90882fc29711a5e73f4929db2da3e22cb6 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期五, 06 三月 2026 11:14:11 +0800
Subject: [PATCH] 建模gis监管页面样式修改

---
 fzzy-igdss-web/src/main/resources/templates/index.html |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/templates/index.html b/fzzy-igdss-web/src/main/resources/templates/index.html
index ea3d78f..21842f0 100644
--- a/fzzy-igdss-web/src/main/resources/templates/index.html
+++ b/fzzy-igdss-web/src/main/resources/templates/index.html
@@ -124,7 +124,7 @@
                     <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="鍏ㄥ睆鏄剧ず"
                            href="javascript:;" id="fullScreen"><i class="fa fa-arrows-alt"></i> 鍏ㄥ睆</a></li>
                     <li class="dropdown user-menu">
-                        <a href="javascript:void(0)" class="dropdown-toggle" data-hover="dropdown">
+                        <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                             <img th:src="(${#strings.isEmpty(user.avatar)}) ? @{/img/profile.jpg} : @{${user.avatar}}"
                                  th:onerror="this.src='img/profile.jpg'" class="user-image">
                             <span class="hidden-xs">[[${#strings.defaultString(user.userName, '-')}]]</span>
@@ -204,6 +204,7 @@
     var dept = [[${dept}]];
     var deptId = [[${deptId}]];
     var showDeptList = [[${showDeptList}]];
+    var showDeptListTag = false;
     if (lockscreen) {
         window.top.location = ctx + "lockscreen";
     }
@@ -270,9 +271,13 @@
      * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
      */
     function showDepotAreaSelect() {
+        if(showDeptListTag){
+            return false;
+        }
         if(showDeptList === "N"){
             return false;
         }
+        showDeptListTag = true;
         layer.open({
             type: 2,
             title: '閫夋嫨搴撳尯',
@@ -280,7 +285,9 @@
             offset: ['50px', '1350px'],
             shade: 0,
             content: "com.fzzy.igds.SelectDept.d",
-            closeBtn: 1
+            end: function(){ // 鍏抽棴灞傚悗鐨勫洖璋�
+                showDeptListTag = false;
+            }
         });
     }
 

--
Gitblit v1.9.3