xiaoyong931011
2022-03-31 970568e63de3fe8c5e43a50a8ff3f03b39d48026
zq-erp/src/main/resources/templates/views/admin/index.html
@@ -5,7 +5,7 @@
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <title>HIVE管理系统</title>
    <title></title>
    <!-- 本框架基本脚本和样式 -->
    <link rel="stylesheet" type="text/css" th:href="@{/plugin/layer/skin/layer.css}">
    <script type="text/javascript"
@@ -24,7 +24,7 @@
<body class="fixed-sidebar full-height-layout gray-bg"
      style="overflow: hidden">
<div id="wrapper">
<div id="wrapper" v-cloak>
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close">
@@ -37,7 +37,7 @@
                        <a id="dLabel" data-toggle="dropdown" class="dropdown-toggle" href="#" aria-haspopup="true" aria-expanded="true">
                        <span class="clear" style="height: auto;">
                           <span class="block m-t-xs">
                              <strong class="font-bold">HIVE</strong>
                              <strong class="font-bold">{{systemName}}</strong>
                           </span>
                     </span>
                        </a>
@@ -85,11 +85,13 @@
                </div>
                <div class=" hidden-xs">
                    <div style="text-align:right;font-size: 14px; " >
                         <span style="line-height: 35px; display: inline-block; " th:utext="${session.userInfo.shopName}+' | '"></span>
                        <i class="fa fa-user" ></i>
                        <span style="line-height: 35px; color: #333; " th:utext="${session.userInfo.suName}">
                        <span style="line-height: 35px; color: #333; " th:utext="${session.userInfo.suName}+' | '">
                        </span>
                        <a style="line-height: 35px; color: #333; " target="_blank" href="https://www.yuque.com/books/share/7b10c3aa-f289-4f36-b402-5031fbd7f038" >
                            <i class="fa fa-book" aria-hidden="true"></i>
                            帮助手册</a>
                    </div>
                </div>
@@ -158,4 +160,39 @@
</script>
<script type="text/javascript" th:src="@{/plugin/bootstrap-3.3.5/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/js/systools/AjaxProxyVue.js}"></script>
<script type="text/javascript" th:src="@{/js/plugin/vue.js}"></script>
<script type="text/javascript" th:src="@{/plugin/element-ui/index.js}"></script>
<script>
    var app = new Vue({
        el: '#wrapper',
        data: {
            systemName: '',
        },
        created: function () {
            this.loadInfo();
        },
        mounted: function () {
        },
        methods: {
            loadInfo() {
                let _this = this;
                //加载配置
                AjaxProxy.requst({
                    app: _this,
                    type: 'Get',
                    data: {},
                    url: basePath + '/admin/busParameterSettings/getSystemName',
                    callback: function (data) {
                        _this.systemName = data.info;
                        document.title = _this.systemName;
                        console.log(_this.systemName);
                    }
                });
            }
        }
    })
</script>
</html>