| | |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>智慧粮库-设备动态感知运维管理系统</title> |
| | | <title th:text="${sysName}">智慧粮库管理系统</title> |
| | | <!-- 避免IE使用兼容模式 --> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| | | <link th:href="@{favicon.ico}" rel="shortcut icon"/> |
| | |
| | | <div class="nav-close"> |
| | | <i class="fa fa-times-circle"></i> |
| | | </div> |
| | | <a th:href="@{/index}"> |
| | | <a onclick="onDeptChange()" href="javascript:;"> |
| | | <li class="logo hidden-xs"> |
| | | <span class="logo-lg">设备动态感知运维管理系统</span> |
| | | <span class="logo-lg" th:text="${sysName}">智慧粮库管理系统</span> |
| | | </li> |
| | | </a> |
| | | <div class="sidebar-collapse"> |
| | |
| | | </div> |
| | | </div> |
| | | </li> |
| | | <li> |
| | | <a class="menuItem" th:href="@{/eoms/index}"><i class="fa fa-home"></i> <span |
| | | class="nav-label">首页</span> </a> |
| | | </li> |
| | | |
| | | <li th:each="menu : ${menus}"> |
| | | <a th:class="@{${!#strings.isEmpty(menu.url) && menu.url != '#'} ? ${menu.target}}" |
| | | th:href="@{${#strings.isEmpty(menu.url)} ? |#| : ${menu.url}}" |
| | |
| | | </a> |
| | | </div> |
| | | <ul class="nav navbar-top-links navbar-right welcome-message"> |
| | | <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 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 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> |
| | | <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="全屏显示" |
| | |
| | | </button> |
| | | <nav class="page-tabs menuTabs"> |
| | | <div class="page-tabs-content"> |
| | | <a href="javascript:;" class="active menuTab" th:data-id="@{/eoms/index}">首页</a> |
| | | <a href="javascript:void(0);" class="active menuTab" th:data-id="${welcomeUrl}">欢迎</a> |
| | | </div> |
| | | </nav> |
| | | <button class="roll-nav roll-right tabRight"> |
| | |
| | | </a> |
| | | |
| | | <div class="row mainContent" id="content-main" th:classappend="${mainClass}"> |
| | | <iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%" th:data-id="@{/eoms/index}" |
| | | th:src="@{/eoms/index}" frameborder="0" seamless></iframe> |
| | | <iframe class="RuoYi_iframe" name="iframe0" width="100%" height="100%" th:data-id="${welcomeUrl}" |
| | | th:src="${welcomeUrl}" frameborder="0" seamless></iframe> |
| | | </div> |
| | | |
| | | <div th:if="${footer}" class="footer"> |
| | |
| | | <script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script> |
| | | <script th:src="@{/js/jquery.contextMenu.min.js}"></script> |
| | | <script th:src="@{/ajax/libs/blockUI/jquery.blockUI.js}"></script> |
| | | <script th:src="@{/ajax/libs/layer/layer.min.js}"></script> |
| | | <script th:src="@{/ajax/libs/layer-ruoyi/layer.min.js}"></script> |
| | | <script th:src="@{/ruoyi/js/ry-ui.js?v=4.7.8}"></script> |
| | | <script th:src="@{/ruoyi/js/common.js?v=4.7.8}"></script> |
| | | <script th:src="@{/ruoyi/index.js?v=20201208}"></script> |
| | |
| | | window.history.forward(1); |
| | | var ctx = [[@{/}]]; |
| | | var lockscreen = [[${session.lockscreen}]]; |
| | | var dept = [[${dept}]]; |
| | | var deptId = [[${deptId}]]; |
| | | var showDeptList = [[${showDeptList}]]; |
| | | if (lockscreen) { |
| | | window.top.location = ctx + "lockscreen"; |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 重新切换页面 |
| | | */ |
| | | function onDeptChange() { |
| | | onDeptAreaChange(deptId); |
| | | } |
| | | function onDeptAreaChange(id) { |
| | | window.location.href = "./index?deptId=" + id; |
| | | 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(); |
| | |
| | | } |
| | | } |
| | | |
| | | if(showDeptList === "N"){ |
| | | //库区用户,隐藏大屏按钮 |
| | | $("#screenBtn").css('display', 'none'); |
| | | } |
| | | |
| | | /* 初始密码提示 */ |
| | | if ([[${isDefaultModifyPwd}]]) { |
| | | layer.confirm("您的密码还是初始密码,请修改密码!", { |