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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
{
path: '/doctor',
name: 'Home',
redirect: '/doctor/workbench'
},
{
path: '/resident',
name: 'resident',
component: () => import(/* webpackChunkName: "resident" */ '@/resident/Resident.vue'),
children: [
{
path: 'screening/first/agree',
name: 'resident-screening-first-agree',
component: () => import(/* webpackChunkName: "resident-screening" */ '@/resident/screening/first/agree/Agree.vue')
},
{
path: 'screening/first/form',
name: 'resident-screening-first-form',
component: () => import(/* webpackChunkName: "resident-screening" */ '@/resident/screening/first/form/Index.vue')
},
{
path: 'screening/first/detail',
name: 'resident-screening-first-detail',
component: () => import(/* webpackChunkName: "resident-screening" */ '@/resident/screening/first/detail/List.vue')
},
{
path: 'screening/first/detail/:id',
name: 'resident-screening-first-detail-id',
component: () => import(/* webpackChunkName: "resident-screening" */ '@/resident/screening/first/detail/Detail.vue')
}
]
},
{
path: '/doctor',
name: 'doctor',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/Doctor'),
children: [
{
path: 'workbench',
name: 'doctor-workbench',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/workbench/Workbench.vue')
},
{
path: 'search',
name: 'doctor-search',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/search/Search.vue')
},
{
path: 'patient-detail',
name: 'doctor-patient-detail',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/patientDetail/PatientDetail.vue')
},
{
path: 'archives-form',
name: 'doctor-archives-form',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/archives/form/BaseInfo.vue')
},
{
path: 'screening/firstForm',
name: 'screening-first-form',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/screening/first/FirstForm.vue')
},
{
path: 'screening/firstDetail',
name: 'screening-firstDetail',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/screening/detail/FirstDetail.vue')
},
{
path: 'screening/secondForm',
name: 'screening-second-form',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/screening/second/SecondForm.vue')
},
{
path: 'screening/secondDetail',
name: 'screening-secondDetail',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/screening/detail/SecondDetail.vue')
},
{
path: 'followUp/generalFU/detail',
name: 'followUp-generalFU-detail',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/followUp/generalFU/detail/Detail')
},
{
path: 'followUp/generalFU/add',
name: 'followUp-generalFU-add',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/followUp/generalFU/form/Index')
},
{
path: 'diagnose/form',
name: 'diagnose-form',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/diagnose/form/DiagnoseForm.vue')
},
{
path: 'diagnose/detail',
name: 'diagnose-detail',
component: () => import(/* webpackChunkName: "doctor" */ '@/doctor/diagnose/detail/DiagnoseDtail.vue')
}
]
},
{
path: '/residentWX',
name: 'residentWX',
component: () => import(/* webpackChunkName: "residentWX" */ '@/residentWX/ResidentWX.vue'),
children: [
{
path: 'screening/list',
name: 'residentWX-screening-list',
component: () => import(/* webpackChunkName: "residentWX-screening" */ '@/residentWX/screening/List.vue')
},
{
path: 'screening/firstDetail/:id',
name: 'resident-screening-firstDetail',
component: () => import(/* webpackChunkName: "residentWX-screening" */ '@/residentWX/screening/detail/FirstDetail.vue')
},
{
path: 'screening/secondDetail/:id',
name: 'resident-screening-secondDetail',
component: () => import(/* webpackChunkName: "residentWX-screening" */ '@/residentWX/screening/detail/SecondDetail.vue')
},
{
path: 'visit/list',
name: 'residentWX-visit-List',
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/List.vue')
},
//通用随访详情
{
path: 'visit/GeneralFUDetail/:relationId',
name: 'resident-visit-GeneralFUDetail',
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/detail/GeneralFUDetail.vue')
},
//主要慢病高危详情
{
path: 'visit/FirstFUDetail/:id',
name: 'resident-visit-FirstFUDetail',
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/detail/FirstFUDetail.vue')
},
//专病高危详情
{
path: 'visit/SecondFUDetail/:id',
name: 'resident-visit-SecondFUDetail',
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/detail/SecondFUDetail.vue')
},
// 专病随访详情
{
path: 'visit/SeparateFUDetail/:relationId/:diseaseType',
name: 'resident-visit-SeparateFUDetail',
component: () => import(/* webpackChunkName: "residentWX-visit" */ '@/residentWX/visit/detail/SeparateFUDetail.vue')
},
// 健康指导宣教
{
path: 'guide/list',
name: 'residentWX-guide-list',
component: () => import(/* webpackChunkName: "residentWX-guide" */ '@/residentWX/guide/List.vue')
},
{
path: 'guide/list/:id',
name: 'residentWX-guide-Detail',
component: () => import(/* webpackChunkName: "residentWX-guide" */ '@/residentWX/guide/Detail.vue')
},
{
path: 'nim',
name: 'residentWX-nim',
component: () => import(/* webpackChunkName: "residentWX-nim" */ '@/residentWX/nim/Index.vue'),
},
{
path: 'nim/:id',
name: 'residentWX-nim-session',
component: () => import(/* webpackChunkName: "residentWX-nim" */ '@/residentWX/nim/Session.vue'),
}
]
},
{
path: '/test',
name: 'Test',
component: () => import(/* webpackChunkName: "test" */ '@/test/Index.vue'),
}
]
const router = createRouter({
history: createWebHashHistory(),
routes
})
export default router