|
@@ -0,0 +1,962 @@
|
|
1
|
+import Vue from 'vue'
|
|
2
|
+import Router from 'vue-router'
|
|
3
|
+
|
|
4
|
+Vue.use(Router)
|
|
5
|
+
|
|
6
|
+/* Layout */
|
|
7
|
+import Layout from '@/views/layout/Layout'
|
|
8
|
+
|
|
9
|
+/** note: submenu only apppear when children.length>=1
|
|
10
|
+* detail see https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
|
|
11
|
+**/
|
|
12
|
+
|
|
13
|
+/**
|
|
14
|
+* hidden: true if `hidden:true` will not show in the sidebar(default is false)
|
|
15
|
+* alwaysShow: true if set true, will always show the root menu, whatever its child routes length
|
|
16
|
+* if not set alwaysShow, only more than one route under the children
|
|
17
|
+* it will becomes nested mode, otherwise not show the root menu
|
|
18
|
+* redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
|
|
19
|
+* name:'router-name' the name is used by <keep-alive> (must set!!!)
|
|
20
|
+* meta : {
|
|
21
|
+ roles: ['admin','editor'] will control the page roles (you can set multiple roles)
|
|
22
|
+ title: 'title' the name show in submenu and breadcrumb (recommend set)
|
|
23
|
+ icon: 'svg-name' the icon show in the sidebar,
|
|
24
|
+ noCache: true if true ,the page will no be cached(default is false)
|
|
25
|
+ }
|
|
26
|
+**/
|
|
27
|
+export const xt_constantRouterMap = [
|
|
28
|
+ // { path: '/login', component: () => import('@/views/login/index'), hidden: true },
|
|
29
|
+ { path: '/token/verify', component: () => import('@/xt_pages/index/verify_token'), hidden: true },
|
|
30
|
+ { path: '/404', component: () => import('@/views/errorPage/404'), hidden: true },
|
|
31
|
+ { path: '/401', component: () => import('@/views/errorPage/401'), hidden: true },
|
|
32
|
+ {
|
|
33
|
+ path: '',
|
|
34
|
+ component: Layout,
|
|
35
|
+ redirect: '/home',
|
|
36
|
+ children: [{
|
|
37
|
+ path: '/home',
|
|
38
|
+ component: () => import('@/xt_pages/home/index'),
|
|
39
|
+ name: 'home',
|
|
40
|
+ meta: { title: 'home', icon: 'dashboard', noCache: true }
|
|
41
|
+ }]
|
|
42
|
+ },
|
|
43
|
+ {
|
|
44
|
+ path: '/service',
|
|
45
|
+ component: Layout,
|
|
46
|
+ // redirect: '/service',
|
|
47
|
+ hidden: true,
|
|
48
|
+ is_menu: false,
|
|
49
|
+
|
|
50
|
+ meta: { title: 'service', icon: 'shebei' },
|
|
51
|
+ children: [{
|
|
52
|
+ path: '/service',
|
|
53
|
+ component: () => import('@/xt_pages/service/index'),
|
|
54
|
+ hidden: true,
|
|
55
|
+ is_menu: false,
|
|
56
|
+ name: 'service',
|
|
57
|
+ meta: { title: 'service', icon: 'shebei', noCache: true }
|
|
58
|
+ }, {
|
|
59
|
+ path: '/service/invoice',
|
|
60
|
+ component: () => import('@/xt_pages/service/invoice'),
|
|
61
|
+ hidden: true,
|
|
62
|
+ is_menu: false,
|
|
63
|
+ name: 'invoice',
|
|
64
|
+ meta: { title: 'invoice', icon: 'shebei', noCache: true }
|
|
65
|
+ }, {
|
|
66
|
+ path: '/service/invoice/apply',
|
|
67
|
+ component: () => import('@/xt_pages/service/invoiceApply'),
|
|
68
|
+ hidden: true,
|
|
69
|
+ is_menu: false,
|
|
70
|
+ name: 'invoiceApply',
|
|
71
|
+ meta: { title: 'invoiceApply', icon: 'shebei', noCache: true }
|
|
72
|
+ },
|
|
73
|
+ {
|
|
74
|
+ path: '/servicePay',
|
|
75
|
+ component: () => import('@/xt_pages/service/servicePay'),
|
|
76
|
+ hidden: true,
|
|
77
|
+ name: 'servicePay',
|
|
78
|
+ meta: { title: 'servicePay' }
|
|
79
|
+ },
|
|
80
|
+ {
|
|
81
|
+ path: '/payType',
|
|
82
|
+ component: () => import('@/xt_pages/service/payType'),
|
|
83
|
+ hidden: true,
|
|
84
|
+ name: 'payType',
|
|
85
|
+ meta: { title: 'payType' }
|
|
86
|
+ },
|
|
87
|
+ {
|
|
88
|
+ path: '/weChatPay',
|
|
89
|
+ component: () => import('@/xt_pages/service/weChatPay'),
|
|
90
|
+ hidden: true,
|
|
91
|
+ name: 'weChatPay',
|
|
92
|
+ meta: { title: 'weChatPay' }
|
|
93
|
+ },
|
|
94
|
+ {
|
|
95
|
+ path: '/service/completeOrder',
|
|
96
|
+ component: () => import('@/xt_pages/service/completeOrder'),
|
|
97
|
+ hidden: true,
|
|
98
|
+ name: 'completeOrder',
|
|
99
|
+ meta: { title: 'completeOrder' }
|
|
100
|
+ }, {
|
|
101
|
+ path: '/service/buy',
|
|
102
|
+ component: () => import('@/xt_pages/service/serviceOrder'),
|
|
103
|
+ hidden: true,
|
|
104
|
+ is_menu: false,
|
|
105
|
+ name: 'serviceOrder',
|
|
106
|
+ meta: { title: 'serviceOrder', icon: 'shebei', noCache: true }
|
|
107
|
+ }, {
|
|
108
|
+ path: '/order',
|
|
109
|
+ component: () => import('@/xt_pages/service/orderRecord'),
|
|
110
|
+ hidden: true,
|
|
111
|
+ is_menu: false,
|
|
112
|
+ name: 'orderRecord',
|
|
113
|
+ meta: { title: 'orderRecord', icon: 'shebei', noCache: true }
|
|
114
|
+ }, {
|
|
115
|
+ path: '/service/recordList',
|
|
116
|
+ component: () => import('@/xt_pages/service/serviceRecord'),
|
|
117
|
+ hidden: true,
|
|
118
|
+ is_menu: false,
|
|
119
|
+ name: 'recordList',
|
|
120
|
+ meta: { title: 'recordList', icon: 'shebei', noCache: true }
|
|
121
|
+ }
|
|
122
|
+ ]
|
|
123
|
+ },
|
|
124
|
+
|
|
125
|
+ // ////////////////////////////
|
|
126
|
+ // 本地开始
|
|
127
|
+ // ///////////////////////////
|
|
128
|
+ {
|
|
129
|
+ path: '/patients',
|
|
130
|
+ component: Layout,
|
|
131
|
+ redirect: 'noredirect',
|
|
132
|
+ name: 'User',
|
|
133
|
+ meta: {
|
|
134
|
+ title: 'user',
|
|
135
|
+ icon: 'bingren'
|
|
136
|
+ },
|
|
137
|
+ children: [
|
|
138
|
+ {
|
|
139
|
+ path: '/patients/patients',
|
|
140
|
+ component: () => import('@/xt_pages/user/patients'),
|
|
141
|
+ name: 'Patient',
|
|
142
|
+ meta: { title: 'patient', noCache: true }
|
|
143
|
+ },
|
|
144
|
+ {
|
|
145
|
+ path: '/patients/create',
|
|
146
|
+ component: () => import('@/xt_pages/user/createPatient'),
|
|
147
|
+ name: 'createPatient',
|
|
148
|
+ meta: { title: 'createPatient', noCache: true }
|
|
149
|
+ },
|
|
150
|
+ {
|
|
151
|
+ path: '/patients/patient/:id',
|
|
152
|
+ component: () => import('@/xt_pages/user/patientInfo'),
|
|
153
|
+ hidden: true,
|
|
154
|
+ is_menu: false,
|
|
155
|
+ name: 'patient Page',
|
|
156
|
+ meta: { title: 'patientPage', noCache: true }
|
|
157
|
+ },
|
|
158
|
+ {
|
|
159
|
+ path: '/patients/patient/:id/edit',
|
|
160
|
+ component: () => import('@/xt_pages/user/editPatient'),
|
|
161
|
+ hidden: true,
|
|
162
|
+ is_menu: false,
|
|
163
|
+ name: 'Edit Patient',
|
|
164
|
+ meta: { title: 'editPatient', noCache: true }
|
|
165
|
+ },
|
|
166
|
+ {
|
|
167
|
+ path: '/patients/patient/:id/dialysisSolution',
|
|
168
|
+ component: () => import('@/xt_pages/user/dialysisSolution'),
|
|
169
|
+ hidden: true,
|
|
170
|
+ is_menu: false,
|
|
171
|
+ name: 'dialysisSolution',
|
|
172
|
+ meta: { title: 'dialysisSolution', noCache: true }
|
|
173
|
+ },
|
|
174
|
+ {
|
|
175
|
+ path: '/patients/patient/:id/weight',
|
|
176
|
+ component: () => import('@/xt_pages/user/weight'),
|
|
177
|
+ hidden: true,
|
|
178
|
+ is_menu: false,
|
|
179
|
+ name: 'weight',
|
|
180
|
+ meta: { title: 'weight', noCache: true }
|
|
181
|
+ },
|
|
182
|
+ {
|
|
183
|
+ path: '/patients/patient/:id/dialysisRecord',
|
|
184
|
+ component: () => import('@/xt_pages/user/dialysisRecord'),
|
|
185
|
+ hidden: true,
|
|
186
|
+ is_menu: false,
|
|
187
|
+ name: 'dialysisRecord',
|
|
188
|
+ meta: { title: 'dialysisRecord', noCache: true }
|
|
189
|
+ },
|
|
190
|
+ {
|
|
191
|
+ path: '/patients/patient/:id/scheduling',
|
|
192
|
+ component: () => import('@/xt_pages/user/scheduling'),
|
|
193
|
+ hidden: true,
|
|
194
|
+ is_menu: false,
|
|
195
|
+ name: 'scheduling',
|
|
196
|
+ meta: { title: 'scheduling', noCache: true }
|
|
197
|
+ },
|
|
198
|
+ {
|
|
199
|
+ path: '/patients/patient/:id/doctorAdvice',
|
|
200
|
+ component: () => import('@/xt_pages/user/doctorAdvice'),
|
|
201
|
+ hidden: true,
|
|
202
|
+ is_menu: false,
|
|
203
|
+ name: 'doctorAdvice',
|
|
204
|
+ meta: { title: 'doctorAdvice', noCache: true }
|
|
205
|
+ },
|
|
206
|
+ {
|
|
207
|
+ path: '/patients/inspection',
|
|
208
|
+ component: () => import('@/xt_pages/user/inspection'),
|
|
209
|
+ hidden: true,
|
|
210
|
+ is_menu: false,
|
|
211
|
+ name: 'Inspection',
|
|
212
|
+ meta: { title: 'inspection', noCache: true }
|
|
213
|
+ },
|
|
214
|
+ {
|
|
215
|
+ path: '/patients/course',
|
|
216
|
+ component: () => import('@/xt_pages/user/courseOfDisease'),
|
|
217
|
+ hidden: true,
|
|
218
|
+ is_menu: false,
|
|
219
|
+ name: 'CourseOfDiseaseManage',
|
|
220
|
+ meta: { title: 'CourseOfDiseaseManage', noCache: true }
|
|
221
|
+ },
|
|
222
|
+ {
|
|
223
|
+ path: '/patients/rescue',
|
|
224
|
+ component: () => import('@/xt_pages/user/rescueRecord'),
|
|
225
|
+ hidden: true,
|
|
226
|
+ is_menu: false,
|
|
227
|
+ name: 'RescueRecord',
|
|
228
|
+ meta: { title: 'RescueRecord', noCache: true }
|
|
229
|
+ },
|
|
230
|
+ {
|
|
231
|
+ path: '/patients/patient/:id/proeducation',
|
|
232
|
+ component: () => import('@/xt_pages/user/proeducation'),
|
|
233
|
+ hidden: true,
|
|
234
|
+ is_menu: false,
|
|
235
|
+ name: 'proeducation',
|
|
236
|
+ meta: { title: 'proeducation', noCache: true }
|
|
237
|
+ }
|
|
238
|
+ ]
|
|
239
|
+ },
|
|
240
|
+ {
|
|
241
|
+ path: '/workforce',
|
|
242
|
+ component: Layout,
|
|
243
|
+ redirect: 'noredirect',
|
|
244
|
+ name: 'workforce',
|
|
245
|
+ meta: {
|
|
246
|
+ title: 'workforce',
|
|
247
|
+ icon: 'paiban'
|
|
248
|
+ },
|
|
249
|
+ children: [
|
|
250
|
+ {
|
|
251
|
+ path: '/workforce/appointment',
|
|
252
|
+ component: () => import('@/xt_pages/workforce/appointment'),
|
|
253
|
+ name: 'appointment',
|
|
254
|
+ meta: { title: 'appointment', noCache: true }
|
|
255
|
+ },
|
|
256
|
+ {
|
|
257
|
+ path: '/workforce/sign',
|
|
258
|
+ component: () => import('@/xt_pages/workforce/sign'),
|
|
259
|
+ hidden: true,
|
|
260
|
+ is_menu: false,
|
|
261
|
+ name: 'workforcesign',
|
|
262
|
+ meta: { title: 'sign', noCache: true }
|
|
263
|
+ },
|
|
264
|
+ {
|
|
265
|
+ path: '/workforce/remind',
|
|
266
|
+ component: () => import('@/xt_pages/workforce/remind'),
|
|
267
|
+ name: 'remind',
|
|
268
|
+ meta: { title: 'remind', noCache: true }
|
|
269
|
+ },
|
|
270
|
+ {
|
|
271
|
+ path: '/workforce/template',
|
|
272
|
+ component: () => import('@/xt_pages/workforce/template'),
|
|
273
|
+ name: 'workforce_template',
|
|
274
|
+ hidden: true,
|
|
275
|
+ is_menu: false,
|
|
276
|
+ meta: { title: 'workforce_template', noCache: true }
|
|
277
|
+ },
|
|
278
|
+ {
|
|
279
|
+ path: '/workforce/schedule/print',
|
|
280
|
+ component: () => import('@/xt_pages/workforce/schedule_print'),
|
|
281
|
+ name: 'schedule_print',
|
|
282
|
+ hidden: true,
|
|
283
|
+ is_menu: false,
|
|
284
|
+ meta: { title: 'schedule_print', noCache: true }
|
|
285
|
+ }
|
|
286
|
+ ]
|
|
287
|
+ },
|
|
288
|
+ {
|
|
289
|
+ path: '/sign',
|
|
290
|
+ component: Layout,
|
|
291
|
+ redirct: '/sign/index',
|
|
292
|
+ children: [{
|
|
293
|
+ path: '/sign',
|
|
294
|
+ component: () => import('@/xt_pages/sign/index'),
|
|
295
|
+ name: 'sign',
|
|
296
|
+ meta: { title: 'signWeight', icon: 'sign', noCache: true }
|
|
297
|
+ }]
|
|
298
|
+ },
|
|
299
|
+ {
|
|
300
|
+ path: '/dialysis/',
|
|
301
|
+ component: Layout,
|
|
302
|
+ redirect: 'noredirect',
|
|
303
|
+ name: 'dialysis',
|
|
304
|
+ meta: {
|
|
305
|
+ title: 'dialysis',
|
|
306
|
+ icon: 'touxi'
|
|
307
|
+ },
|
|
308
|
+ children: [
|
|
309
|
+ { path: '/dialysis/dialysisrecord', component: () => import('@/xt_pages/dialysis/schedualPatient'), name: '透析记录', meta: { title: '透析记录' }},
|
|
310
|
+ {
|
|
311
|
+ path: '/dialysis/record/:id',
|
|
312
|
+ component: () => import('@/xt_pages/dialysis/dialysisPage'),
|
|
313
|
+ hidden: true,
|
|
314
|
+ is_menu: false,
|
|
315
|
+ name: 'paper',
|
|
316
|
+ meta: { title: 'paper', noCache: true }
|
|
317
|
+ },
|
|
318
|
+ {
|
|
319
|
+ path: '/dialysis/print',
|
|
320
|
+ component: () => import('@/xt_pages/dialysis/dialysisPrintOrder'),
|
|
321
|
+ hidden: true,
|
|
322
|
+ is_menu: false,
|
|
323
|
+ name: 'dialysisPrintOrder',
|
|
324
|
+ meta: { title: 'dialysisPrintOrder', noCache: true }
|
|
325
|
+ },
|
|
326
|
+
|
|
327
|
+ // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
|
|
328
|
+ // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
|
|
329
|
+ { path: '/dialysis/watch', component: () => import('@/xt_pages/dialysis/bloodPresssWatch'), name: 'watch', meta: { title: 'watch' }},
|
|
330
|
+ { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, hidden: true, is_menu: false },
|
|
331
|
+ {
|
|
332
|
+ path: '/dialysis/print/batch',
|
|
333
|
+ component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
|
|
334
|
+ hidden: true,
|
|
335
|
+ is_menu: false,
|
|
336
|
+ name: 'dialysis_batch_print',
|
|
337
|
+ meta: { title: '批量打印', noCache: true }
|
|
338
|
+ },
|
|
339
|
+ { path: '/dialysis/board', component: () => import('@/xt_pages/dialysis/bulletinBoard'), name: '数据看板', meta: { title: '数据看板' }}
|
|
340
|
+ ]
|
|
341
|
+ },
|
|
342
|
+ {
|
|
343
|
+ path: '/stock/',
|
|
344
|
+ component: Layout,
|
|
345
|
+ redirect: 'noredirect',
|
|
346
|
+ name: 'stockManage',
|
|
347
|
+ meta: { title: 'stockManage', icon: 'stock' },
|
|
348
|
+ children: [
|
|
349
|
+ {
|
|
350
|
+ path: '/stock/config',
|
|
351
|
+ component: () => import('@/xt_pages/stock/index'),
|
|
352
|
+ name: 'config',
|
|
353
|
+ meta: { title: 'config' }
|
|
354
|
+ },
|
|
355
|
+ {
|
|
356
|
+ path: '/stock/in',
|
|
357
|
+ component: () => import('@/xt_pages/stock/stockInOrder'),
|
|
358
|
+ name: 'stockInOrder',
|
|
359
|
+ meta: { title: 'stockInOrder', noCache: true }
|
|
360
|
+ }, {
|
|
361
|
+ path: '/stock/in/other',
|
|
362
|
+ component: () => import('@/xt_pages/stock/otherStockInOrder'),
|
|
363
|
+ name: 'otherStockInOrder',
|
|
364
|
+ meta: { title: 'otherStockInOrder', noCache: true }
|
|
365
|
+ }, {
|
|
366
|
+ path: '/stock/return',
|
|
367
|
+ component: () => import('@/xt_pages/stock/salesReturnOrder'),
|
|
368
|
+ name: 'salesReturnOrder',
|
|
369
|
+ meta: { title: 'salesReturnOrder', noCache: true }
|
|
370
|
+ }, {
|
|
371
|
+ path: '/stock/return/other',
|
|
372
|
+ component: () => import('@/xt_pages/stock/otherSalesReturnOrder'),
|
|
373
|
+ name: 'otherSalesReturnOrder',
|
|
374
|
+ meta: { title: 'otherSalesReturnOrder', noCache: true }
|
|
375
|
+ },
|
|
376
|
+ {
|
|
377
|
+ path: '/stock/out',
|
|
378
|
+ component: () => import('@/xt_pages/stock/stockOutOrder'),
|
|
379
|
+ name: 'stockOutOrder',
|
|
380
|
+ meta: { title: 'stockOutOrder', noCache: true }
|
|
381
|
+ }, {
|
|
382
|
+ path: '/stock/out/other',
|
|
383
|
+ component: () => import('@/xt_pages/stock/otherStockOutOrder'),
|
|
384
|
+ name: 'otherStockOutOrder',
|
|
385
|
+ meta: { title: 'otherStockOutOrder', noCache: true }
|
|
386
|
+ }, {
|
|
387
|
+ path: '/stock/cancel',
|
|
388
|
+ component: () => import('@/xt_pages/stock/cancelStockOrder'),
|
|
389
|
+ name: 'cancelStockOrder',
|
|
390
|
+ meta: { title: 'cancelStockOrder', noCache: true }
|
|
391
|
+ }, {
|
|
392
|
+ path: '/stock/cancel/other',
|
|
393
|
+ component: () => import('@/xt_pages/stock/otherCancelStockOrder'),
|
|
394
|
+ name: 'otherCancelStockOrder',
|
|
395
|
+ meta: { title: 'otherCancelStockOrder', noCache: true }
|
|
396
|
+ }, {
|
|
397
|
+ path: '/stock/query',
|
|
398
|
+ component: () => import('@/xt_pages/stock/stockQuery'),
|
|
399
|
+ name: 'stockQuery',
|
|
400
|
+ meta: { title: 'stockQuery' }
|
|
401
|
+ }, {
|
|
402
|
+ path: '/stock/detail',
|
|
403
|
+ component: () => import('@/xt_pages/stock/stockDetailIndex'),
|
|
404
|
+ name: 'stockDetail',
|
|
405
|
+ meta: { title: 'stockDetail' }
|
|
406
|
+ },
|
|
407
|
+ {
|
|
408
|
+ path: '/stock/in/add',
|
|
409
|
+ component: () => import('@/xt_pages/stock/stockInOrderAdd'),
|
|
410
|
+ name: 'stockInOrderAdd',
|
|
411
|
+ hidden: true,
|
|
412
|
+ is_menu: false,
|
|
413
|
+ meta: { title: 'stockInOrderAdd' }
|
|
414
|
+ }, {
|
|
415
|
+ path: '/stock/in/detail',
|
|
416
|
+ component: () => import('@/xt_pages/stock/stockInDetail'),
|
|
417
|
+ name: 'stockInDetail',
|
|
418
|
+ hidden: true,
|
|
419
|
+ is_menu: false,
|
|
420
|
+ meta: { title: 'stockInDetail' }
|
|
421
|
+ }, {
|
|
422
|
+ path: '/stock/return/detail',
|
|
423
|
+ component: () => import('@/xt_pages/stock/salesReturnDetail'),
|
|
424
|
+ name: 'salesReturnDetail',
|
|
425
|
+ hidden: true,
|
|
426
|
+ is_menu: false,
|
|
427
|
+ meta: { title: 'salesReturnDetail' }
|
|
428
|
+ }, {
|
|
429
|
+ path: '/stock/return/add',
|
|
430
|
+ component: () => import('@/xt_pages/stock/salesReturnOrderAdd'),
|
|
431
|
+ name: 'salesReturnOrderAdd',
|
|
432
|
+ hidden: true,
|
|
433
|
+ is_menu: false,
|
|
434
|
+ meta: { title: 'salesReturnOrderAdd' }
|
|
435
|
+ }, {
|
|
436
|
+ path: '/stock/out/add',
|
|
437
|
+ component: () => import('@/xt_pages/stock/stockOutOrderAdd'),
|
|
438
|
+ name: 'stockOutOrderAdd',
|
|
439
|
+ hidden: true,
|
|
440
|
+ is_menu: false,
|
|
441
|
+ meta: { title: 'stockOutOrderAdd' }
|
|
442
|
+ }, {
|
|
443
|
+ path: '/stock/out/detail',
|
|
444
|
+ component: () => import('@/xt_pages/stock/stockOutDetail'),
|
|
445
|
+ name: 'stockOutDetail',
|
|
446
|
+ hidden: true,
|
|
447
|
+ is_menu: false,
|
|
448
|
+ meta: { title: 'stockOutDetail' }
|
|
449
|
+ }, {
|
|
450
|
+ path: '/stock/cancel/add',
|
|
451
|
+ component: () => import('@/xt_pages/stock/cancelStockOrderAdd'),
|
|
452
|
+ name: 'cancelStockOrderAdd',
|
|
453
|
+ hidden: true,
|
|
454
|
+ is_menu: false,
|
|
455
|
+ meta: { title: 'cancelStockOrderAdd' }
|
|
456
|
+ }, {
|
|
457
|
+ path: '/stock/cancel/detail',
|
|
458
|
+ component: () => import('@/xt_pages/stock/cancelStockDetail'),
|
|
459
|
+ name: 'cancelStockDetail',
|
|
460
|
+ hidden: true,
|
|
461
|
+ is_menu: false,
|
|
462
|
+ meta: { title: 'cancelStockDetail' }
|
|
463
|
+ }
|
|
464
|
+ ]
|
|
465
|
+ },
|
|
466
|
+
|
|
467
|
+ {
|
|
468
|
+ path: '/qcd',
|
|
469
|
+ component: Layout,
|
|
470
|
+ redirect: '/qcd/dialysistotal',
|
|
471
|
+ name: 'qcd',
|
|
472
|
+ alwaysShow: true,
|
|
473
|
+ meta: { title: '科室质控', icon: 'statistics' },
|
|
474
|
+ children: [
|
|
475
|
+ { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
|
|
476
|
+ { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
|
|
477
|
+ { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
|
|
478
|
+ { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
|
|
479
|
+ { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
|
|
480
|
+ { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
|
|
481
|
+ { path: '/qcd/patientanalysis/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
|
|
482
|
+ { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
|
|
483
|
+ { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
|
|
484
|
+ { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
|
|
485
|
+ { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
|
|
486
|
+ { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
|
|
487
|
+ { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
|
|
488
|
+ { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
|
|
489
|
+ { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
|
|
490
|
+ { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
|
|
491
|
+ { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }}
|
|
492
|
+ ]
|
|
493
|
+ },
|
|
494
|
+ {
|
|
495
|
+ path: '/data/',
|
|
496
|
+ component: Layout,
|
|
497
|
+ redirect: 'noredirect',
|
|
498
|
+ name: 'data',
|
|
499
|
+ meta: { title: 'data_dictionary', icon: 'excel' },
|
|
500
|
+ children: [
|
|
501
|
+ { path: '/data/dictionary', component: () => import('@/xt_pages/data/index'), name: 'dictionary', meta: { title: 'field_config' }},
|
|
502
|
+ { path: '/data/template', component: () => import('@/xt_pages/data/template'), name: 'template', meta: { title: 'template' }},
|
|
503
|
+ { path: '/data/druguse', component: () => import('@/xt_pages/data/druguseTemplate'), name: 'druguse', meta: { title: 'druguse' }}
|
|
504
|
+ ]
|
|
505
|
+ },
|
|
506
|
+ {
|
|
507
|
+ path: '/device',
|
|
508
|
+ component: Layout,
|
|
509
|
+ redirect: '/device/main',
|
|
510
|
+ name: 'device',
|
|
511
|
+ alwaysShow: true,
|
|
512
|
+ meta: { title: 'deviceManage', icon: 'shebei' },
|
|
513
|
+ children: [
|
|
514
|
+ { path: '/device/zones', component: () => import('@/xt_pages/device/zone_main'), name: 'deviceZoneManage', meta: { title: 'deviceZoneManage' }},
|
|
515
|
+ { path: '/device/groups', component: () => import('@/xt_pages/device/group_main'), name: 'deviceGroupManage', meta: { title: 'deviceGroupManage' }},
|
|
516
|
+ { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
|
|
517
|
+ { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
|
|
518
|
+ ]
|
|
519
|
+ },
|
|
520
|
+ {
|
|
521
|
+ path: '/role',
|
|
522
|
+ component: Layout,
|
|
523
|
+ redirect: '/role/admin/manage',
|
|
524
|
+ name: 'role',
|
|
525
|
+ alwaysShow: true,
|
|
526
|
+ meta: { title: 'permissionManage', icon: 'role' },
|
|
527
|
+ children: [
|
|
528
|
+ { path: '/role/admin/manage', component: () => import('@/xt_pages/role/admin'), name: 'adminManage', meta: { title: 'adminManage' }},
|
|
529
|
+ { path: '/role/manage', component: () => import('@/xt_pages/role/role'), name: 'roleManage', meta: { title: 'roleManage' }},
|
|
530
|
+ { path: '/role/admin/create', component: () => import('@/xt_pages/role/CreateAdmin'), name: 'addAdmin', meta: { title: 'addAdmin', noCache: true }, hidden: true, is_menu: false },
|
|
531
|
+ { path: '/role/admin/edit', component: () => import('@/xt_pages/role/EditAdmin'), name: 'editAdmin', meta: { title: 'editAdmin', noCache: true }, hidden: true, is_menu: false },
|
|
532
|
+ { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
|
|
533
|
+ { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
|
|
534
|
+ ]
|
|
535
|
+ },
|
|
536
|
+ {
|
|
537
|
+ path: '/fullscreenboard',
|
|
538
|
+ component: () => import('@/xt_pages/fullscreenboard/index'),
|
|
539
|
+ hidden: true
|
|
540
|
+ }
|
|
541
|
+ // /////////////本地要end/
|
|
542
|
+]
|
|
543
|
+
|
|
544
|
+export default new Router({
|
|
545
|
+ // mode: 'history', // require service support
|
|
546
|
+ scrollBehavior: () => ({ y: 0 }),
|
|
547
|
+ routes: xt_constantRouterMap
|
|
548
|
+})
|
|
549
|
+
|
|
550
|
+export const xt_asyncRouterMap = [
|
|
551
|
+// //////////////////////////////////线在开始
|
|
552
|
+ // {
|
|
553
|
+ // path: '/patients',
|
|
554
|
+ // component: Layout,
|
|
555
|
+ // redirect: 'noredirect',
|
|
556
|
+ // name: 'User',
|
|
557
|
+ // alwaysShow: true,
|
|
558
|
+ // meta: {
|
|
559
|
+ // title: 'user',
|
|
560
|
+ // icon: 'bingren'
|
|
561
|
+ // },
|
|
562
|
+ // children: [
|
|
563
|
+ // {
|
|
564
|
+ // path: '/patients/patients',
|
|
565
|
+ // component: () => import('@/xt_pages/user/patients'),
|
|
566
|
+ // name: 'Patient',
|
|
567
|
+ // meta: { title: 'patient', noCache: true }
|
|
568
|
+ // },
|
|
569
|
+ // {
|
|
570
|
+ // path: '/patients/create',
|
|
571
|
+ // component: () => import('@/xt_pages/user/createPatient'),
|
|
572
|
+ // name: 'createPatient',
|
|
573
|
+ // meta: { title: 'createPatient', noCache: true }
|
|
574
|
+ // },
|
|
575
|
+ // {
|
|
576
|
+ // path: '/patients/patient/:id',
|
|
577
|
+ // component: () => import('@/xt_pages/user/patientInfo'),
|
|
578
|
+ // hidden: true,
|
|
579
|
+ // is_menu: false,
|
|
580
|
+ // name: 'patient Page',
|
|
581
|
+ // meta: { title: 'patientPage', noCache: true }
|
|
582
|
+ // },
|
|
583
|
+ // {
|
|
584
|
+ // path: '/patients/patient/:id/edit',
|
|
585
|
+ // component: () => import('@/xt_pages/user/editPatient'),
|
|
586
|
+ // hidden: true,
|
|
587
|
+ // is_menu: false,
|
|
588
|
+ // name: 'Edit Patient',
|
|
589
|
+ // meta: { title: 'editPatient', noCache: true }
|
|
590
|
+ // },
|
|
591
|
+ // {
|
|
592
|
+ // path: '/patients/patient/:id/dialysisSolution',
|
|
593
|
+ // component: () => import('@/xt_pages/user/dialysisSolution'),
|
|
594
|
+ // hidden: true,
|
|
595
|
+ // is_menu: false,
|
|
596
|
+ // name: 'dialysisSolution',
|
|
597
|
+ // meta: { title: 'dialysisSolution', noCache: true }
|
|
598
|
+ // },
|
|
599
|
+ // {
|
|
600
|
+ // path: '/patients/patient/:id/weight',
|
|
601
|
+ // component: () => import('@/xt_pages/user/weight'),
|
|
602
|
+ // hidden: true,
|
|
603
|
+ // is_menu: false,
|
|
604
|
+ // name: 'weight',
|
|
605
|
+ // meta: { title: 'weight', noCache: true }
|
|
606
|
+ // },
|
|
607
|
+ // {
|
|
608
|
+ // path: '/patients/patient/:id/dialysisRecord',
|
|
609
|
+ // component: () => import('@/xt_pages/user/dialysisRecord'),
|
|
610
|
+ // hidden: true,
|
|
611
|
+ // is_menu: false,
|
|
612
|
+ // name: 'dialysisRecord',
|
|
613
|
+ // meta: { title: 'dialysisRecord', noCache: true }
|
|
614
|
+ // },
|
|
615
|
+ // {
|
|
616
|
+ // path: '/patients/patient/:id/scheduling',
|
|
617
|
+ // component: () => import('@/xt_pages/user/scheduling'),
|
|
618
|
+ // hidden: true,
|
|
619
|
+ // is_menu: false,
|
|
620
|
+ // name: 'scheduling',
|
|
621
|
+ // meta: { title: 'scheduling', noCache: true }
|
|
622
|
+ // },
|
|
623
|
+ // {
|
|
624
|
+ // path: '/patients/patient/:id/doctorAdvice',
|
|
625
|
+ // component: () => import('@/xt_pages/user/doctorAdvice'),
|
|
626
|
+ // hidden: true,
|
|
627
|
+ // is_menu: false,
|
|
628
|
+ // name: 'doctorAdvice',
|
|
629
|
+ // meta: { title: 'doctorAdvice', noCache: true }
|
|
630
|
+ // },
|
|
631
|
+ // {
|
|
632
|
+ // path: '/patients/inspection',
|
|
633
|
+ // component: () => import('@/xt_pages/user/inspection'),
|
|
634
|
+ // hidden: true,
|
|
635
|
+ // is_menu: false,
|
|
636
|
+ // name: 'Inspection',
|
|
637
|
+ // meta: { title: 'inspection', noCache: true }
|
|
638
|
+ // },
|
|
639
|
+ // {
|
|
640
|
+ // path: '/patients/course',
|
|
641
|
+ // component: () => import('@/xt_pages/user/courseOfDisease'),
|
|
642
|
+ // hidden: true,
|
|
643
|
+ // is_menu: false,
|
|
644
|
+ // name: 'CourseOfDiseaseManage',
|
|
645
|
+ // meta: { title: 'CourseOfDiseaseManage', noCache: true }
|
|
646
|
+ // },
|
|
647
|
+ // {
|
|
648
|
+ // path: '/patients/rescue',
|
|
649
|
+ // component: () => import('@/xt_pages/user/rescueRecord'),
|
|
650
|
+ // hidden: true,
|
|
651
|
+ // is_menu: false,
|
|
652
|
+ // name: 'RescueRecord',
|
|
653
|
+ // meta: { title: 'RescueRecord', noCache: true }
|
|
654
|
+ // },
|
|
655
|
+ // {
|
|
656
|
+ // path: '/patients/patient/:id/proeducation',
|
|
657
|
+ // component: () => import('@/xt_pages/user/proeducation'),
|
|
658
|
+ // hidden: true,
|
|
659
|
+ // is_menu: false,
|
|
660
|
+ // name: 'proeducation',
|
|
661
|
+ // meta: { title: 'proeducation', noCache: true }
|
|
662
|
+ // }
|
|
663
|
+ // ]
|
|
664
|
+ // },
|
|
665
|
+ // {
|
|
666
|
+ // path: '/workforce',
|
|
667
|
+ // component: Layout,
|
|
668
|
+ // redirect: 'noredirect',
|
|
669
|
+ // name: 'workforce',
|
|
670
|
+ // alwaysShow: true,
|
|
671
|
+ // meta: {
|
|
672
|
+ // title: 'workforce',
|
|
673
|
+ // icon: 'paiban'
|
|
674
|
+ // },
|
|
675
|
+ // children: [
|
|
676
|
+ // {
|
|
677
|
+ // path: '/workforce/appointment',
|
|
678
|
+ // component: () => import('@/xt_pages/workforce/appointment'),
|
|
679
|
+ // name: 'appointment',
|
|
680
|
+ // meta: { title: 'appointment', noCache: true }
|
|
681
|
+ // },
|
|
682
|
+ // {
|
|
683
|
+ // path: '/workforce/sign',
|
|
684
|
+ // component: () => import('@/xt_pages/workforce/sign'),
|
|
685
|
+ // hidden: true,
|
|
686
|
+ // is_menu: false,
|
|
687
|
+ // name: 'workforcesign',
|
|
688
|
+ // meta: { title: 'sign', noCache: true }
|
|
689
|
+ // },
|
|
690
|
+ // {
|
|
691
|
+ // path: '/workforce/remind',
|
|
692
|
+ // component: () => import('@/xt_pages/workforce/remind'),
|
|
693
|
+ // name: 'remind',
|
|
694
|
+ // meta: { title: 'remind', noCache: true }
|
|
695
|
+ // },
|
|
696
|
+ // {
|
|
697
|
+ // path: "/workforce/template",
|
|
698
|
+ // component: () => import("@/xt_pages/workforce/template"),
|
|
699
|
+ // name: "workforce_template",
|
|
700
|
+ // hidden: true,
|
|
701
|
+ // is_menu: false,
|
|
702
|
+ // meta: { title: 'workforce_template', noCache: true }
|
|
703
|
+ // },
|
|
704
|
+ // {
|
|
705
|
+ // path: "/workforce/schedule/print",
|
|
706
|
+ // component: () => import("@/xt_pages/workforce/schedule_print"),
|
|
707
|
+ // name: "schedule_print",
|
|
708
|
+ // hidden: true,
|
|
709
|
+ // is_menu: false,
|
|
710
|
+ // meta: { title: 'schedule_print', noCache: true }
|
|
711
|
+ // },
|
|
712
|
+ // ]
|
|
713
|
+ // },
|
|
714
|
+ // {
|
|
715
|
+ // path: '/sign',
|
|
716
|
+ // component: Layout,
|
|
717
|
+ // redirct: '/sign/index',
|
|
718
|
+ // children: [{
|
|
719
|
+ // path: '/sign',
|
|
720
|
+ // component: () => import('@/xt_pages/sign/index'),
|
|
721
|
+ // name: 'sign',
|
|
722
|
+ // meta: { title: 'signWeight', icon: 'sign', noCache: true }
|
|
723
|
+ // }]
|
|
724
|
+ // },
|
|
725
|
+ // {
|
|
726
|
+ // path: '/dialysis/',
|
|
727
|
+ // component: Layout,
|
|
728
|
+ // redirect: 'noredirect',
|
|
729
|
+ // name: 'dialysis',
|
|
730
|
+ // alwaysShow: true,
|
|
731
|
+ // meta: {
|
|
732
|
+ // title: 'dialysis',
|
|
733
|
+ // icon: 'touxi'
|
|
734
|
+ // },
|
|
735
|
+ // children: [
|
|
736
|
+ // { path: '/dialysis/dialysisrecord', component: () => import('@/xt_pages/dialysis/schedualPatient'), name: '透析记录', meta: { title: '透析记录' }},
|
|
737
|
+ // {
|
|
738
|
+ // path: '/dialysis/record/:id',
|
|
739
|
+ // component: () => import('@/xt_pages/dialysis/dialysisPage'),
|
|
740
|
+ // hidden: true,
|
|
741
|
+ // is_menu: false,
|
|
742
|
+ // name: 'paper',
|
|
743
|
+ // meta: { title: 'paper', noCache: true }
|
|
744
|
+ // },
|
|
745
|
+ // {
|
|
746
|
+ // path: '/dialysis/print',
|
|
747
|
+ // component: () => import('@/xt_pages/dialysis/dialysisPrintOrder'),
|
|
748
|
+ // hidden: true,
|
|
749
|
+ // is_menu: false,
|
|
750
|
+ // name: 'dialysisPrintOrder',
|
|
751
|
+ // meta: { title: 'dialysisPrintOrder', noCache: true }
|
|
752
|
+ // },
|
|
753
|
+
|
|
754
|
+ // // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
|
|
755
|
+ // // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
|
|
756
|
+ // { path: '/dialysis/watch', component: () => import('@/xt_pages/dialysis/bloodPresssWatch'), name: 'watch', meta: { title: 'watch' }},
|
|
757
|
+ // { path: '/dialysis/details', component: () => import('@/xt_pages/dialysis/details'), name: 'details', meta: { title: 'details' }, is_menu: false,},
|
|
758
|
+ // {
|
|
759
|
+ // path: '/dialysis/print/batch',
|
|
760
|
+ // component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
|
|
761
|
+ // hidden: true,
|
|
762
|
+ // is_menu: false,
|
|
763
|
+ // name: 'dialysis_batch_print',
|
|
764
|
+ // meta: { title: '批量打印', noCache: true }
|
|
765
|
+ // },
|
|
766
|
+ // { path: '/dialysis/board', component: () => import('@/xt_pages/dialysis/bulletinBoard'), name: '数据看板', meta: { title: '数据看板' }},
|
|
767
|
+ // ]
|
|
768
|
+ // },
|
|
769
|
+ // {
|
|
770
|
+ // path: '/stock/',
|
|
771
|
+ // component: Layout,
|
|
772
|
+ // redirect: 'noredirect',
|
|
773
|
+ // name: 'stockManage',
|
|
774
|
+ // meta: { title: 'stockManage', icon: 'stock' },
|
|
775
|
+ // children: [
|
|
776
|
+ // {
|
|
777
|
+ // path: '/stock/in',
|
|
778
|
+ // component: () => import('@/xt_pages/stock/stockInOrder'),
|
|
779
|
+ // name: 'stockInOrder',
|
|
780
|
+ // meta: { title: 'stockInOrder', noCache: true }
|
|
781
|
+ // }, {
|
|
782
|
+ // path: '/stock/in/other',
|
|
783
|
+ // component: () => import('@/xt_pages/stock/otherStockInOrder'),
|
|
784
|
+ // name: 'otherStockInOrder',
|
|
785
|
+ // meta: { title: 'otherStockInOrder', noCache: true }
|
|
786
|
+ // }, {
|
|
787
|
+ // path: '/stock/return',
|
|
788
|
+ // component: () => import('@/xt_pages/stock/salesReturnOrder'),
|
|
789
|
+ // name: 'salesReturnOrder',
|
|
790
|
+ // meta: { title: 'salesReturnOrder', noCache: true }
|
|
791
|
+ // }, {
|
|
792
|
+ // path: '/stock/return/other',
|
|
793
|
+ // component: () => import('@/xt_pages/stock/otherSalesReturnOrder'),
|
|
794
|
+ // name: 'otherSalesReturnOrder',
|
|
795
|
+ // meta: { title: 'otherSalesReturnOrder', noCache: true }
|
|
796
|
+ // },
|
|
797
|
+ // {
|
|
798
|
+ // path: '/stock/out',
|
|
799
|
+ // component: () => import('@/xt_pages/stock/stockOutOrder'),
|
|
800
|
+ // name: 'stockOutOrder',
|
|
801
|
+ // meta: { title: 'stockOutOrder', noCache: true }
|
|
802
|
+ // }, {
|
|
803
|
+ // path: '/stock/out/other',
|
|
804
|
+ // component: () => import('@/xt_pages/stock/otherStockOutOrder'),
|
|
805
|
+ // name: 'otherStockOutOrder',
|
|
806
|
+ // meta: { title: 'otherStockOutOrder', noCache: true }
|
|
807
|
+ // }, {
|
|
808
|
+ // path: '/stock/cancel',
|
|
809
|
+ // component: () => import('@/xt_pages/stock/cancelStockOrder'),
|
|
810
|
+ // name: 'cancelStockOrder',
|
|
811
|
+ // meta: { title: 'cancelStockOrder', noCache: true }
|
|
812
|
+ // }, {
|
|
813
|
+ // path: '/stock/cancel/other',
|
|
814
|
+ // component: () => import('@/xt_pages/stock/otherCancelStockOrder'),
|
|
815
|
+ // name: 'otherCancelStockOrder',
|
|
816
|
+ // meta: { title: 'otherCancelStockOrder', noCache: true }
|
|
817
|
+ // }, {
|
|
818
|
+ // path: '/stock/query',
|
|
819
|
+ // component: () => import('@/xt_pages/stock/stockQuery'),
|
|
820
|
+ // name: 'stockQuery',
|
|
821
|
+ // meta: { title: 'stockQuery' }
|
|
822
|
+ // }, {
|
|
823
|
+ // path: '/stock/detail',
|
|
824
|
+ // component: () => import('@/xt_pages/stock/stockDetailIndex'),
|
|
825
|
+ // name: 'stockDetail',
|
|
826
|
+ // meta: { title: 'stockDetail' }
|
|
827
|
+ // },{
|
|
828
|
+ // path: '/stock/in/add',
|
|
829
|
+ // component: () => import('@/xt_pages/stock/stockInOrderAdd'),
|
|
830
|
+ // name: 'stockInOrderAdd',
|
|
831
|
+ // hidden: true,
|
|
832
|
+ // is_menu: false,
|
|
833
|
+ // meta: { title: 'stockInOrderAdd' }
|
|
834
|
+ // }, {
|
|
835
|
+ // path: '/stock/in/detail',
|
|
836
|
+ // component: () => import('@/xt_pages/stock/stockInDetail'),
|
|
837
|
+ // name: 'stockInDetail',
|
|
838
|
+ // hidden: true,
|
|
839
|
+ // is_menu: false,
|
|
840
|
+ // meta: { title: 'stockInDetail' }
|
|
841
|
+ // }, {
|
|
842
|
+ // path: '/stock/return/detail',
|
|
843
|
+ // component: () => import('@/xt_pages/stock/salesReturnDetail'),
|
|
844
|
+ // name: 'salesReturnDetail',
|
|
845
|
+ // hidden: true,
|
|
846
|
+ // is_menu: false,
|
|
847
|
+ // meta: { title: 'salesReturnDetail' }
|
|
848
|
+ // }, {
|
|
849
|
+ // path: '/stock/return/add',
|
|
850
|
+ // component: () => import('@/xt_pages/stock/salesReturnOrderAdd'),
|
|
851
|
+ // name: 'salesReturnOrderAdd',
|
|
852
|
+ // hidden: true,
|
|
853
|
+ // is_menu: false,
|
|
854
|
+ // meta: { title: 'salesReturnOrderAdd' }
|
|
855
|
+ // }, {
|
|
856
|
+ // path: '/stock/out/add',
|
|
857
|
+ // component: () => import('@/xt_pages/stock/stockOutOrderAdd'),
|
|
858
|
+ // name: 'stockOutOrderAdd',
|
|
859
|
+ // hidden: true,
|
|
860
|
+ // is_menu: false,
|
|
861
|
+ // meta: { title: 'stockOutOrderAdd', noCache: true }
|
|
862
|
+ // }, {
|
|
863
|
+ // path: '/stock/out/detail',
|
|
864
|
+ // component: () => import('@/xt_pages/stock/stockOutDetail'),
|
|
865
|
+ // name: 'stockOutDetail',
|
|
866
|
+ // hidden: true,
|
|
867
|
+ // is_menu: false,
|
|
868
|
+ // meta: { title: 'stockOutDetail', noCache: true }
|
|
869
|
+ // }, {
|
|
870
|
+ // path: '/stock/cancel/add',
|
|
871
|
+ // component: () => import('@/xt_pages/stock/cancelStockOrderAdd'),
|
|
872
|
+ // name: 'cancelStockOrderAdd',
|
|
873
|
+ // hidden: true,
|
|
874
|
+ // is_menu: false,
|
|
875
|
+ // meta: { title: 'cancelStockOrderAdd', noCache: true }
|
|
876
|
+ // }, {
|
|
877
|
+ // path: '/stock/cancel/detail',
|
|
878
|
+ // component: () => import('@/xt_pages/stock/cancelStockDetail'),
|
|
879
|
+ // name: 'cancelStockDetail',
|
|
880
|
+ // hidden: true,
|
|
881
|
+ // is_menu: false,
|
|
882
|
+ // meta: { title: 'cancelStockDetail', noCache: true }
|
|
883
|
+ // },
|
|
884
|
+ // {
|
|
885
|
+ // path: '/stock/config',
|
|
886
|
+ // component: () => import('@/xt_pages/stock/index'),
|
|
887
|
+ // name: 'config',
|
|
888
|
+ // meta: { title: 'config' }
|
|
889
|
+ // }
|
|
890
|
+ // ]
|
|
891
|
+ // },
|
|
892
|
+ // {
|
|
893
|
+ // path: '/qcd',
|
|
894
|
+ // component: Layout,
|
|
895
|
+ // redirect: '/qcd/dialysistotal',
|
|
896
|
+ // name: 'qcd',
|
|
897
|
+ // alwaysShow: true,
|
|
898
|
+ // meta: { title: '科室质控', icon: 'table' },
|
|
899
|
+ // children: [
|
|
900
|
+ // { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
|
|
901
|
+ // { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
|
|
902
|
+ // { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
|
|
903
|
+ // { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
|
|
904
|
+ // { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
|
|
905
|
+ // { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
|
|
906
|
+ // { path: '/qcd/patientanalysis/weight',hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
|
|
907
|
+ // { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
|
|
908
|
+ // { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
|
|
909
|
+ // { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
|
|
910
|
+ // { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
|
|
911
|
+ // { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
|
|
912
|
+ // { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
|
|
913
|
+ // { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
|
|
914
|
+ // { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
|
|
915
|
+ // { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
|
|
916
|
+ // { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }},
|
|
917
|
+ // ]
|
|
918
|
+ // },
|
|
919
|
+ // {
|
|
920
|
+ // path: '/data/',
|
|
921
|
+ // component: Layout,
|
|
922
|
+ // redirect: 'noredirect',
|
|
923
|
+ // name: 'data',
|
|
924
|
+ // meta: { title: 'data_dictionary', icon: 'excel' },
|
|
925
|
+ // children: [
|
|
926
|
+ // { path: '/data/dictionary', component: () => import('@/xt_pages/data/index'), name: 'dictionary', meta: { title: 'field_config' }},
|
|
927
|
+ // { path: '/data/template', component: () => import('@/xt_pages/data/template'), name: 'template', meta: { title: 'template' }},
|
|
928
|
+ // { path: '/data/druguse', component: () => import('@/xt_pages/data/druguseTemplate'), name: 'druguse', meta: { title: 'druguse' }}
|
|
929
|
+ // ]
|
|
930
|
+ // },
|
|
931
|
+ // {
|
|
932
|
+ // path: '/device',
|
|
933
|
+ // component: Layout,
|
|
934
|
+ // redirect: '/device/main',
|
|
935
|
+ // name: 'device',
|
|
936
|
+ // alwaysShow: true,
|
|
937
|
+ // meta: { title: 'deviceManage', icon: 'shebei' },
|
|
938
|
+ // children: [
|
|
939
|
+ // { path: '/device/zones', component: () => import('@/xt_pages/device/zone_main'), name: 'deviceZoneManage', meta: { title: 'deviceZoneManage' }},
|
|
940
|
+ // { path: '/device/groups', component: () => import('@/xt_pages/device/group_main'), name: 'deviceGroupManage', meta: { title: 'deviceGroupManage' }},
|
|
941
|
+ // { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
|
|
942
|
+ // { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
|
|
943
|
+ // ]
|
|
944
|
+ // },
|
|
945
|
+ // /////////////////////////////////////线在end
|
|
946
|
+ {
|
|
947
|
+ path: '/role',
|
|
948
|
+ component: Layout,
|
|
949
|
+ redirect: '/role/admin/manage',
|
|
950
|
+ name: 'role',
|
|
951
|
+ alwaysShow: true,
|
|
952
|
+ meta: { title: 'permissionManage', icon: 'role' },
|
|
953
|
+ children: [
|
|
954
|
+ { path: '/role/admin/manage', component: () => import('@/xt_pages/role/admin'), name: 'adminManage', meta: { title: 'adminManage' }},
|
|
955
|
+ { path: '/role/manage', component: () => import('@/xt_pages/role/role'), name: 'roleManage', meta: { title: 'roleManage' }},
|
|
956
|
+ { path: '/role/admin/create', component: () => import('@/xt_pages/role/CreateAdmin'), name: 'addAdmin', meta: { title: 'addAdmin', noCache: true }, hidden: true, is_menu: false },
|
|
957
|
+ { path: '/role/admin/edit', component: () => import('@/xt_pages/role/EditAdmin'), name: 'editAdmin', meta: { title: 'editAdmin', noCache: true }, hidden: true, is_menu: false },
|
|
958
|
+ { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
|
|
959
|
+ { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
|
|
960
|
+ ]
|
|
961
|
+ }
|
|
962
|
+]
|