|
@@ -212,61 +212,61 @@ export const asyncRouterMap = [
|
|
|
},
|
|
|
|
|
|
|
|
|
- {
|
|
|
- path: '/account',
|
|
|
- component: RouteView,
|
|
|
- redirect: '/account/center',
|
|
|
- name: 'account',
|
|
|
- meta: { title: '个人页', icon: 'user', keepAlive: true, permission: [ 'user' ] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/account/center',
|
|
|
- name: 'center',
|
|
|
- component: () => import('@/views/account/center'),
|
|
|
- meta: { title: '个人中心', keepAlive: true, permission: [ 'user' ] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/account/settings',
|
|
|
- name: 'settings',
|
|
|
- component: () => import('@/views/account/settings/Index'),
|
|
|
- meta: { title: '个人设置', hideHeader: true, permission: [ 'user' ] },
|
|
|
- redirect: '/account/settings/base',
|
|
|
- hideChildrenInMenu: true,
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/account/settings/base',
|
|
|
- name: 'BaseSettings',
|
|
|
- component: () => import('@/views/account/settings/BaseSetting'),
|
|
|
- meta: { title: '基本设置', hidden: true, permission: [ 'user' ] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/account/settings/security',
|
|
|
- name: 'SecuritySettings',
|
|
|
- component: () => import('@/views/account/settings/Security'),
|
|
|
- meta: { title: '安全设置', hidden: true, keepAlive: true, permission: [ 'user' ] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/account/settings/custom',
|
|
|
- name: 'CustomSettings',
|
|
|
- component: () => import('@/views/account/settings/Custom'),
|
|
|
- meta: { title: '个性化设置', hidden: true, keepAlive: true, permission: [ 'user' ] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/account/settings/binding',
|
|
|
- name: 'BindingSettings',
|
|
|
- component: () => import('@/views/account/settings/Binding'),
|
|
|
- meta: { title: '账户绑定', hidden: true, keepAlive: true, permission: [ 'user' ] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/account/settings/notification',
|
|
|
- name: 'NotificationSettings',
|
|
|
- component: () => import('@/views/account/settings/Notification'),
|
|
|
- meta: { title: '新消息通知', hidden: true, keepAlive: true, permission: [ 'user' ] }
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
{
|
|
@@ -280,11 +280,59 @@ export const asyncRouterMap = [
|
|
|
path: '/markting/seas',
|
|
|
name: 'Seas',
|
|
|
component: () => import('@/views/markting/seas/list'),
|
|
|
- meta: { title: '公海池', hideHeader: true, permission: [ 'user' ] },
|
|
|
+ meta: { title: '公海池', hideHeader: true, permission: [ 'user' ] }
|
|
|
}
|
|
|
- ],
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/basics',
|
|
|
+ component: RouteView,
|
|
|
+ redirect: '/basics/sell',
|
|
|
+ name: 'basics',
|
|
|
+ meta: { title: '基础配置', icon: 'user', keepAlive: true, permission: [ 'basics' ] },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/basics/sell',
|
|
|
+ name: 'sell',
|
|
|
+ component: () => import('@/views/basics/sell/index'),
|
|
|
+ meta: { title: '销售配置', hideHeader: true, permission: [ 'basics' ] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/basics/tag',
|
|
|
+ name: 'tag',
|
|
|
+ component: () => import('@/views/basics/tag/index'),
|
|
|
+ meta: { title: '标签配置', hideHeader: true, permission: [ 'basics' ] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/basics/class',
|
|
|
+ name: 'class',
|
|
|
+ component: () => import('@/views/basics/class/index'),
|
|
|
+ meta: { title: '教室配置', hideHeader: true, permission: [ 'basics' ] }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/roleIng',
|
|
|
+ component: RouteView,
|
|
|
+ name: 'roleIng',
|
|
|
+ redirect: '/account/role',
|
|
|
+ meta: { title: '权限管理', icon: 'user', hideHeader: true, permission: [ 'account' ] },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/roleIng/staff',
|
|
|
+ name: 'staff',
|
|
|
+ component: () => import('@/views/roleIng/staff/index'),
|
|
|
+ meta: { title: '员工管理', hideHeader: true, permission: [ 'roleIng' ] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/roleIng/role',
|
|
|
+ name: 'role',
|
|
|
+ component: () => import('@/views/roleIng/role/index'),
|
|
|
+ meta: { title: '角色管理', hideHeader: true, permission: [ 'roleIng' ] }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
-
|
|
|
|
|
|
|
|
|
{
|