
export const appModules = [
    {
        name: 'inquiry-list',
        path: '/inquiry/list',
        component: 'inquiry/Index',
        meta: {
            title: '询盘列表',
            icon: 'el-icon-s-promotion',
        }
    },{
        name: 'inquiry-detail',
        path: '/inquiry/detail',
        title: '询盘详情',
        component: 'inquiry/detail',
        meta: {
            title: '询盘详情',
            icon: 'el-icon-s-promotion',
        }
    },{
        name: 'inquiry-create',
        path: '/inquiry/create',
        title: '创建询盘',
        component: 'inquiry/edit',
        meta: {
            title: '询盘创建',
            icon: 'el-icon-s-promotion',
        }
    },{
        name: 'inquiry-edit',
        path: '/inquiry/edit/:id',
        title: '编辑询盘',
        component: 'inquiry/edit',
        meta: {
            title: '询盘编辑',
            icon: 'el-icon-s-promotion',
        }
    },{
        name: 'order-list',
        path: '/order/list',
        title: '订单列表',
        component: 'order/index',
        meta: {
            title: '订单列表',
            icon: 'el-icon-s-order',
        }
    },{
        name: 'order-detail',
        path: '/order/detail',
        title: '订单详情',
        component: 'order/detail',
        meta: {
            title: '订单详情',
            icon: 'el-icon-s-order',
        }
    },{
        name: 'order-create',
        path: '/order/create',
        title: '手动订单',
        component: 'order/edit',
        meta: {
            title: '手动订单',
            icon: 'el-icon-s-order',
        }
    },{
        name: 'order-edit',
        path: '/order/edit/:id',
        title: '编辑订单',
        component: 'order/edit',
        meta: {
            title: '编辑订单',
            icon: 'el-icon-s-order',
        }
    },{
        name: 'product-tracking',
        path: '/product/tracking',
        title: '大件跟踪',
        component: 'product/Tracking',
        meta: {
            title: '大件跟踪',
            icon: 'el-icon-s-order',
        }
    }
]

export const mainMenu = [
    {
        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-eye',
                name: '大件跟踪',
                path: '/product/tracking'
            },{
                icon: 'fa fa-plus-square',
                name: '更新件号',
                path: '/product/new-code'
            }
        ]
    },{
        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 topMenu = [
    {
        icon: 'fa fa-home',
        name: '首页',
        path: '/home'
    },{
        icon: 'fa fa-gavel',
        name: '询盘报价',
        path: '/inquiry/list'
    },{
        icon: 'fa fa-list-alt',
        name: '订单管理',
        path: '/order/list'
    },{
        icon: 'fa fa-plus-square',
        name: '手动询盘',
        path: '/inquiry/create'
    },{
        icon: 'fa fa-pen-edit',
        name: '手动订单',
        path: '/inquiry/create'
    }
]
