From e78110a459f5cacb69a101c6e4ad8b83bb0ba4e3 Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期三, 25 二月 2026 16:56:31 +0800
Subject: [PATCH] APP下载

---
 fzzy-igdss-web/src/main/resources/templates/index.html |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/fzzy-igdss-web/src/main/resources/templates/index.html b/fzzy-igdss-web/src/main/resources/templates/index.html
index dc7cbdc..c673d44 100644
--- a/fzzy-igdss-web/src/main/resources/templates/index.html
+++ b/fzzy-igdss-web/src/main/resources/templates/index.html
@@ -15,13 +15,20 @@
     <link th:href="@{/css/style.min.css}" rel="stylesheet"/>
     <link th:href="@{/css/skins.css}" rel="stylesheet"/>
     <link th:href="@{/ruoyi/css/ry-ui.css?v=4.7.8}" rel="stylesheet"/>
+    <style>
+        .slimScrollDiv{
+            position: relative;
+            width: auto;
+            height: 92%;
+        }
+    </style>
 </head>
 <body class="fixed-sidebar full-height-layout gray-bg skin-zcl" th:classappend="${isMobile} ? 'canvas-menu'"
       style="overflow: hidden">
 <div id="wrapper">
 
     <!--宸︿晶瀵艰埅寮�濮�-->
-    <nav class="navbar-default navbar-static-side" role="navigation">
+    <nav class="navbar-default navbar-static-side" role="navigation" style="height: 96%;">
         <div class="nav-close">
             <i class="fa fa-times-circle"></i>
         </div>
@@ -88,6 +95,9 @@
                 </li>
             </ul>
         </div>
+        <div style="text-align: center;">
+            <p style="color: #FFFFFF">鏂癐CP澶�2024007717鍙�-2</p>
+        </div>
     </nav>
     <!--宸︿晶瀵艰埅缁撴潫-->
 
@@ -107,7 +117,7 @@
 <!--                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="寮�鍙戞枃妗�"-->
 <!--                           href="https://fzzygf-company.feishu.cn/wiki/ZgS5wQuyMi2uDKk9xN6cx8jlnuf" target="_blank"><i class="fa fa-question-circle"></i>-->
 <!--                        鏂囨。</a></li>-->
-                    <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="澶у睆"
+                    <li id="screenBtn"><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="澶у睆"
                            href="/index-gateway" id="index-gateway"><i class="fa fa-laptop"></i> 澶у睆</a></li>
                     <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="閿佸畾灞忓箷"
                            href="javascript:;" id="lockScreen"><i class="fa fa-lock"></i> 閿佸睆</a></li>
@@ -152,7 +162,7 @@
             </button>
             <nav class="page-tabs menuTabs">
                 <div class="page-tabs-content">
-                    <a th:href="@{/index}" class="active menuTab" th:data-id="${welcomeUrl}">娆㈣繋</a>
+                    <a href="javascript:void(0);" class="active menuTab" th:data-id="${welcomeUrl}">娆㈣繋</a>
                 </div>
             </nav>
             <button class="roll-nav roll-right tabRight">
@@ -194,6 +204,7 @@
     var dept = [[${dept}]];
     var deptId = [[${deptId}]];
     var showDeptList = [[${showDeptList}]];
+    var showDeptListTag = false;
     if (lockscreen) {
         window.top.location = ctx + "lockscreen";
     }
@@ -260,9 +271,13 @@
      * 寮瑰嚭鍒囨崲搴撳尯鍒楄〃
      */
     function showDepotAreaSelect() {
+        if(showDeptListTag){
+            return false;
+        }
         if(showDeptList === "N"){
             return false;
         }
+        showDeptListTag = true;
         layer.open({
             type: 2,
             title: '閫夋嫨搴撳尯',
@@ -270,7 +285,9 @@
             offset: ['50px', '1350px'],
             shade: 0,
             content: "com.fzzy.igds.SelectDept.d",
-            closeBtn: 1
+            end: function(){ // 鍏抽棴灞傚悗鐨勫洖璋�
+                showDeptListTag = false;
+            }
         });
     }
 
@@ -304,6 +321,11 @@
             }
         }
 
+        if(showDeptList === "N"){
+            //搴撳尯鐢ㄦ埛锛岄殣钘忓ぇ灞忔寜閽�
+            $("#screenBtn").css('display', 'none');
+        }
+
         /* 鍒濆瀵嗙爜鎻愮ず */
         if ([[${isDefaultModifyPwd}]]) {
             layer.confirm("鎮ㄧ殑瀵嗙爜杩樻槸鍒濆瀵嗙爜锛岃淇敼瀵嗙爜锛�", {

--
Gitblit v1.9.3