123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- export default [
- {
- path: '/user',
- layout: false,
- routes: [
- {
- path: '/user',
- routes: [
- {
- name: 'login',
- path: '/user/login',
- component: './User/Login'
- }
- ]
- }
- ]
- },
- {
- path: '/',
- redirect: '/role/system'
- },
- {
- path: '/role',
- name: 'role',
- icon: 'UserOutlined',
- routes: [
- {
- path: '/role',
- redirect: '/role/system'
- },
- {
- path: '/role/system',
- name: 'system',
- component: './Role/System',
- access: 'authRouteFilter'
- },
- {
- path: '/role/customer',
- name: 'customer',
- component: './Role/Customer',
- access: 'authRouteFilter'
- },
- {
- path: '/role/hr',
- name: 'hr',
- component: './Role/Hr',
- access: 'authRouteFilter'
- },
- {
- path: '/role/workbench',
- name: 'workbench',
- component: './Role/Workbench',
- access: 'authRouteFilter'
- },
- {
- path: '/role/product',
- name: 'product',
- component: './Role/Product',
- access: 'authRouteFilter'
- },
- {
- path: '/role/statistic',
- name: 'statistic',
- component: './Role/Statistic',
- access: 'authRouteFilter'
- }
- ]
- },
- {
- path: '/business',
- name: 'business',
- icon: 'icon-cog-solid',
- routes: [
- {
- path: '/business',
- redirect: '/business/attendance'
- },
- {
- path: '/business/commonSetting',
- name: 'commonSetting',
- component: './Business/CommonSetting',
- access: 'authRouteFilter'
- },
- {
- path: '/business/attendance',
- name: 'attendance',
- component: './Business/Attendance',
- access: 'authRouteFilter'
- },
- {
- path: '/business/contact',
- name: 'contact',
- component: './Business/Contact',
- access: 'authRouteFilter'
- },
- {
- path: '/business/invoice',
- name: 'invoice',
- component: './Business/Invoice',
- access: 'authRouteFilter'
- }
- // {
- // path: '/business/notice',
- // name: 'notice',
- // component: './business/Notification',
- // access: 'authRouteFilter'
- // }
- ]
- }
- ]
|