| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- export default [
- {
- path: '/',
- component: '../layouts/SecurityLayout',
- routes: [
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './user/login'
- }
- ]
- },
- {
- path: '/',
- component: '../layouts/BasicLayout',
- authority: ['admin', 'clientAccess'],
- routes: [
- {
- path: '/',
- redirect: '/workbench/dashboard'
- },
- {
- path: '/workbench',
- name: 'workbench',
- icon: 'table-lamp',
- routes: [
- {
- path: '/workbench',
- redirect: '/workbench/dashboard'
- },
- {
- path: '/workbench/dashboard',
- name: 'workbench',
- icon: 'list',
- component: './workbench/Dashboard'
- }
- ]
- },
- {
- path: '/customer',
- name: 'customer',
- icon: 'address-book',
- routes: [
- {
- path: '/customer',
- redirect: '/customer/contact'
- },
- {
- path: '/customer/contact',
- name: 'contact',
- icon: 'user-business',
- component: './customer/Contact',
- authority: ['admin', 'clientAccess']
- },
- {
- path: '/customer/company',
- name: 'company',
- icon: 'city',
- component: './customer/Company',
- authority: ['admin', 'companyAccess']
- },
- {
- path: '/customer/finance',
- name: 'finance',
- icon: 'finance',
- component: './customer/Finance'
- },
- {
- path: '/customer/test',
- name: 'test',
- icon: 'alarm',
- component: './customer/Test'
- }
- ]
- },
- {
- path: '/product',
- name: 'product',
- 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'
- },
- {
- path: '/product/lock/lockcount',
- name: 'lockcount',
- component: './product/lock/Lockcount'
- }
- ]
- },
- {
- path: '/product/cloud',
- name: 'cloud',
- icon: 'network-drive',
- routes: [
- {
- path: '/product/cloud',
- redirect: '/product/cloud/building'
- },
- {
- path: '/product/cloud/building',
- name: 'build',
- component: './product/cloud/Building'
- },
- {
- path: '/product/cloud/curing',
- name: 'curing',
- component: './product/cloud/Curing'
- }
- ]
- }
- ]
- },
- {
- path: '/staff',
- name: 'staff',
- icon: 'peoples-two',
- routes: [
- {
- path: '/staff',
- redirect: '/staff/employee'
- },
- {
- path: '/staff/employee',
- name: 'employee',
- icon: 'peoples-two',
- component: './staff/Employee'
- }
- ]
- }
- ]
- }
- ]
- },
- {
- component: './404'
- }
- ]
|