|
|
@@ -19,26 +19,24 @@ export default [
|
|
|
component: '../layouts/BasicLayout',
|
|
|
authority: ['admin', 'user'],
|
|
|
routes: [
|
|
|
- // {
|
|
|
- // path: '/',
|
|
|
- // redirect: '/welcome',
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/welcome',
|
|
|
- // name: 'welcome',
|
|
|
- // (icon: 'smile'),
|
|
|
- // component: './Welcome',
|
|
|
- // },
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ redirect: '/workbench'
|
|
|
+ },
|
|
|
{
|
|
|
path: '/workbench',
|
|
|
name: 'workbench',
|
|
|
icon: 'table-lamp',
|
|
|
routes: [
|
|
|
{
|
|
|
- path: '/workbench/workbench',
|
|
|
+ path: '/workbench',
|
|
|
+ redirect: '/workbench/dashboard'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/workbench/dashboard',
|
|
|
name: 'workbench',
|
|
|
icon: 'list',
|
|
|
- component: './Workbench/workbench'
|
|
|
+ component: './workbench/Dashboard'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -48,28 +46,32 @@ export default [
|
|
|
icon: 'address-book',
|
|
|
routes: [
|
|
|
{
|
|
|
+ path: '/customer',
|
|
|
+ redirect: '/customer/contact'
|
|
|
+ },
|
|
|
+ {
|
|
|
path: '/customer/contact',
|
|
|
name: 'contact',
|
|
|
icon: 'user-business',
|
|
|
- component: './Customer/Contact'
|
|
|
+ component: './customer/Contact'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/company',
|
|
|
name: 'company',
|
|
|
icon: 'city',
|
|
|
- component: './Customer/Company'
|
|
|
+ component: './customer/Company'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/finance',
|
|
|
name: 'finance',
|
|
|
icon: 'finance',
|
|
|
- component: './Customer/Finance'
|
|
|
+ component: './customer/Finance'
|
|
|
},
|
|
|
{
|
|
|
path: '/customer/test',
|
|
|
name: 'test',
|
|
|
icon: 'alarm',
|
|
|
- component: './Customer/Test'
|
|
|
+ component: './customer/Test'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -79,19 +81,27 @@ export default [
|
|
|
icon: 'ad-product',
|
|
|
routes: [
|
|
|
{
|
|
|
+ path: '/product',
|
|
|
+ redirect: '/product/lock'
|
|
|
+ },
|
|
|
+ {
|
|
|
path: '/product/lock',
|
|
|
name: 'lock',
|
|
|
icon: 'disk-one',
|
|
|
routes: [
|
|
|
{
|
|
|
+ path: '/product/lock',
|
|
|
+ redirect: '/product/lock/lockstore'
|
|
|
+ },
|
|
|
+ {
|
|
|
path: '/product/lock/lockstore',
|
|
|
name: 'lockstore',
|
|
|
- component: './Product/Lock/Lockstore'
|
|
|
+ component: './product/lock/Lockstore'
|
|
|
},
|
|
|
{
|
|
|
path: '/product/lock/lockcount',
|
|
|
name: 'lockcount',
|
|
|
- component: './Product/Lock/Lockcount'
|
|
|
+ component: './product/lock/Lockcount'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -101,14 +111,18 @@ export default [
|
|
|
icon: 'network-drive',
|
|
|
routes: [
|
|
|
{
|
|
|
+ path: '/product/cloud',
|
|
|
+ redirect: '/product/cloud/building'
|
|
|
+ },
|
|
|
+ {
|
|
|
path: '/product/cloud/building',
|
|
|
name: 'build',
|
|
|
- component: './Product/Cloud/Building'
|
|
|
+ component: './product/cloud/Building'
|
|
|
},
|
|
|
{
|
|
|
path: '/product/cloud/curing',
|
|
|
name: 'curing',
|
|
|
- component: './Product/Cloud/Curing'
|
|
|
+ component: './product/cloud/Curing'
|
|
|
}
|
|
|
]
|
|
|
}
|