Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yulun Yao
multiSystem
Commits
9b58fbdb
Commit
9b58fbdb
authored
Oct 16, 2020
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片裂开,系统管理菜单置顶
parent
d8d8a367
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
19 deletions
+22
-19
index.vue
src/components/Layout/index.vue
+5
-2
getMicRouters.js
src/router/getMicRouters.js
+1
-1
routes.js
src/router/routes.js
+16
-16
No files found.
src/components/Layout/index.vue
View file @
9b58fbdb
...
...
@@ -3,7 +3,9 @@
<a-layout
id=
"SubLayout"
>
<a-layout-sider
v-model=
"collapsed"
:trigger=
"null"
breakpoint=
"lg"
collapsible
>
<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>
</div>
<SideMenu
/>
...
...
@@ -189,7 +191,8 @@ export default {
if
(
res
.
code
==
200
)
{
const
logConfig
=
this
.
$com
.
confirm
(
res
,
'data.content'
,
{})
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
document
.
title
=
this
.
logoConfig
.
logoName
}
...
...
src/router/getMicRouters.js
View file @
9b58fbdb
...
...
@@ -15,7 +15,7 @@ async function GetRoutes(router) {
MicRouters
=
xuhui
break
default
:
// 当前仅可使用pudong / xuhui
-sit/uat进行打包
default
:
// 当前仅可使用pudong / xuhui-sit/uat进行打包
MicRouters
=
pudong
break
}
...
...
src/router/routes.js
View file @
9b58fbdb
...
...
@@ -33,6 +33,22 @@ const appRoutes = [
{
path
:
'/noauth'
,
name
:
'noauth'
,
component
:
resolve
=>
require
([
'@/views/errorTips/auth'
],
resolve
),
//TipsNoAuth,
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,
meta
:
{
title
:
'住宅信息'
,
menuPath
:
true
,
menuIcon
:
'profile'
,
hideInBread
:
true
},
...
...
@@ -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
,
},
},
]
},
],
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment