export default [ { path: '/', component: '../layouts/BlankLayout', routes: [ { path: '/user', component: '../layouts/UserLayout', routes: [ { name: 'login', path: '/user/login', component: './user/login' } ] }, { path: '/', component: '../layouts/SecurityLayout', routes: [ { path: '/', component: '../layouts/BasicLayout', authority: ['admin', 'client_access'], routes: [ { path: '/', redirect: '/customer/contact' }, { path: '/workbench', name: 'workbench', icon: 'icon-chess', routes: [ { path: '/workbench', redirect: '/workbench/dashboard' }, { path: '/workbench/dashboard', name: 'dashboard', icon: 'icon-tachometer-alt', component: './workbench/Dashboard' } ] }, { path: '/customer', name: 'customer', icon: 'icon-address-book-o', routes: [ { path: '/customer', redirect: '/customer/contact', authority: ['admin', 'client_access'] }, { path: '/customer/contact', name: 'contact', icon: 'icon-address-book', component: './customer/Contact', authority: ['admin', 'client_access'] }, { path: '/customer/company', name: 'company', icon: 'icon-building', component: './customer/Company', authority: ['admin', 'company_access'] }, { path: '/customer/business', name: 'business', icon: 'icon-usd-circle', component: './customer/Business' } ] }, { path: '/product', name: 'product', icon: 'icon-box', routes: [ { path: '/product', redirect: '/product/lock' }, { path: '/product/lock', name: 'lock', icon: 'icon-magic', 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: 'icon-cloud', 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: 'icon-users', routes: [ { path: '/staff', redirect: '/staff/employee' }, { path: '/staff/employee', name: 'employee', icon: 'icon-users', component: './Staff/Employee' } ] } ] } ] } ] }, { component: './404' } ]