DetectionRouter.ts
1.42 KB
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
import { RouteRecordRaw } from "vue-router";
export const DetectionRouter: Array<RouteRecordRaw> = [
{
path: '/detection/order',
component: () => import('@/views/detection/order/DetectionOrderPage.vue'),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理' }]
}
},
{
path: '/detection/order/view',
component: () => import('@/views/detection/order/DetectionOrderView.vue'),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测工单管理', path: '/detection/order' }, { name: '检测工单详情' }]
}
},
{
path: '/detection/report',
component: () => import('@/views/detection/report/DetectionReportPage.vue'),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测报告管理' }]
}
},
{
path: '/detection/inspector',
component: () => import('@/views/detection/inspector/DetectionInspectorPage.vue'),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理' }]
}
},
{
path: '/detection/inspector/view',
component: () => import('@/views/detection/inspector/DetectionInspectorView.vue'),
meta: {
breadcrumbs: [{ name: '检测管理' }, { name: '检测师管理', path: '/detection/inspector' }, { name: '检测师详情' }]
}
},
];