|
@@ -82,7 +82,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '数据统计',
|
|
|
icon: 'el-icon-s-help',
|
|
|
- roles: ['admin', 'editor']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
@@ -92,7 +92,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '下载照片',
|
|
|
// icon: 'table'
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -102,7 +102,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '上传照片',
|
|
|
// icon: 'tree'
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -112,7 +112,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '提现记录',
|
|
|
// icon: 'tree'
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -126,7 +126,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '摄影师',
|
|
|
icon: 'el-icon-s-help',
|
|
|
- roles: ['admin', 'editor', 'photoer']
|
|
|
+ roles: ['admin', 'photoer', 'photoer_management']
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
@@ -161,7 +161,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '活动列表',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'photoer_management']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -172,7 +172,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '照片商品管理',
|
|
|
// icon: 'table',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'photo_management']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -183,7 +183,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '上传照片审核',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'photoer_management']
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -208,7 +208,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '摄影师认证审核',
|
|
|
// icon: 'table',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'photoer_management']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -242,7 +242,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '会员管理',
|
|
|
icon: 'el-icon-s-help',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
@@ -252,7 +252,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '会员等级',
|
|
|
// icon: 'table',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -262,7 +262,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '会员列表',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
}
|
|
|
]
|
|
@@ -345,7 +345,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '基础管理',
|
|
|
icon: 'el-icon-s-help',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
@@ -355,7 +355,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '热搜词管理',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -366,7 +366,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: 'Banner管理',
|
|
|
// icon: 'table',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'designer']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -376,7 +376,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '资讯管理',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -387,7 +387,7 @@ export const asyncRoutes = [
|
|
|
meta: {
|
|
|
title: '问题管理',
|
|
|
// icon: 'tree',
|
|
|
- roles: ['admin']
|
|
|
+ roles: ['admin', 'operate']
|
|
|
}
|
|
|
}
|
|
|
]
|