var routers = [
        {
                path: '/bus/companyInfo/list',
                name: 'BusCompanyInfoList',
                // 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/bus/companyInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '单位管理'
                }
        },
        {
                path: '/bus/passengerInfo/list',
                name: 'BusPassengerInfoList',
                // 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/bus/passengerInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '乘客管理'
                }
        },
        {
                path: '/bus/driverInfo/list',
                name: 'BusDriverInfoList',
                // 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/bus/driverInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '司机管理'
                }
        },
        {
                path: '/bus/vehicleInfo/list',
                name: 'BusVehicleInfoList',
                // 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/bus/vehicleInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '车辆管理'
                }
        },
        {
                path: '/bus/routeInfo/list',
                name: 'BusRouteInfoList',
                // 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/bus/routeInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '线路管理'
                }
        },
        {
                path: '/bus/userInfo/list',
                name: 'BusUserInfoList',
                // 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/bus/userInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '注册用户管理'
                }
        },
        {
                path: '/bus/shiftInfo/list',
                name: 'BusShiftInfoList',
                // 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/bus/shiftInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '班次管理'
                }
        },
        {
                path: '/bus/shiftInfo/list',
                name: 'BusShiftInfoList',
                // 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/bus/shiftInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '班次管理'
                }
        },
        {
                path: '/bus/routeInfo/priceList',
                name: 'BusRouteInfoList',
                // 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/bus/routeInfo-price-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '站点费用管理'
                }
        },
        {
                path: '/bus/driverRecordInfo/list',
                name: 'BusDriverRecordInfoList',
                // 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/bus/driverRecordInfo-list.vue'),
                meta: {
                        roles: ["admin"],
                        title: '司机考勤管理'
                }
        },
        {
            path: '/bus/busLog/list',
            name: 'busBusLogList',
            // 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/bus/bus-log-list.vue'),
            meta: {
                roles: ["admin"],
                title: '车辆日志'
            }
        },
        {
                path: '/bus/routeTimeTable/list',
                name: 'routeTimeTableList',
                // 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/bus/routeTimeTable-list.vue'),
                meta: {
                    roles: ["admin"],
                    title: '线路时刻表'
                }
            },
]

export default routers;