|
|
@@ -52,24 +52,21 @@ export default [
|
|
|
name: 'client',
|
|
|
icon: 'icon-kehu2',
|
|
|
component: './Customer/Client',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/company',
|
|
|
name: 'company',
|
|
|
icon: 'icon-danwei',
|
|
|
component: './Customer/Company',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/business',
|
|
|
name: 'business',
|
|
|
icon: 'icon-shangji',
|
|
|
component: './Customer/Business',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/test',
|
|
|
@@ -101,8 +98,7 @@ export default [
|
|
|
path: '/product/lock/lockstore',
|
|
|
name: 'lockstore',
|
|
|
component: './Product/Lock/LockStore',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
}
|
|
|
// {
|
|
|
// path: '/product/lock/lockcount',
|
|
|
@@ -166,7 +162,7 @@ export default [
|
|
|
name: 'enterprise',
|
|
|
component: './Product/Road/Enterprise',
|
|
|
access: 'authRouteFilter'
|
|
|
- // validatePerm: true
|
|
|
+ //
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -194,22 +190,19 @@ export default [
|
|
|
path: '/statistic/product/usage',
|
|
|
name: 'usage',
|
|
|
component: './Statistic/Product/SoftwareUsage',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/statistic/product/aggregate',
|
|
|
name: 'aggregate',
|
|
|
component: './Statistic/Product/InvoiceAggregate',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/statistic/product/trends',
|
|
|
name: 'trends',
|
|
|
component: './Statistic/Product/InvoiceTrends',
|
|
|
- access: 'authRouteFilter',
|
|
|
- validatePerm: true
|
|
|
+ access: 'authRouteFilterWithPerm'
|
|
|
},
|
|
|
{
|
|
|
path: '/statistic/product/receivables',
|