|
@@ -6,9 +6,9 @@ export default [
|
|
|
{
|
|
{
|
|
|
name: 'login',
|
|
name: 'login',
|
|
|
path: '/user/login',
|
|
path: '/user/login',
|
|
|
- component: './user/login',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ component: './user/login'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/',
|
|
path: '/',
|
|
@@ -26,98 +26,98 @@ export default [
|
|
|
// {
|
|
// {
|
|
|
// path: '/welcome',
|
|
// path: '/welcome',
|
|
|
// name: 'welcome',
|
|
// name: 'welcome',
|
|
|
- // icon: 'smile',
|
|
|
|
|
|
|
+ // (icon: 'smile'),
|
|
|
// component: './Welcome',
|
|
// component: './Welcome',
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- path: '/workbench',
|
|
|
|
|
- name: 'workbench',
|
|
|
|
|
- icon: 'icon-chess',
|
|
|
|
|
- routes: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/workbench/workbench',
|
|
|
|
|
- name: 'workbench',
|
|
|
|
|
- component: './Workbench/workbench',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/customer',
|
|
|
|
|
- name: 'customer',
|
|
|
|
|
- icon: 'icon-address-book',
|
|
|
|
|
- routes: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/customer/contact',
|
|
|
|
|
- name: 'contact',
|
|
|
|
|
- icon: 'icon-address-book-o',
|
|
|
|
|
- component: './Customer/Contact',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/customer/company',
|
|
|
|
|
- name: 'company',
|
|
|
|
|
- icon: 'icon-building',
|
|
|
|
|
- component: './Customer/Company',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/customer/test',
|
|
|
|
|
- name: 'test',
|
|
|
|
|
- icon: 'icon-siglyphalarmclock',
|
|
|
|
|
- component: './Customer/Test',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product',
|
|
|
|
|
- name: 'product',
|
|
|
|
|
- icon: 'icon-box',
|
|
|
|
|
- routes: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/lock',
|
|
|
|
|
- name: 'lock',
|
|
|
|
|
- icon: 'icon-magic',
|
|
|
|
|
- routes: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/lock/lockstore',
|
|
|
|
|
- name: 'lockstore',
|
|
|
|
|
- component: './Product/Lock/Lockstore',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/lock/lockcount',
|
|
|
|
|
- name: 'lockcount',
|
|
|
|
|
- component: './Product/Lock/Lockcount',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/cloud',
|
|
|
|
|
- name: 'cloud',
|
|
|
|
|
- icon: 'icon-cloud',
|
|
|
|
|
- routes: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/cloud/building',
|
|
|
|
|
- name: 'build',
|
|
|
|
|
- component: './Product/Cloud/Building',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/product/cloud/curing',
|
|
|
|
|
- name: 'curing',
|
|
|
|
|
- component: './Product/Cloud/Curing',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/workbench',
|
|
|
|
|
+ name: 'workbench',
|
|
|
|
|
+ // // icon: 'icon-chess',
|
|
|
|
|
+ routes: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/workbench/workbench',
|
|
|
|
|
+ name: 'workbench',
|
|
|
|
|
+ component: './Workbench/workbench'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/customer',
|
|
|
|
|
+ name: 'customer',
|
|
|
|
|
+ // // icon: 'icon-address-book',
|
|
|
|
|
+ routes: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/customer/contact',
|
|
|
|
|
+ name: 'contact',
|
|
|
|
|
+ icon: 'address-book',
|
|
|
|
|
+ component: './Customer/Contact'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/customer/company',
|
|
|
|
|
+ name: 'company',
|
|
|
|
|
+ icon: 'ad-product',
|
|
|
|
|
+ component: './Customer/Company'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/customer/test',
|
|
|
|
|
+ name: 'test',
|
|
|
|
|
+ icon: 'alarm',
|
|
|
|
|
+ component: './Customer/Test'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product',
|
|
|
|
|
+ name: 'product',
|
|
|
|
|
+ // // icon: 'icon-box',
|
|
|
|
|
+ routes: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/lock',
|
|
|
|
|
+ name: 'lock',
|
|
|
|
|
+ // // icon: 'icon-magic',
|
|
|
|
|
+ routes: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/lock/lockstore',
|
|
|
|
|
+ name: 'lockstore',
|
|
|
|
|
+ component: './Product/Lock/Lockstore'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/lock/lockcount',
|
|
|
|
|
+ name: 'lockcount',
|
|
|
|
|
+ component: './Product/Lock/Lockcount'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/cloud',
|
|
|
|
|
+ name: 'cloud',
|
|
|
|
|
+ // // icon: 'icon-cloud',
|
|
|
|
|
+ routes: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/cloud/building',
|
|
|
|
|
+ name: 'build',
|
|
|
|
|
+ component: './Product/Cloud/Building'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/product/cloud/curing',
|
|
|
|
|
+ name: 'curing',
|
|
|
|
|
+ component: './Product/Cloud/Curing'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
// {
|
|
// {
|
|
|
// path: '/admin',
|
|
// path: '/admin',
|
|
|
// name: 'admin',
|
|
// name: 'admin',
|
|
|
- // icon: 'crown',
|
|
|
|
|
|
|
+ // icon: 'crown',
|
|
|
// component: './Admin',
|
|
// component: './Admin',
|
|
|
// authority: ['admin'],
|
|
// authority: ['admin'],
|
|
|
// routes: [
|
|
// routes: [
|
|
|
// {
|
|
// {
|
|
|
// path: '/admin/sub-page',
|
|
// path: '/admin/sub-page',
|
|
|
// name: 'sub-page',
|
|
// name: 'sub-page',
|
|
|
- // icon: 'smile',
|
|
|
|
|
|
|
+ // icon: 'smile',
|
|
|
// component: './Welcome',
|
|
// component: './Welcome',
|
|
|
// authority: ['admin'],
|
|
// authority: ['admin'],
|
|
|
// },
|
|
// },
|
|
@@ -125,21 +125,21 @@ export default [
|
|
|
// },
|
|
// },
|
|
|
// {
|
|
// {
|
|
|
// name: 'list.table-list',
|
|
// name: 'list.table-list',
|
|
|
- // icon: 'table',
|
|
|
|
|
|
|
+ // icon: 'table',
|
|
|
// path: '/list',
|
|
// path: '/list',
|
|
|
// component: './ListTableList',
|
|
// component: './ListTableList',
|
|
|
// },
|
|
// },
|
|
|
// {
|
|
// {
|
|
|
// component: './404',
|
|
// component: './404',
|
|
|
// },
|
|
// },
|
|
|
- ],
|
|
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- component: './404',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ component: './404'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- component: './404',
|
|
|
|
|
- },
|
|
|
|
|
-];
|
|
|
|
|
|
|
+ component: './404'
|
|
|
|
|
+ }
|
|
|
|
|
+]
|