import type { RouteRecordRaw } from 'vue-router' const Layout = () => import('@/layouts/index.vue') const routes: RouteRecordRaw = { path: '/operationManagement', component: Layout, redirect: '/operationManagement/operation', name: 'OperationManagement', meta: { title: '业务团队', }, children: [ { path: '/operationDetail', name: 'OperationDetail', component: () => import('@/views/operationManagement/operationDetail.vue'), meta: { title: '业务员详情', menu: false, }, }, { path: 'operation', name: 'Operation', component: () => import('@/views/operationManagement/operation.vue'), meta: { title: '业务员管理', }, },{ path: 'team', name: 'Team', component: () => import('@/views/operationManagement/team.vue'), meta: { title: '团队管理', }, },{ path: 'channel', name: 'Channel', component: () => import('@/views/operationManagement/channel.vue'), meta: { title: '渠道管理', }, },{ path: 'telemarketing', name: 'Telemarketing', component: () => import('@/views/operationManagement/telemarketing.vue'), meta: { title: '电销组管理', }, }, ], } export default routes