| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './User/Login'
- }
- ]
- },
- {
- path: '/',
- redirect: '/workbench'
- },
- {
- path: '/account/settings',
- name: 'settings',
- hideInMenu: true,
- component: './User/Account/Settings'
- },
- {
- 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',
- access: 'authPermDataFilter'
- }
- ]
- },
- {
- path: '/customer',
- name: 'customer',
- icon: 'icon-address-book-o',
- routes: [
- {
- path: '/customer',
- redirect: '/customer/client'
- },
- {
- path: '/customer/client',
- name: 'client',
- icon: 'icon-address-book',
- component: './Customer/Client',
- access: 'authRouteFilter',
- validatePerm: true
- },
- {
- path: '/customer/company',
- name: 'company',
- icon: 'icon-building',
- component: './Customer/Company',
- access: 'authRouteFilter',
- validatePerm: true
- },
- {
- path: '/customer/business',
- name: 'business',
- icon: 'icon-usd-circle',
- component: './Customer/Business',
- access: 'authRouteFilter',
- validatePerm: true
- }
- // {
- // path: '/customer/test',
- // name: 'test',
- // icon: 'icon-usd-circle',
- // component: './Customer/Test'
- // }
- ]
- },
- {
- 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',
- access: 'authRouteFilter',
- validatePerm: true
- }
- // {
- // 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: 'building',
- component: './Product/Cloud',
- access: 'authRouteFilter'
- },
- {
- path: '/product/cloud/curing',
- name: 'curing',
- component: './Product/Cloud',
- access: 'authRouteFilter'
- },
- {
- path: '/product/cloud/highway',
- name: 'highway',
- component: './Product/Cloud',
- access: 'authRouteFilter'
- },
- {
- path: '/product/cloud/gs',
- name: 'gs',
- component: './Product/Cloud',
- access: 'authRouteFilter'
- }
- ]
- },
- {
- path: '/product/road',
- name: 'road',
- icon: 'icon-yunzhuji',
- routes: [
- {
- path: '/product/road',
- redirect: '/product/road/personal'
- },
- {
- path: '/product/road/personal',
- name: 'personal',
- component: './Product/Road/Personal',
- access: 'authRouteFilter'
- },
- {
- path: '/product/road/enterprise',
- name: 'enterprise',
- component: './Product/Road/Enterprise',
- access: 'authRouteFilter'
- // validatePerm: true
- }
- ]
- }
- ]
- },
- {
- path: 'statistic',
- name: 'statistic',
- icon: 'icon-tongji',
- routes: [
- {
- path: '/statistic',
- redirect: '/statistic/product'
- },
- {
- path: 'product',
- name: 'product',
- icon: 'icon-chanpin',
- routes: [
- {
- path: '/statistic/product',
- redirect: '/statistic/product/software-usage'
- },
- {
- path: 'software-usage',
- name: 'software-usage',
- component: './Statistic/Product/SoftwareUsage',
- access: 'authRouteFilter',
- validatePerm: true
- },
- {
- path: 'invoice-aggregate',
- name: 'invoice-aggregate',
- component: './Statistic/Product/InvoiceAggregate',
- access: 'authRouteFilter',
- validatePerm: true
- },
- {
- path: 'invoice-trends',
- name: 'invoice-trends',
- component: './Statistic/Product/InvoiceTrends',
- access: 'authRouteFilter',
- validatePerm: true
- },
- {
- path: 'customer-additions',
- name: 'customer-additions',
- component: './Statistic/Product/CustomerAdditions'
- }
- ]
- }
- ]
- },
- {
- path: 'http://cld.smartcost.com.cn/saeaBorad',
- name: 'saeaBorad',
- icon: 'icon-clipboard-list'
- },
- {
- path: 'http://cld.smartcost.com.cn/invoice',
- name: 'invoice',
- icon: 'icon-credit-card1'
- },
- {
- path: 'http://cld.smartcost.com.cn/holidayborad',
- name: 'holidayborad',
- icon: 'icon-siglyphalarmclock'
- },
- {
- path: '/hr',
- name: 'hr',
- icon: 'icon-users',
- routes: [
- {
- path: '/hr',
- redirect: '/hr/employee'
- },
- {
- path: '/hr/employee',
- name: 'employee',
- icon: 'icon-users',
- component: './Hr/Employee',
- access: 'authRouteFilter'
- },
- {
- path: '/hr/notification',
- name: 'notification',
- icon: 'icon-commentingo',
- component: './Hr/Notification',
- access: 'authRouteFilter'
- },
- {
- path: 'http://cld.smartcost.com.cn/hr',
- name: 'oldHr'
- }
- ]
- },
- {
- component: './404'
- }
- ]
|