|
@@ -50,15 +50,8 @@ export default [
|
|
|
routes: [
|
|
routes: [
|
|
|
{
|
|
{
|
|
|
path: '/customer',
|
|
path: '/customer',
|
|
|
- redirect: '/customer/client',
|
|
|
|
|
- authority: ['admin', 'client_access']
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/customer/client',
|
|
|
|
|
- name: 'client',
|
|
|
|
|
- icon: 'icon-address-book',
|
|
|
|
|
- component: './Customer/Client',
|
|
|
|
|
- authority: ['admin', 'client_access']
|
|
|
|
|
|
|
+ redirect: '/customer/Company',
|
|
|
|
|
+ authority: ['admin', 'company_access']
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/customer/company',
|
|
path: '/customer/company',
|
|
@@ -68,6 +61,13 @@ export default [
|
|
|
authority: ['admin', 'company_access']
|
|
authority: ['admin', 'company_access']
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ path: '/customer/client',
|
|
|
|
|
+ name: 'client',
|
|
|
|
|
+ icon: 'icon-address-book',
|
|
|
|
|
+ component: './Customer/Client',
|
|
|
|
|
+ authority: ['admin', 'client_access']
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
path: '/customer/business',
|
|
path: '/customer/business',
|
|
|
name: 'business',
|
|
name: 'business',
|
|
|
icon: 'icon-usd-circle',
|
|
icon: 'icon-usd-circle',
|