/* Layout */
import Layout from '@/layout'

// 审核页面路由
const SupplierAuditRoutes = [
  {
    path: '/supplier-audit',
    alwaysShow: true,
    component: Layout,
    name: 'SupplierAudit',
    redirect: '/supplier-audit/club',
    meta: { title: '审核管理', noCache: true },
    children: [
      {
        path: 'club',
        component: () => import('@/views/normal/audit/club'),
        name: 'SupplierAuditClub',
        meta: { title: '机构认证', noCache: true }
      },
      {
        path: 'club/club-detail',
        component: () => import('@/views/normal/audit/club/review'),
        name: 'SupplierAuditClubDetail',
        meta: { title: '机构认证审核详情', noCache: true }
      },
      {
        path: 'club/device/list',
        component: () => import('@/views/normal/audit/club/device'),
        name: 'SupplierAuditClubDeviceList',
        meta: { title: '设备审核列表', noCache: true }
      },
      {
        path: 'club/device-detail',
        component: () => import('@/views/normal/audit/club/device/review'),
        name: 'SupplierAuditClubDeviceDetail',
        meta: { title: '设备审核详情', noCache: true }
      }
    ]
  }
]

export default SupplierAuditRoutes
