|
|
@@ -28,6 +28,21 @@ const router = new VueRouter({
|
|
|
path: '/home',
|
|
|
name: 'home',
|
|
|
component: () => import('@/views/home/index.vue'),
|
|
|
+ meta: {
|
|
|
+ title: '首页',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/agentList',
|
|
|
+ component: layout,
|
|
|
+ redirect: '/agentList',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/agentList',
|
|
|
+ name: 'agentList',
|
|
|
+ component: () => import('@/views/agentList/index.vue'),
|
|
|
meta: {
|
|
|
title: '经销商拜访',
|
|
|
},
|
|
|
@@ -35,7 +50,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitPage',
|
|
|
name: 'visitPage',
|
|
|
- component: () => import('@/views/home/visitPage.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitPage.vue'),
|
|
|
meta: {
|
|
|
title: '拜访详情',
|
|
|
},
|
|
|
@@ -43,7 +58,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitTask',
|
|
|
name: 'visitTask',
|
|
|
- component: () => import('@/views/home/visitTask.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitTask.vue'),
|
|
|
meta: {
|
|
|
title: '拜访任务',
|
|
|
},
|
|
|
@@ -51,7 +66,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitHistory',
|
|
|
name: 'visitHistory',
|
|
|
- component: () => import('@/views/home/visitHistory.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitHistory.vue'),
|
|
|
meta: {
|
|
|
title: '拜访历史',
|
|
|
},
|
|
|
@@ -59,7 +74,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitHistoryDetail',
|
|
|
name: 'visitHistoryDetail',
|
|
|
- component: () => import('@/views/home/visitHistoryDetail.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitHistoryDetail.vue'),
|
|
|
meta: {
|
|
|
title: '拜访历史详情',
|
|
|
},
|
|
|
@@ -67,7 +82,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitAbnormal',
|
|
|
name: 'visitAbnormal',
|
|
|
- component: () => import('@/views/home/visitAbnormal.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitAbnormal.vue'),
|
|
|
meta: {
|
|
|
title: '拜访异常',
|
|
|
},
|
|
|
@@ -75,7 +90,7 @@ const router = new VueRouter({
|
|
|
{
|
|
|
path: '/visitedTaskDetail',
|
|
|
name: 'visitedTaskDetail',
|
|
|
- component: () => import('@/views/home/visitedTaskDetail.vue'),
|
|
|
+ component: () => import('@/views/agentList/visitedTaskDetail.vue'),
|
|
|
meta: {
|
|
|
title: '拜访任务详情',
|
|
|
},
|