|
@@ -21,7 +21,13 @@ export default [
|
|
|
{
|
|
{
|
|
|
path: '/',
|
|
path: '/',
|
|
|
component: '../layouts/BasicLayout',
|
|
component: '../layouts/BasicLayout',
|
|
|
- authority: ['admin', 'client_access', 'department_access'],
|
|
|
|
|
|
|
+ authority: [
|
|
|
|
|
+ 'admin',
|
|
|
|
|
+ 'client_access',
|
|
|
|
|
+ 'company_access',
|
|
|
|
|
+ 'business_access',
|
|
|
|
|
+ 'department_access'
|
|
|
|
|
+ ],
|
|
|
routes: [
|
|
routes: [
|
|
|
{
|
|
{
|
|
|
path: '/',
|
|
path: '/',
|
|
@@ -72,7 +78,8 @@ export default [
|
|
|
path: '/customer/business',
|
|
path: '/customer/business',
|
|
|
name: 'business',
|
|
name: 'business',
|
|
|
icon: 'icon-usd-circle',
|
|
icon: 'icon-usd-circle',
|
|
|
- component: './Customer/Business'
|
|
|
|
|
|
|
+ component: './Customer/Business',
|
|
|
|
|
+ authority: ['admin', 'business_access']
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/customer/test',
|
|
path: '/customer/test',
|