sgj
8 天以前 71fe4f1f6a75c86640a726b9c230e8aaae2a28e7
fzzy-igdss-web/src/main/resources/templates/index-topnav.html
@@ -285,7 +285,7 @@
                           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>
@@ -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;
        }
    });
}