|
|
@@ -21,13 +21,42 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
name: 'phoneLogin',
|
|
|
component: () => import('../views/login/phoneLogin.vue')
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
{
|
|
|
path: '/main',
|
|
|
name: 'main',
|
|
|
component: Layout,
|
|
|
- children: []
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '',
|
|
|
+ name: 'appointmentAndTodo', //预约待办
|
|
|
+ component: () => import('../views/appointmentAndTodo/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'highSeasCustomer',
|
|
|
+ name: 'highSeasCustomer', //公海客户
|
|
|
+ component: () => import('../views/highSeasCustomer/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'myCustomer',
|
|
|
+ name: 'myCustomer', //我的客户
|
|
|
+ component: () => import('../views/myCustomer/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'customerFollowUp',
|
|
|
+ name: 'customerFollowUp', //客户跟进
|
|
|
+ component: () => import('../views/customerFollowUp/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'userManagement',
|
|
|
+ name: 'userManagement', //用户管理
|
|
|
+ component: () => import('../views/userManagement/index.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'parameterConfig',
|
|
|
+ name: 'parameterConfig', //参数配置
|
|
|
+ component: () => import('../views/parameterConfig/index.vue')
|
|
|
+ },
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: '/:pathMatch(.*)*', // 捕获所有未匹配路径
|