菜单配置

cyl/dev
张少康 2 years ago
parent f1b95a4294
commit 2b17cd85e5

@ -89,8 +89,11 @@
<router-view @setTitle="setTitle"></router-view> <router-view @setTitle="setTitle"></router-view>
<!-- </div> --> <!-- </div> -->
</a-layout-content> </a-layout-content>
<div style="height: 64px;background-color: #f5f5f5;line-height: 64px;color: #999;font-size: 14px;text-align: center;padding-left: 152px;">Copyright © 2015 - 2021 Matripe. All Rights Reserved.</div> <div style="height: 64px;background-color: #f5f5f5;line-height: 64px;color: #999;font-size: 14px;text-align: center;padding-left: 152px;">
Copyright © 2015 - 2021 Matripe. All Rights Reserved.
</div>
</div> </div>
<!-- <notice @parentPageCallBack="showMessageFromChild" ref="child"></notice> --> <!-- <notice @parentPageCallBack="showMessageFromChild" ref="child"></notice> -->
</div> </div>
@ -125,6 +128,20 @@ export default {
level: 1, level: 1,
menuType: 1, menuType: 1,
children: [ children: [
{
id: 295,
parentId: 294,
name: 'MemberInfo',
url: '/memberInfo',
icon: '',
component: 'home',
path: '/home',
title: '我的团队',
menuName: 'dashboard',
level: 2,
menuType: 1,
children: '',
},
{ {
id: -110, id: -110,
parentId: 294, parentId: 294,
@ -155,46 +172,106 @@ export default {
{ {
id: 294, id: 294,
parentId: '', parentId: '',
name: ' teammanagement', name: 'teammanagement',
url: ' ', url: ' ',
icon: 'dashboard', icon: 'team',
component: '', component: '',
path: '', path: '',
title: '团队管理', title: '团队管理',
menuName: 'dashboard', menuName: 'teammanagement',
level: 1, level: 1,
menuType: 1, menuType: 1,
children: [ children: [
{ {
id: 295, id: 295,
parentId: 294, parentId: 294,
name: 'DataStatistics', name: 'MemberInfo',
url: '/memberInfo', url: '/memberInfo',
icon: '', icon: '',
component: 'home', component: 'home',
path: '/home', path: '/home',
title: '团队数据', title: '团队成员',
menuName: 'dashboard', menuName: 'teammanagement',
level: 2, level: 2,
menuType: 1, menuType: 1,
children: '', children: '',
}, },
{ {
id: 295, id: 296,
parentId: 294, parentId: 294,
name: 'MemberInfo', name: 'DataStatistics3',
url: '/memberInfo', url: '/memberInfo',
icon: '', icon: '',
component: 'home', component: 'home',
path: '/home', path: '/home',
title: '团队成员', title: '角色管理',
menuName: 'dashboard', menuName: 'teammanagement',
level: 2, level: 2,
menuType: 1, menuType: 1,
children: '', children: '',
}, },
], ],
}, },
{
id: 294,
parentId: '',
name: 'group',
url: ' ',
icon: 'bar-chart',
component: '',
path: '',
title: '数据统计',
menuName: 'group',
level: 1,
menuType: 1,
children: [
{
id: 295,
parentId: 294,
name: 'DataStatistics',
url: '/memberInfo',
icon: '',
component: 'home',
path: '/home',
title: '团队数据',
menuName: 'group',
level: 2,
menuType: 1,
children: '',
},
],
},
{
id: 294,
parentId: '',
name: 'container',
url: ' ',
icon: 'container',
component: '',
path: '',
title: '内容管理',
menuName: 'container',
level: 1,
menuType: 1,
children: [
{
id: 295,
parentId: 294,
name: 'DataStatistics2',
url: '/memberInfo',
icon: '',
component: 'home',
path: '/home',
title: '通知中心',
menuName: 'container',
level: 2,
menuType: 1,
children: '',
},
],
},
], ],
openKeys: [], openKeys: [],
userbaseInfo: JSON.parse(localStorage.getItem('LOGIN_DATA')), userbaseInfo: JSON.parse(localStorage.getItem('LOGIN_DATA')),

Loading…
Cancel
Save