| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import type { RouteRecordRaw } from 'vue-router'
- const Layout = () => import('@/layouts/index.vue')
- const routes: RouteRecordRaw = {
- path: '/marketingManagement',
- component: Layout,
- redirect: '/marketingManagement/lottery',
- name: 'MarketingManagement',
- meta: {
- title: '营销工具',
- },
- children: [
- // {
- // path: '/operationDetail',
- // name: 'OperationDetail',
- // component: () => import('@/views/operationManagement/operationDetail.vue'),
- // meta: {
- // title: '业务员详情',
- // menu: false,
- // },
- // },
- {
- path: 'lottery',
- name: 'Lottery',
- component: () => import('@/views/marketingManagement/lottery.vue'),
- meta: {
- title: '抽奖活动',
- },
- },
- {
- path: 'configurate',
- name: 'Configurate',
- component: () => import('@/views/marketingManagement/configurate.vue'),
- meta: {
- title: '抽奖活动',
- menu: false,
- auth: []
- },
- children: []
- },
- {
- path: 'record',
- name: 'Record',
- component: () => import('@/views/marketingManagement/record.vue'),
- meta: {
- title: '抽奖记录',
- auth: []
- },
- children: []
- },
- ],
- }
- export default routes
|