zhengchengwu 6 лет назад
Родитель
Сommit
69be602584
3 измененных файлов: 423 добавлений и 433 удалений
  1. 410 410
      src/router/index.js
  2. 0 10
      src/xt_pages/sign/index.vue
  3. 13 13
      src/xt_permission.js

+ 410 - 410
src/router/index.js Просмотреть файл

@@ -125,418 +125,418 @@ export const xt_constantRouterMap = [
125 125
   // ////////////////////////////
126 126
   // 本地开始
127 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
-      },
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 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
-  },
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 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
-    path: '/fullscreenboard',
537
-    component: () => import('@/xt_pages/fullscreenboard/index'),
538
-    hidden: true
539
-  },
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
+  //   path: '/fullscreenboard',
537
+  //   component: () => import('@/xt_pages/fullscreenboard/index'),
538
+  //   hidden: true
539
+  // },
540 540
   // /////////////本地要end/
541 541
 ]
542 542
 

+ 0 - 10
src/xt_pages/sign/index.vue Просмотреть файл

@@ -297,10 +297,6 @@ export default {
297 297
 
298 298
 
299 299
 
300
-
301
-
302
-
303
-=======
304 300
 
305 301
       //     this.weigh_form = {
306 302
       //     id:0,
@@ -330,7 +326,6 @@ export default {
330 326
       //     patient_id: 0,
331 327
       //     dialysis_no:'',
332 328
       // };
333
->>>>>>> .theirs
334 329
       this.disa = true
335 330
       this.show=false
336 331
       this.weigh_form.choose = true
@@ -554,13 +549,8 @@ export default {
554 549
                               if((signin.weigh_before_time == 0 && response.data.data.signs.weigh_before_time > 0)||(signin.weigh_time === 0 && response.data.data.signs.weigh_time > 0)){
555 550
                                     this.schedules[j].sign++
556 551
                               }
557
-<<<<<<< .mine
558
-                              if(signin.weigh_before_time == 0 && response.data.data.signs.weigh_before_time > 0){
559
-                              
560
-=======
561 552
                               if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
562 553
 
563
->>>>>>> .theirs
564 554
                                    this.schedules[j].before++
565 555
                               }
566 556
                               if(signin.weigh_time == 0 && response.data.data.signs.weigh_time > 0){

+ 13 - 13
src/xt_permission.js Просмотреть файл

@@ -10,19 +10,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
10 10
 
11 11
 router.beforeEach((to, from, next) => {
12 12
   // 线上注释
13
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
-    store.dispatch('VerifyConfigList', []).then(() => {
15
-      next()
16
-    })
17
-  }
18
-  if (store.getters.permission_routers === undefined) {
19
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
20
-      next()
21
-    })
22
-  } else {
23
-    next()
24
-  }
25
-  return
13
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
+  //   store.dispatch('VerifyConfigList', []).then(() => {
15
+  //     next()
16
+  //   })
17
+  // }
18
+  // if (store.getters.permission_routers === undefined) {
19
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
20
+  //     next()
21
+  //   })
22
+  // } else {
23
+  //   next()
24
+  // }
25
+  // return
26 26
   // 线上注释
27 27
 
28 28
   NProgress.start()