From 23ba8d87f56be44209687ee03c8bda3e351412d1 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期三, 25 二月 2026 16:26:59 +0800
Subject: [PATCH] 添加地磅抓拍记录页面

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

diff --git a/fzzy-igdss-web/src/main/resources/templates/index-topnav.html b/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
index 6fa52cc..2906f13 100644
--- a/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
+++ b/fzzy-igdss-web/src/main/resources/templates/index-topnav.html
@@ -366,6 +366,7 @@
 var dept = [[${dept}]];
 var deptId = [[${deptId}]];
 var showDeptList = [[${showDeptList}]];
+var showDeptListTag = false;
 if(lockscreen){window.top.location=ctx+"lockscreen";}
 // 鐨偆缂撳瓨
 var skin = storage.get("skin");
@@ -418,9 +419,13 @@
  * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
  */
 function showDepotAreaSelect() {
+    if(showDeptListTag){
+        return false;
+    }
     if(showDeptList === "N"){
         return false;
     }
+    showDeptListTag = true;
     layer.open({
         type: 2,
         title: '閫夋嫨搴撳尯',
@@ -428,7 +433,9 @@
         offset: ['50px', '1350px'],
         shade: 0,
         content: "com.fzzy.igds.SelectDept.d",
-        closeBtn: 1
+        end: function(){ // 鍏抽棴灞傚悗鐨勫洖璋�
+            showDeptListTag = false;
+        }
     });
 }
 

--
Gitblit v1.9.3