diff --git a/admin/src/router/index.js b/admin/src/router/index.js index fead9425..142ba839 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -200,7 +200,7 @@ export const asyncRoutes = [ meta: { title: 'QA管理', icon: 'el-icon-question', - roles: ['order_index', 'editor'] + roles: ['order_index', 'editor', 'franchisee'] }, children: [ { @@ -209,7 +209,7 @@ export const asyncRoutes = [ name: 'problem', meta: { title: 'QA常见问题', - roles: ['order_pub', 'editor'] + roles: ['order_pub', 'editor', 'franchisee'] } }, { @@ -299,7 +299,7 @@ export const asyncRoutes = [ meta: { title: '日志记录', icon: 'nested', - roles: ['follow_index', 'log_index', 'editor'] + roles: ['follow_index', 'log_index', 'editor', 'franchisee'] }, children: [ { @@ -308,7 +308,7 @@ export const asyncRoutes = [ name: 'Follow', meta: { title: '跟进记录', - roles: ['follow_index', 'editor'] + roles: ['follow_index', 'editor', 'franchisee'] } }, { @@ -331,7 +331,7 @@ export const asyncRoutes = [ meta: { title: '公告管理', icon: 'el-icon-s-promotion', - roles: ['follow_index', 'log_index', 'editor'] + roles: ['admin'] }, children: [ { @@ -340,7 +340,7 @@ export const asyncRoutes = [ name: 'list', meta: { title: '公告列表', - roles: ['follow_index', 'editor'] + roles: ['admin'] } } ] diff --git a/admin/src/views/admin/index.vue b/admin/src/views/admin/index.vue index 27338d9e..f6ae95da 100644 --- a/admin/src/views/admin/index.vue +++ b/admin/src/views/admin/index.vue @@ -109,6 +109,21 @@ > + + + + + + + + 多个用英文逗号隔开,例如: 384731,2328 +