修改菜单栏 增加多窗口导航
This commit is contained in:
+50
-72
@@ -5,28 +5,6 @@
|
||||
// 示例如下
|
||||
|
||||
const routes = [
|
||||
{
|
||||
name: "add-permission",
|
||||
path:"/setting/company/add-permission",
|
||||
component:"setting/company/add-permission",
|
||||
meta: {
|
||||
code:"permission_system_company_permission",
|
||||
icon: "sc-icon-Home",
|
||||
title: "功能授权",
|
||||
hidden: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "company-user-permission",
|
||||
path:"/setting/user/company-user-list",
|
||||
component:"setting/user/company-user-list",
|
||||
meta: {
|
||||
code:"permission_system_user_list",
|
||||
icon: "sc-icon-Home",
|
||||
title: "用户列表",
|
||||
hidden: true
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "view-permission",
|
||||
path:"/setting/user/view-permission",
|
||||
@@ -40,56 +18,56 @@ const routes = [
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
name: "home",
|
||||
path: "/home",
|
||||
meta: {
|
||||
icon: "sc-icon-Home",
|
||||
title: "首页",
|
||||
hidden: true
|
||||
},
|
||||
children: [{
|
||||
name: "dashboard",
|
||||
path: "/dashboard",
|
||||
component: "home/console",
|
||||
meta: {
|
||||
icon: "sc-icon-Console",
|
||||
title: "控制台",
|
||||
}
|
||||
},{
|
||||
name: "userCenter",
|
||||
path: "/user-center",
|
||||
component: "userCenter",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "个人信息",
|
||||
}
|
||||
},{
|
||||
name: "document",
|
||||
path: "/document",
|
||||
component: "docsManager/index",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "文档管理",
|
||||
}
|
||||
},{
|
||||
name: "earlyWarning",
|
||||
path: "/early-warning",
|
||||
component: "earlyManager/index",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "预警管理",
|
||||
}
|
||||
},{
|
||||
name: "mail",
|
||||
path: "/mail",
|
||||
component: "userCenter",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "我的邮件",
|
||||
}
|
||||
}]
|
||||
},
|
||||
// {
|
||||
// name: "home",
|
||||
// path: "/home",
|
||||
// meta: {
|
||||
// icon: "sc-icon-Home",
|
||||
// title: "首页",
|
||||
// hidden: true
|
||||
// },
|
||||
// children: [{
|
||||
// name: "dashboard",
|
||||
// path: "/dashboard",
|
||||
// component: "home/console",
|
||||
// meta: {
|
||||
// icon: "sc-icon-Console",
|
||||
// title: "控制台",
|
||||
// }
|
||||
// },{
|
||||
// name: "userCenter",
|
||||
// path: "/user-center",
|
||||
// component: "userCenter",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "个人信息",
|
||||
// }
|
||||
// },{
|
||||
// name: "document",
|
||||
// path: "/document",
|
||||
// component: "docsManager/index",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "文档管理",
|
||||
// }
|
||||
// },{
|
||||
// name: "earlyWarning",
|
||||
// path: "/early-warning",
|
||||
// component: "earlyManager/index",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "预警管理",
|
||||
// }
|
||||
// },{
|
||||
// name: "mail",
|
||||
// path: "/mail",
|
||||
// component: "userCenter",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "我的邮件",
|
||||
// }
|
||||
// }]
|
||||
// },
|
||||
{
|
||||
name: "order",
|
||||
path: "/order",
|
||||
|
||||
Reference in New Issue
Block a user