sgj
5 天以前 f71f31780ed55200f3e370e61c81cfd05feb34bd
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>
    <!--左侧导航结束-->
@@ -114,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>
@@ -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;
            }
        });
    }