Commit 9b58fbdb authored by Gakki's avatar Gakki

图片裂开,系统管理菜单置顶

parent d8d8a367
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
<a-layout id="SubLayout"> <a-layout id="SubLayout">
<a-layout-sider v-model="collapsed" :trigger="null" breakpoint="lg" collapsible> <a-layout-sider v-model="collapsed" :trigger="null" breakpoint="lg" collapsible>
<div id="logo" @click="showLogoConfigFormModal()" style="cursor: pointer;"> <div id="logo" @click="showLogoConfigFormModal()" style="cursor: pointer;">
<img class="logo-img" :src="logoConfig.logoImg" alt="" > <!-- <img class="logo-img" :src="logoConfig.logoImg" alt="" /> -->
<img v-if="!!logoConfig.logoImg" class="logo-img" :src="logoConfig.logoImg" alt="" />
<img v-else class="logo-img">
<span v-show="!collapsed" class="logo-title" >{{logoConfig.logoName}}</span> <span v-show="!collapsed" class="logo-title" >{{logoConfig.logoName}}</span>
</div> </div>
<SideMenu /> <SideMenu />
...@@ -189,7 +191,8 @@ export default { ...@@ -189,7 +191,8 @@ export default {
if (res.code==200) { if (res.code==200) {
const logConfig = this.$com.confirm(res, 'data.content', {}) const logConfig = this.$com.confirm(res, 'data.content', {})
this.logoConfig.logoName = !logConfig.prjName?'':logConfig.prjName this.logoConfig.logoName = !logConfig.prjName?'':logConfig.prjName
this.logoConfig.logoImg = !logConfig.titleImg?'':logConfig.titleImg // this.logoConfig.logoImg = !logConfig.titleImg?'':logConfig.titleImg
this.logoConfig.logoImg = !!logConfig?logConfig.titleImg:''
this.logoConfigDatas.previewImage = this.logoConfig.logoImg this.logoConfigDatas.previewImage = this.logoConfig.logoImg
document.title = this.logoConfig.logoName document.title = this.logoConfig.logoName
} }
......
...@@ -15,7 +15,7 @@ async function GetRoutes(router) { ...@@ -15,7 +15,7 @@ async function GetRoutes(router) {
MicRouters = xuhui MicRouters = xuhui
break break
default: // 当前仅可使用pudong / xuhui -sit/uat进行打包 default: // 当前仅可使用pudong / xuhui-sit/uat进行打包
MicRouters = pudong MicRouters = pudong
break break
} }
......
...@@ -33,6 +33,22 @@ const appRoutes = [ ...@@ -33,6 +33,22 @@ const appRoutes = [
{ path: '/noauth', name: 'noauth', component: resolve => require(['@/views/errorTips/auth'], resolve), //TipsNoAuth, { path: '/noauth', name: 'noauth', component: resolve => require(['@/views/errorTips/auth'], resolve), //TipsNoAuth,
meta: { title: '无权访问', }, meta: { title: '无权访问', },
}, },
{
path: '/systemManagement', name: 'systemManagement', component: resolve => require(['@/components/Layout/content-wrapper'], resolve), //ContentWrapper,
meta: { title: '系统管理', menuPath: true, menuIcon: 'profile', hideInBread: true },
children: [
{ // 系统信息配置
path: '/systemManagement/sysInfoSetting', name: 'sysInfoSetting', component: resolve => require(['@/views/personal/sysInfoSetting'], resolve), //NonResidents,
meta: { title: '系统信息配置', menuPath: true, hideInBread: false, },
children: [
]
},
{ // 拓展信息管理
path: '/systemManagement/tbls', name: 'tbls', component: resolve => require(['@/views/houseData/tbls'], resolve), //Tbls,
meta: { title: '拓展信息管理', menuPath: true, menuIcon: 'setting', hideInBread: false, },
},
]
},
{ {
path: '/house', name: 'house', component: resolve => require(['@/components/Layout/content-wrapper'], resolve), // ContentWrapper, path: '/house', name: 'house', component: resolve => require(['@/components/Layout/content-wrapper'], resolve), // ContentWrapper,
meta: { title: '住宅信息', menuPath: true, menuIcon: 'profile', hideInBread: true }, meta: { title: '住宅信息', menuPath: true, menuIcon: 'profile', hideInBread: true },
...@@ -133,22 +149,6 @@ const appRoutes = [ ...@@ -133,22 +149,6 @@ const appRoutes = [
}, },
] ]
}, },
{
path: '/systemManagement', name: 'systemManagement', component: resolve => require(['@/components/Layout/content-wrapper'], resolve), //ContentWrapper,
meta: { title: '系统管理', menuPath: true, menuIcon: 'profile', hideInBread: true },
children: [
{ // 系统信息配置
path: '/systemManagement/sysInfoSetting', name: 'sysInfoSetting', component: resolve => require(['@/views/personal/sysInfoSetting'], resolve), //NonResidents,
meta: { title: '系统信息配置', menuPath: true, hideInBread: false, },
children: [
]
},
{ // 拓展信息管理
path: '/systemManagement/tbls', name: 'tbls', component: resolve => require(['@/views/houseData/tbls'], resolve), //Tbls,
meta: { title: '拓展信息管理', menuPath: true, menuIcon: 'setting', hideInBread: false, },
},
]
},
], ],
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment