export const adminRoutes = [
    {
        path:'/inquiry/list',
        name:'inquiry-list',
        component: 'inquiry/Index'
    },{
        path:'/inquiry/create',
        name:'inquiry-create',
        component: 'inquiry/edit'
    },{
        path:'/inquiry/edit/:id',
        name:'inquiry-edit',
        component: 'inquiry/edit'
    },{
        path:'/customer-list',
        name:'CustomerList',
        component: 'customer/Index'
    },{
        path:'/order-list',
        name:'OrderList',
        component: 'order/index'
    },{
        path:'/product-list',
        name:'ProductList',
        component: 'product/Index'
    }
]

export const adminMenus = [
    {
        icon: 'fa fa-gavel',
        name: '询盘报价',
        id: 'inquiry',
        children: [
            {
                icon: 'fa fa-list',
                name: '询盘列表',
                path: '/inquiry/list'
            },{
                icon: 'fa fa-plus',
                name: '新增询价',
                path: '/inquiry/create'
            }
        ]
    },{
        icon: 'fa fa-usd',
        name: '订单处理',
        id: 'order',
        children: [
            {
                icon: 'fa fa-list-alt',
                name: '报价列表',
                path: '/order-list'
            },{
                icon: 'fa fa-plus-square',
                name: '新增报价',
                path: '/order-create'
            }
        ]
    },{
        icon: 'fa fa-cubes',
        name: '商品管理',
        id: 'product',
        children: [
            {
                icon: 'fa fa-list-alt',
                name: '商品列表',
                path: '/product-list'
            },{
                icon: 'fa fa-plus-square',
                name: '新增商品项',
                path: '/product-create'
            },{
                icon: 'fa fa-plus-square',
                name: '大件跟踪',
                path: '/product-tracking'
            },{
                icon: 'fa fa-plus-square',
                name: '更新件号',
                path: '/product-new-number'
            }
        ]
    },{
        icon: 'fa fa-vcard',
        name: '客户关系',
        id: 'customer',
        children: [
            {
                icon: 'fa fa-list-alt',
                name: '客户关系',
                path: '/customer-list'
            },{
                icon: 'fa fa-plus-square',
                name: '供应商联系',
                path: '/supplier-list'
            }
        ]
    }
]

export const managerRoutes = [
    {
        path:'/inquiry/list',
        name:'inquiry-list',
        component: 'inquiry/Index'
    },{
        path:'/inquiry/create',
        name:'inquiry-create',
        component: 'inquiry/edit'
    },{
        path:'/inquiry/edit/:id',
        name:'inquiry-edit',
        component: 'inquiry/edit'
    },{
        path:'/customer-list',
        name:'CustomerList',
        component: 'customer/Index'
    },{
        path:'/order-list',
        name:'OrderList',
        component: 'order/index'
    },{
        path:'/product-list',
        name:'ProductList',
        component: 'product/Index'
    }
]

export const userRoutes = [
    {
        path:'/inquiry/list',
        name:'inquiry-list',
        component: 'inquiry/Index'
    },{
        path:'/inquiry/create',
        name:'inquiry-create',
        component: 'inquiry/edit'
    },{
        path:'/inquiry/edit/:id',
        name:'inquiry-edit',
        component: 'inquiry/edit'
    },{
        path:'/customer-list',
        name:'CustomerList',
        component: 'customer/Index'
    },{
        path:'/order-list',
        name:'OrderList',
        component: 'order/index'
    },{
        path:'/product-list',
        name:'ProductList',
        component: 'product/Index'
    }
]
