import { RouterType } from '@/types'
import React from 'react'

const tabLeftArr: RouterType = [
  {
    id: 1,
    name: '课程预约',
    son: [
      {
        id: 109,
        name: '首页管理',
        path: '/',
        Com: React.lazy(() => import('../A0home'))
      },
      {
        id: 101,
        name: '用户管理',
        path: '/wxUser',
        Com: React.lazy(() => import('../A1webuser'))
      },
      // {
      //   id: 102,
      //   name: '课程预约设置',
      //   path: '/orderSet',
      //   Com: React.lazy(() => import('../A2orderSet'))
      // },
      {
        id: 102,
        name: '课程预约设置',
        path: '/orderSet',
        Com: React.lazy(() => import('../A2orderSetNew'))
      },
      {
        id: 103,
        name: '课程管理',
        path: '/course',
        Com: React.lazy(() => import('../A3course'))
      },
      {
        id: 104,
        name: '团队认证',
        path: '/proveSuo',
        Com: React.lazy(() => import('../A4proveSuo'))
      },
      // {
      //   id: 105,
      //   name: '团队认证',
      //   path: '/proveHui',
      //   Com: React.lazy(() => import('../A5proveHui'))
      // },
      {
        id: 107,
        name: '认证码邀请',
        path: '/codeSuo',
        Com: React.lazy(() => import('../A6_1codeSuo'))
      },
      // {
      //   id: 108,
      //   name: '认证码邀请',
      //   path: '/codeHui',
      //   Com: React.lazy(() => import('../A6_2codeHui'))
      // },
      {
        id: 106,
        name: '课程预约记录',
        path: '/record',
        Com: React.lazy(() => import('../A6record'))
      }
    ]
  },
  {
    id: 2,
    name: '展览预约',
    son: [
      {
        id: 201,
        name: '展馆预约设置',
        path: '/exhibit',
        Com: React.lazy(() => import('../B1exhibit'))
      },
      {
        id: 202,
        name: '展馆预约记录',
        path: '/exhiLog',
        Com: React.lazy(() => import('../B2exhiLog'))
      }
    ]
  },
  {
    id: 4,
    name: '系统管理',
    son: [
      {
        id: 2100,
        name: '后台用户',
        path: '/user',
        Com: React.lazy(() => import('../Z1user'))
      },
      {
        id: 2200,
        name: '系统日志',
        path: '/log',
        Com: React.lazy(() => import('../Z2log'))
      }
    ]
  }
]

export default tabLeftArr
