This commit is contained in:
qsh
2024-05-23 14:08:08 +08:00
parent 28c328d191
commit 3050b9a2fe
109 changed files with 479 additions and 3139 deletions

View File

@@ -50,309 +50,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
noTagsView: true
}
},
{
path: '/',
component: Layout,
redirect: '/index',
name: 'Home',
meta: { title: '统计报表' },
children: [
{
path: 'index',
component: () => import('@/views/Home/Index.vue'),
name: 'Index',
meta: {
title: t('router.home'),
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'channel',
component: () => import('@/views/Home/channel.vue'),
name: 'ChannelStatistics',
meta: {
title: '渠道统计',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'status',
component: () => import('@/views/Home/status.vue'),
name: 'StatusStatistics',
meta: {
title: '线索状态统计',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
{
path: '/clue',
component: Layout,
redirect: '/clue',
name: 'Clue',
meta: { title: '线索管理' },
children: [
{
path: 'pool',
component: () => import('@/views/Clue/Pool/index.vue'),
name: 'CluePool',
meta: {
title: '线索池',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'order',
component: () => import('@/views/Clue/Order/index.vue'),
name: 'ClueOrder',
meta: {
title: '成交管理',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'skill',
component: () => import('@/views/Clue/Skill/index.vue'),
name: 'Skill',
meta: {
title: '关键话术',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'setting',
component: () => import('@/views/Clue/Set/index.vue'),
name: 'ClueSetting',
meta: {
title: '通用配置',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
{
path: '/schoolManagement',
component: Layout,
redirect: '/schoolManagement',
name: 'SchoolManagement',
meta: { title: '驾校管理' },
children: [
{
path: 'school',
component: () => import('@/views/SchoolManagement/School/index.vue'),
name: 'School',
meta: {
title: '驾校',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'place',
component: () => import('@/views/SchoolManagement/Place/index.vue'),
name: 'Place',
meta: {
title: '场地',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'class',
component: () => import('@/views/SchoolManagement/Class/index.vue'),
name: 'Class',
meta: {
title: '班型',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
{
path: '/miniMall',
component: Layout,
redirect: '/miniMall/product',
name: 'MiniMall',
meta: { title: '进销存' },
children: [
{
path: 'product',
component: () => import('@/views/MiniMall/Product/index.vue'),
name: 'Product',
meta: {
title: '产品列表',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'purchase',
component: () => import('@/views/MiniMall/Purchase/index.vue'),
name: 'Purchase',
meta: {
title: '采购列表',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'inventory',
component: () => import('@/views/MiniMall/Inventory/index.vue'),
name: 'Inventory',
meta: {
title: '库存管理',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'mallSet',
component: () => import('@/views/MiniMall/MallSet/index.vue'),
name: 'MallSet',
meta: {
title: '通用配置',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'productAdd',
component: () => import('@/views/MiniMall/Product/add.vue'),
name: 'ProductAdd',
meta: {
title: '产品新增',
icon: 'ep:home-filled',
hidden: true,
canTo: true,
noCache: false,
affix: true
}
},
{
path: 'productEdit',
component: () => import('@/views/MiniMall/Product/add.vue'),
name: 'ProductEdit',
meta: {
title: '产品修改',
icon: 'ep:home-filled',
hidden: true,
canTo: true,
noCache: false,
affix: true
}
}
]
},
{
path: '/basic',
component: Layout,
redirect: '/basic/',
name: 'Basic',
meta: { title: '基础设置' },
children: [
{
path: 'library',
component: () => import('@/views/Basic/Library/index.vue'),
name: 'Library',
meta: {
title: '知识库',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'wxRobot',
component: () => import('@/views/Basic/WxRobot/index.vue'),
name: 'WxRobot',
meta: {
title: '微信机器人',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'dept',
component: () => import('@/views/Basic/Dept/index.vue'),
name: 'Dept',
meta: {
title: '部门',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'role',
component: () => import('@/views/Basic/Role/index.vue'),
name: 'Role',
meta: {
title: '角色',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'employee',
component: () => import('@/views/Basic/User/index.vue'),
name: 'Employee',
meta: {
title: '员工',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'generalSet',
component: () => import('@/views/Basic/GeneralSet/index.vue'),
name: 'GeneralSet',
meta: {
title: '通用配置',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
},
{
path: 'menu',
component: () => import('@/views/Basic/Menu/index.vue'),
name: 'menu',
meta: {
title: '菜单管理',
icon: 'ep:home-filled',
noCache: false,
affix: true
}
}
]
},
{
path: '/user',