Helius
2022-05-24 560228ac3c15cccce0b2a5994d44e4e81b5b3b73
zq-erp/src/main/resources/templates/views/admin/index.html
@@ -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,11 @@
                        <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">
<<<<<<< HEAD
                              <strong class="font-bold">阿尔法云管理系统</strong>
=======
                              <strong class="font-bold">{{systemName}}</strong>
>>>>>>> feature/订单服务单代码改造
                           </span>
                     </span>
                        </a>
@@ -160,4 +164,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>