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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  | import { RouteRecordRaw } from 'vue-router' 
 |    
 |  const requisition: Array<RouteRecordRaw> = [ 
 |      { 
 |          path: '/requisition', 
 |          name: 'requisition', 
 |          redirect: '/requisition/index', 
 |          component: () => import('@/views/children.vue'), 
 |          children: [ 
 |              { 
 |                  path: '/requisition/index', 
 |                  name: 'requisition_index', 
 |                  meta: { 
 |                      title: '申请单', 
 |                      keepAlive: true 
 |                  }, 
 |                  component: () => import('@/views/requisition/index.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/rework', 
 |                  name: 'requisition_rework', 
 |                  meta: { 
 |                      title: '返工返修申请', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/rework.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/reworkDetails', 
 |                  name: 'reworkDetails', 
 |                  meta: { 
 |                      title: '返工返修详情', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/reworkDetails.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/scrapped', 
 |                  name: 'requisition_scrapped', 
 |                  meta: { 
 |                      title: '工序报废申请', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/scrapped.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/scrapDetails', 
 |                  name: 'scrapDetails', 
 |                  meta: { 
 |                      title: '工序报废详情', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/scrapDetails.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/test', 
 |                  name: 'requisition_test', 
 |                  meta: { 
 |                      title: '检验申请', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/test.vue') 
 |              }, 
 |              { 
 |                  path: '/requisition/inspectionDetails', 
 |                  name: 'inspectionDetails', 
 |                  meta: { 
 |                      title: '客返品检验申请详情', 
 |                      keepAlive: false 
 |                  }, 
 |                  component: () => import('@/views/requisition/inspectionDetails.vue') 
 |              } 
 |          ] 
 |      } 
 |  ] 
 |    
 |  export default requisition 
 |  
  |