czt
2026-02-11 f68f5bf6ae56c18561eb8ccba9fb9693f128551c
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">新ICP备2024007717号-2</p>
        </div>
    </nav>
    <!--左侧导航结束-->
@@ -101,13 +111,13 @@
                    </a>
                </div>
                <ul class="nav navbar-top-links navbar-right welcome-message">
                    <li style="background-color: #03703a;"><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" th:title="${dept.deptName}"
                                                              href="javascript:;"><i class="fa fa-map-o"></i> [[${#strings.defaultString(dept.deptName,
                    <li style="background-color: #03703a;"><a onclick="showDepotAreaSelect()" data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="库区选择"
                                                              href="javascript:;"><i class="fa fa-refresh"></i> [[${#strings.defaultString(dept.deptName,
                        '-')}]]</a></li>
<!--                    <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">
@@ -256,6 +266,24 @@
        return true;
    }
    /**
     * 弹出切换库区列表
     */
    function showDepotAreaSelect() {
        if(showDeptList === "N"){
            return false;
        }
        layer.open({
            type: 2,
            title: '选择库区',
            area: ['400px', '650px'],
            offset: ['50px', '1350px'],
            shade: 0,
            content: "com.fzzy.igds.SelectDept.d",
            closeBtn: 1
        });
    }
    /** 刷新时访问路径页签 */
    function applyPath(url) {
        $('a[href$="' + decodeURI(url) + '"]').click();
@@ -286,6 +314,11 @@
            }
        }
        if(showDeptList === "N"){
            //库区用户,隐藏大屏按钮
            $("#screenBtn").css('display', 'none');
        }
        /* 初始密码提示 */
        if ([[${isDefaultModifyPwd}]]) {
            layer.confirm("您的密码还是初始密码,请修改密码!", {