var routers = [
        {
                //考勤记录
                path: '/business/workAttendance/list',
                name: 'BusinessWorkAttendanceList',
                // route level code-splitting
                // this generates a separate chunk (about.[hash].js) for this route
                // which is lazy-loaded when the route is visited.
                component: () => import('@/views/business/workAttendance-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '考勤记录'
                }
        },
        {
                //补卡申请记录
                path: '/business/fillAttendance/list',
                name: 'BusinessFillAttendanceList',
                // route level code-splitting
                // this generates a separate chunk (about.[hash].js) for this route
                // which is lazy-loaded when the route is visited.
                component: () => import('@/views/business/fillAttendance-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '补卡申请记录'
                }
        },
        {
                //异地打卡记录
                path: '/business/clockOut/list',
                name: 'BusinessClockOutList',
                // route level code-splitting
                // this generates a separate chunk (about.[hash].js) for this route
                // which is lazy-loaded when the route is visited.
                component: () => import('@/views/business/clockOut-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '异地打卡记录'
                }
        },
        {
                //请假记录
                path: '/business/requestForLeave/list',
                name: 'business-requestForLeave-list',
                // route level code-splitting
                // this generates a separate chunk (about.[hash].js) for this route
                // which is lazy-loaded when the route is visited.
                component: () => import('@/views/business/requestForLeave-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '请假记录'
                }
        },
]

export default routers;