/*
 * 运维-供应商管理路由表
 * */

import layout from '@/components/layout/layout'
export default [{
  path: '/supperManagement',
  component: layout,
  children: [
    // 供应商管理-推荐/邀请供应商
    {
      path: 'supplierRecommended',
      meta: { path: 'supplierRecommended' },
      component: () => import('@/views/supplier/supplierRecommended/supplierRecommended-list')
    },
    // 供应商管理-供应商用户列表
    {
      path: 'supplierUser',
      meta: { path: 'supplierUser' },
      component: () => import('@/views/supplier/supplierUser/supplierUser-list')
    },
    // 供应商管理-不合格供应管理
    {
      path: 'supplierUnqualified',
      meta: { path: 'supplierUnqualified' },
      component: () => import('@/views/supplier/supplierUnqualified/supplierUnqualified-list')
    },
    // 供应商管理-合格供应商库-需要申报
    {
      path: 'supplierQualified',
      meta: {
        path: 'supplierQualified'
      },
      component: () => import('@/views/supplier/supplierQualified/supplierQualified-list')
    },
    // 供应商管理-供应商资源库
    {
      path: 'supplierRepository',
      meta: {
        path: 'supplierRepository'
      },
      component: () => import('@/views/supplier/supplierRepository/supplierRepository-list')
    },
    // 供应商管理-供应商查询/供应商资源库
    {
      path: 'supplyEnquiry',
      meta: {
        path: 'supplyEnquiry'
      },
      component: () => import('@/views/supplier/supplyEnquiry/supplyEnquiry-list')
    },
    // 信用库管理
    {
      path: 'creditLibraryManageList',
      meta: {
        path: 'creditLibraryManageList'
      },
      component: () => import('@/views/supplier/creditLibraryManage/creditLibraryManage-list')
    }
  ]
}]
// 供应商申报入库工作流
export const supplierRemoveWork = [
  {
    path: 'supplierWorkRrmoveDetail',
    component: () => import('@/views/supplier/supplierUnqualified/supplierWork/supplierWorkRem-detail.vue')
  }
]

