门店管理,销售管理的代码框架开发

This commit is contained in:
spllzh
2025-08-14 05:30:51 +08:00
parent d001ea3426
commit 9b78f57e8c
16 changed files with 4479 additions and 27 deletions

View File

@@ -54,38 +54,27 @@ export const constantRoutes = [
meta: { title: '首页', icon: 'dashboard', affix: true }
}]
},
{
path: '/example',
component: Layout,
redirect: '/example/table',
name: 'Example',
meta: { title: '案例', icon: 'el-icon-s-help' },
children: [
{
path: 'table',
name: 'Table',
component: () => import('@/views/table/index'),
meta: { title: '表格', icon: 'table' }
},
{
path: 'tree',
name: 'Tree',
component: () => import('@/views/tree/index'),
meta: { title: '树状表格', icon: 'el-icon-share' }
}
]
},
{
path: '/form',
path: '/audio',
component: Layout,
children: [
{
path: 'index',
name: 'Form',
component: () => import('@/views/form/index'),
meta: { title: 'Form', icon: 'form' }
name: 'Audio',
component: () => import('@/views/audio/index'),
meta: { title: '录音管理', icon: 'el-icon-microphone' }
}
]
},
{
path: '/video',
component: Layout,
children: [
{
path: 'index',
name: 'Video',
component: () => import('@/views/video/index'),
meta: { title: '视频管理', icon: 'el-icon-video-camera' }
}
]
},
@@ -116,6 +105,44 @@ export const constantRoutes = [
]
},
{
path: '/dealership',
component: Layout,
children: [
{
path: 'index',
name: 'Dealership',
component: () => import('@/views/dealership/index'),
meta: { title: '经销商管理', icon: 'el-icon-s-shop' }
}
]
},
{
path: '/device',
component: Layout,
children: [
{
path: 'index',
name: 'Device',
component: () => import('@/views/device/index'),
meta: { title: '设备管理', icon: 'el-icon-mobile-phone' }
}
]
},
{
path: '/customer',
component: Layout,
children: [
{
path: 'index',
name: 'Customer',
component: () => import('@/views/customer/index'),
meta: { title: '客户管理', icon: 'el-icon-user' }
}
]
},
{
path: '/nested',
component: Layout,