dataFacilitator.ts
2.92 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
import type { RouteRecordRaw } from 'vue-router'
function Layout() {
return import('@/layouts/index.vue')
}
const routes: RouteRecordRaw[] = [
{
path: '/data-facilitator/authentication-management',
component: Layout,
meta: {
title: '认证管理',
icon: 'sidebar-videos',
},
children: [{
path: '',
name: 'authenticationManagement',
component: () => import('@/views/data_facilitator/authenticationManagement.vue'),
meta: {
title: '认证管理',
sidebar: false,
breadcrumb: false,
cache: true,
editPage: true
},
}]
},
{
path: '/data-facilitator/certification-audit',
component: Layout,
meta: {
title: '认证审核管理',
icon: 'sidebar-videos',
},
children: [
{
path: '',
name: 'certificationAudit',
component: () => import('@/views/data_facilitator/certificationAudit.vue'),
meta: {
title: '认证审核管理',
sidebar: false,
breadcrumb: false,
cache: true
},
},
{
path: 'certification-audit-detail',
name: 'certificationAuditDetail',
component: () => import('@/views/data_facilitator/certificationAuditDetail.vue'),
meta: {
title: '详情-',
sidebar: false,
breadcrumb: false,
cache: true,
},
beforeEnter: (to, from) => {
to.meta.title = `详情-${to.query.name}`;
}
}
]
},
{
path: '/data-connector/settle-management',
component: Layout,
meta: {
title: '连接器管理',
icon: 'sidebar-videos',
},
children: [{
path: '',
name: 'settleManagement',
component: () => import('@/views/data_facilitator/settleManagement.vue'),
meta: {
title: '',
sidebar: false,
breadcrumb: false,
cache: true,
editPage: true
},
}, {
path: 'settle-start',
name: 'settleStart',
component: () => import('@/views/data_facilitator/settleStart.vue'),
meta: {
title: '连接器入驻',
sidebar: false,
breadcrumb: false,
cache: true,
editPage: true,
reuse: true
},
beforeEnter: (to, from) => {
to.meta.title = !to.query.guid ? '连接器入驻' : (to.query.isChange == 'Y' ? `变更-${to.query.name}` : `编辑-${to.query.name}`);
to.meta.editPage = true;
}
}, {
path: 'settle-detail',
name: 'settleDetail',
component: () => import('@/views/data_facilitator/settleDetail.vue'),
meta: {
title: '详情-',
sidebar: false,
breadcrumb: false,
cache: true,
reuse: true
},
beforeEnter: (to, from) => {
to.meta.title = `详情-${to.query.name}`;
}
},]
},
]
export default routes