1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
| import { RouteRecordRaw } from 'vue-router'
|
| const scheduledRoute: Array<RouteRecordRaw> = [
| {
| path: '/scheduled',
| name: 'scheduled',
| redirect: '/scheduled/index',
| component: () => import('@/views/children.vue'),
| children: [
| {
| path: '/scheduled/index',
| name: 'plannedProgress',
| meta: {
| title: '计划进度',
| keepAlive: true
| },
| component: () => import('@/views/plannedProgress/index.vue')
| },
| {
| path: '/scheduled/details',
| name: 'progressDetails',
| meta: {
| title: '计划详情',
| keepAlive: false
| },
| component: () => import('@/views/plannedProgress/details.vue')
| },
| {
| path: '/distribution/index',
| name: 'distributionIndex',
| meta: {
| title: '计划分配',
| keepAlive: true
| },
| component: () => import('@/views/plannedDistribution/index.vue')
| },
| {
| path: '/distribution/assignUsers',
| name: 'distributionAssignUsers',
| meta: {
| title: '选择',
| keepAlive: false
| },
| component: () => import('@/views/plannedDistribution/distribution.vue')
| }
| ]
| }
| ]
|
| export default scheduledRoute
|
|