var routers = [
    {
        path: '/base/customer/list',
        name: 'BaseCustomerList',
        component: () => import('@/views/base/customer-list.vue'),
        meta: {
                roles: ["admin"],
                title: '客户管理'
        }
    },
    {
        path: '/base/flaw/list',
        name: 'BaseFlawList',
        component: () => import('@/views/base/flaw-list.vue'),
        meta: {
                roles: ["admin"],
                title: '瑕疵管理'
        }
    },
    {
        path: '/base/label/list',
        name: 'BaseLabelList',
        component: () => import('@/views/base/label-list.vue'),
        meta: {
                roles: ["admin"],
                title: '标签管理'
        }
    },
    {
        path: '/base/work/list',
        name: 'BaseWorkList',
        component: () => import('@/views/base/work-list.vue'),
        meta: {
                roles: ["admin"],
                title: '加工单'
        }
    },
    {
        path: '/base/stock/list',
        name: 'BaseStockList',
        component: () => import('@/views/base/stock-list.vue'),
        meta: {
                roles: ["admin"],
                title: '库存明细'
        }
    },
    {
        path: '/base/account/list',
        name: 'BaseAccountList',
        component: () => import('@/views/base/account-list.vue'),
        meta: {
                roles: ["admin"],
                title: '账务管理'
        }
    },
    {
        path: '/base/staff/list',
        name: 'BaseStaffList',
        component: () => import('@/views/base/staff-list.vue'),
        meta: {
                roles: ["admin"],
                title: '员工管理'
        }
    },
]

export default routers;