Pārlūkot izejas kodu

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

xiaoming_global 6 gadus atpakaļ
vecāks
revīzija
122f0e9fea

Binārs
src/assets/logo/logo.png Parādīt failu


+ 415 - 337
src/router/index.js Parādīt failu

@@ -125,345 +125,346 @@ 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
+<<<<<<< .mine
467 468
   {
468 469
     path: '/qcd',
469 470
     component: Layout,
@@ -539,6 +540,83 @@ export const xt_constantRouterMap = [
539 540
     component: () => import('@/xt_pages/fullscreenboard/index'),
540 541
     hidden: true
541 542
   },
543
+=======
544
+  // {
545
+  //   path: '/qcd',
546
+  //   component: Layout,
547
+  //   redirect: '/qcd/dialysistotal',
548
+  //   name: 'qcd',
549
+  //   alwaysShow: true,
550
+  //   meta: { title: '科室质控', icon: 'statistics' },
551
+  //   children: [
552
+  //     { path: '/statistics/index', component: () => import('@/xt_pages/statistics/index'), name: 'statistics', meta: { title: 'statistics' }},
553
+  //     { path: '/qcd/dialysistotal', component: () => import('@/xt_pages/qcd/dialysisTotal'), name: 'dialysistotal', meta: { title: '透析总量' }},
554
+  //     { path: '/qcd/processindicators', component: () => import('@/xt_pages/qcd/processIndicators'), name: 'processIndicators', meta: { title: '过程指标' }},
555
+  //     { path: '/qcd/outcomeIndicators/control', component: () => import('@/xt_pages/qcd/outcomeIndicators/control'), name: 'outcomeIndicatorsControl', meta: { title: '结果指标' }},
556
+  //     { path: '/qcd/outcomeIndicators/query', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/outcomeIndicators/query'), name: 'outcomeIndicatorsQuery', meta: { title: '指标查询' }},
557
+  //     { path: '/qcd/patientanalysis/total', component: () => import('@/xt_pages/qcd/patientAnalysis/total'), name: 'patientAnalysisTotal', meta: { title: '患者分析' }},
558
+  //     { path: '/qcd/patientanalysis/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/weight'), name: 'patientAnalysisWeight', meta: { title: '体重分析' }},
559
+  //     { path: '/qcd/patientanalysis/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/bloodPressure'), name: 'patientAnalysisBloodPressure', meta: { title: '血压分析' }},
560
+  //     { path: '/qcd/patientanalysis/dialysisage', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/dialysisAge'), name: 'patientAnalysisDialysisAge', meta: { title: '透析龄分析' }},
561
+  //     { path: '/qcd/patientanalysis/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/lapseto'), name: 'patientAnalysisLapseto', meta: { title: '转归分析' }},
562
+  //     { path: '/qcd/patientanalysis/complication', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/complication'), name: 'patientAnalysisComplication', meta: { title: '并发症分析' }},
563
+  //     { path: '/qcd/patientanalysis/infectiousdiseases', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/infectiousDiseases'), name: 'patientAnalysisInfectiousDiseases', meta: { title: '传染病分析' }},
564
+  //     { path: '/qcd/pa/person/lapseto', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/lapseto'), name: 'paPersonLapseto', meta: { title: '转归' }},
565
+  //     { path: '/qcd/pa/person/weight', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/weight'), name: 'paPersonWeight', meta: { title: '体重' }},
566
+  //     { path: '/qcd/pa/person/bloodpressure', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/bloodPressure'), name: 'paPersonBloodPressure', meta: { title: '血压' }},
567
+  //     { path: '/qcd/pa/person/indicators', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/indicators'), name: 'paPersonIndicators', meta: { title: '指标控制' }},
568
+  //     { path: '/qcd/pa/person/oralmedicine', hidden: true, is_menu: false, component: () => import('@/xt_pages/qcd/patientAnalysis/person/oralMedicine'), name: 'paPersonOralMedicine', meta: { title: '口服药' }}
569
+  //   ]
570
+  // },
571
+  // {
572
+  //   path: '/data/',
573
+  //   component: Layout,
574
+  //   redirect: 'noredirect',
575
+  //   name: 'data',
576
+  //   meta: { title: 'data_dictionary', icon: 'excel' },
577
+  //   children: [
578
+  //     { path: '/data/dictionary', component: () => import('@/xt_pages/data/index'), name: 'dictionary', meta: { title: 'field_config' }},
579
+  //     { path: '/data/template', component: () => import('@/xt_pages/data/template'), name: 'template', meta: { title: 'template' }},
580
+  //     { path: '/data/druguse', component: () => import('@/xt_pages/data/druguseTemplate'), name: 'druguse', meta: { title: 'druguse' }}
581
+  //   ]
582
+  // },
583
+  // {
584
+  //   path: '/device',
585
+  //   component: Layout,
586
+  //   redirect: '/device/main',
587
+  //   name: 'device',
588
+  //   alwaysShow: true,
589
+  //   meta: { title: 'deviceManage', icon: 'shebei' },
590
+  //   children: [
591
+  //     { path: '/device/zones', component: () => import('@/xt_pages/device/zone_main'), name: 'deviceZoneManage', meta: { title: 'deviceZoneManage' }},
592
+  //     { path: '/device/groups', component: () => import('@/xt_pages/device/group_main'), name: 'deviceGroupManage', meta: { title: 'deviceGroupManage' }},
593
+  //     { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
594
+  //     { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
595
+  //   ]
596
+  // },
597
+  // {
598
+  //   path: '/role',
599
+  //   component: Layout,
600
+  //   redirect: '/role/admin/manage',
601
+  //   name: 'role',
602
+  //   alwaysShow: true,
603
+  //   meta: { title: 'permissionManage', icon: 'role' },
604
+  //   children: [
605
+  //     { path: '/role/admin/manage', component: () => import('@/xt_pages/role/admin'), name: 'adminManage', meta: { title: 'adminManage' }},
606
+  //     { path: '/role/manage', component: () => import('@/xt_pages/role/role'), name: 'roleManage', meta: { title: 'roleManage' }},
607
+  //     { path: '/role/admin/create', component: () => import('@/xt_pages/role/CreateAdmin'), name: 'addAdmin', meta: { title: 'addAdmin', noCache: true }, hidden: true, is_menu: false },
608
+  //     { path: '/role/admin/edit', component: () => import('@/xt_pages/role/EditAdmin'), name: 'editAdmin', meta: { title: 'editAdmin', noCache: true }, hidden: true, is_menu: false },
609
+  //     { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
610
+  //     { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
611
+  //   ]
612
+  // }, {
613
+  //   path: '/fullscreenboard',
614
+  //   component: () => import('@/xt_pages/fullscreenboard/index'),
615
+  //   hidden: true
616
+  // },
617
+
618
+
619
+>>>>>>> .theirs
542 620
   // /////////////本地要end/
543 621
 ]
544 622
 

+ 162 - 147
src/views/layout/components/Navbar.vue Parādīt failu

@@ -5,18 +5,11 @@
5 5
     </div>
6 6
     <el-menu class="navbar" mode="horizontal">
7 7
       <div>
8
-        <!--<el-dropdown trigger="click" style="color:#fff;">-->
9
-        <!--<span class="el-dropdown-link">-->
10
-          <!--南山市人民医院<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
11
-        <!--</span>-->
12
-          <!--&lt;!&ndash;<el-dropdown-menu slot="dropdown" style="margin-top:21px;">&ndash;&gt;-->
13
-            <!--&lt;!&ndash;<el-dropdown-item>深圳市人民医院</el-dropdown-item>&ndash;&gt;-->
14
-            <!--&lt;!&ndash;<el-dropdown-item>长沙是透析中心</el-dropdown-item>&ndash;&gt;-->
15
-            <!--&lt;!&ndash;<el-dropdown-item>东莞血液透析中心</el-dropdown-item>&ndash;&gt;-->
16
-            <!--&lt;!&ndash;<el-dropdown-item>东莞血液透析中心</el-dropdown-item>&ndash;&gt;-->
17
-            <!--&lt;!&ndash;<el-dropdown-item>东莞血液透析中心</el-dropdown-item>&ndash;&gt;-->
18
-          <!--&lt;!&ndash;</el-dropdown-menu>&ndash;&gt;-->
19
-        <!--</el-dropdown>-->
8
+        <el-dropdown trigger="click" style="color:#fff;">
9
+        <span class="el-dropdown-link">{{orgname}}
10
+          <!--<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i>-->
11
+        </span>
12
+        </el-dropdown>
20 13
       </div>
21 14
       <div class="system-nav">
22 15
         <div class="system-nav-menu">
@@ -62,9 +55,9 @@
62 55
             <el-dropdown-item>
63 56
               <span @click="modifyUserInfoAction">修改个人信息</span>
64 57
             </el-dropdown-item>
65
-            <el-dropdown-item divided>
58
+            <!-- <el-dropdown-item divided>
66 59
               <span @click="myServe">我的服务</span>
67
-            </el-dropdown-item>
60
+            </el-dropdown-item> -->
68 61
             <el-dropdown-item divided>
69 62
               <span @click="logout" style="display:block;">{{$t('navbar.logOut')}}</span>
70 63
             </el-dropdown-item>
@@ -80,55 +73,67 @@
80 73
 </template>
81 74
 
82 75
 <script>
83
-import { mapGetters } from "vuex";
84
-// import Breadcrumb from "@/components/Breadcrumb";
85
-// import Hamburger from "@/components/Hamburger";
86
-import Screenfull from "@/components/Screenfull";
87
-import ModifyUserInfoDialog from "@/xt_pages/home/modify_user_info_dialog";
88
-
89
-export default {
90
-  components: {
91
-    // Breadcrumb,
92
-    // Hamburger,
93
-    Screenfull,
94
-    ModifyUserInfoDialog
95
-  },
96
-  computed: {
97
-    ...mapGetters(["sidebar"]),
98
-    avater: function() {
99
-      var avatar = this.$store.getters.xt_user.user.avatar;
100
-      return avatar.length > 0
101
-        ? avatar
102
-        : require("../../../assets/home/userData.png");
103
-    }
104
-  },
105
-  methods: {
106
-    // toggleSideBar() {
107
-    //   this.$store.dispatch("toggleSideBar");
108
-    // },
109
-    logout() {
110
-      this.$store.dispatch("FrontendLogout");
111
-      window.location.href = process.env.BASE_API + "/logout";
76
+  import { mapGetters } from 'vuex'
77
+  // import Breadcrumb from "@/components/Breadcrumb";
78
+  // import Hamburger from "@/components/Hamburger";
79
+  import Screenfull from '@/components/Screenfull'
80
+  import ModifyUserInfoDialog from '@/xt_pages/home/modify_user_info_dialog'
81
+
82
+  export default {
83
+    data() {
84
+      return {
85
+        orgname:'',
86
+      }
87
+    },
88
+    components: {
89
+      // Breadcrumb,
90
+      // Hamburger,
91
+      Screenfull,
92
+      ModifyUserInfoDialog
112 93
     },
113
-    modifyUserInfoAction() {
114
-      this.$refs.modify_user_info_dialog.show();
94
+    computed: {
95
+      ...mapGetters(['sidebar']),
96
+      avater: function() {
97
+        var avatar = this.$store.getters.xt_user.user.avatar
98
+        return avatar.length > 0
99
+          ? avatar
100
+          : require('../../../assets/home/userData.png')
101
+      }
102
+    },
103
+    methods: {
104
+      // toggleSideBar() {
105
+      //   this.$store.dispatch("toggleSideBar");
106
+      // },
107
+      logout() {
108
+        this.$store.dispatch('FrontendLogout')
109
+        window.location.href = process.env.BASE_API + '/logout'
110
+      },
111
+      modifyUserInfoAction() {
112
+        this.$refs.modify_user_info_dialog.show()
113
+      },
114
+      myServe() {
115
+        this.$router.push('/service')
116
+        return false
117
+      }
115 118
     },
116
-    myServe() {
117
-      this.$router.push("/service");
118
-      return false;
119
+    create() {
120
+      var xtuser = this.$store.getters.xt_user
121
+      this.orgname = xtuser.org.org_name
122
+      console.log(this.orgname)
123
+
119 124
     }
120 125
   }
121
-};
122 126
 </script>
123 127
 
124 128
 <style rel="stylesheet/scss" lang="scss" scoped>
125
-.top-nav {
126
-  background: #409eff;
127
-  position: fixed;
128
-  top: 0;
129
-  left: 0;
130
-  right: 0;
131
-  z-index: 2004;
129
+  .top-nav {
130
+    background: #409eff;
131
+    position: fixed;
132
+    top: 0;
133
+    left: 0;
134
+    right: 0;
135
+    z-index: 2004;
136
+
132 137
   .nav-logo {
133 138
     width: 162px;
134 139
     display: flex;
@@ -140,10 +145,11 @@ export default {
140 145
     box-sizing: border-box;
141 146
     float: left;
142 147
 
143
-    img {
144
-      display: inline-block;
145
-      width: 100px;
146
-    }
148
+  img {
149
+    display: inline-block;
150
+    width: 100px;
151
+  }
152
+
147 153
   }
148 154
   .navbar {
149 155
     border-radius: 0px !important;
@@ -156,95 +162,102 @@ export default {
156 162
     background: #409eff;
157 163
     float: left;
158 164
 
159
-    .breadcrumb-container {
160
-      float: left;
161
-    }
165
+  .breadcrumb-container {
166
+    float: left;
167
+  }
162 168
 
163
-    .errLog-container {
164
-      display: inline-block;
165
-      vertical-align: top;
166
-    }
169
+  .errLog-container {
170
+    display: inline-block;
171
+    vertical-align: top;
172
+  }
167 173
 
168
-    .right-menu {
169
-      float: right;
170
-      height: 100%;
171
-      z-index: 99999;
172
-      &:focus {
173
-        outline: none;
174
-      }
174
+  .right-menu {
175
+    float: right;
176
+    height: 100%;
177
+    z-index: 99999;
175 178
 
176
-      .right-menu-item {
177
-        display: inline-block;
178
-        margin: 0 8px;
179
+  &
180
+  :focus {
181
+    outline: none;
182
+  }
179 183
 
180
-        .iconfont {
181
-          font-size: 18px;
182
-        }
183
-      }
184
-      .screenfull {
185
-        height: 20px;
186
-      }
184
+  .right-menu-item {
185
+    display: inline-block;
186
+    margin: 0 8px;
187 187
 
188
-      .international {
189
-        vertical-align: top;
190
-      }
188
+  .iconfont {
189
+    font-size: 18px;
190
+  }
191 191
 
192
-      .theme-switch {
193
-        vertical-align: 15px;
194
-      }
192
+  }
193
+  .screenfull {
194
+    height: 20px;
195
+  }
195 196
 
196
-      .avatar-container {
197
-        margin-right: 10px;
198
-
199
-        .avatar-wrapper {
200
-          cursor: pointer;
201
-          margin-top: 3px;
202
-          display: flex;
203
-          align-items: center;
204
-          justify-content: center;
205
-
206
-          .user-avatar {
207
-            width: 40px;
208
-            height: 40px;
209
-            border-radius: 50%;
210
-            object-fit: cover;
211
-            object-position: center;
212
-          }
213
-
214
-          .user-title {
215
-            margin: 0 8px;
216
-            font-size: 14px;
217
-            color: #fff;
218
-          }
219
-
220
-          .el-icon-caret-bottom {
221
-            font-size: 12px;
222
-            color: #fff;
223
-          }
224
-        }
225
-      }
226
-    }
197
+  .international {
198
+    vertical-align: top;
199
+  }
200
+
201
+  .theme-switch {
202
+    vertical-align: 15px;
203
+  }
204
+
205
+  .avatar-container {
206
+    margin-right: 10px;
207
+
208
+  .avatar-wrapper {
209
+    cursor: pointer;
210
+    margin-top: 3px;
211
+    display: flex;
212
+    align-items: center;
213
+    justify-content: center;
214
+
215
+  .user-avatar {
216
+    width: 40px;
217
+    height: 40px;
218
+    border-radius: 50%;
219
+    object-fit: cover;
220
+    object-position: center;
221
+  }
222
+
223
+  .user-title {
224
+    margin: 0 8px;
225
+    font-size: 14px;
226
+    color: #fff;
227
+  }
228
+
229
+  .el-icon-caret-bottom {
230
+    font-size: 12px;
231
+    color: #fff;
232
+  }
233
+
234
+  }
235
+  }
236
+  }
227 237
   }
228 238
   .system-nav {
229
-    .system-nav-menu {
230
-      float: left;
231
-      height: 60px;
232
-      line-height: 60px;
233
-      padding: 0 25px;
234
-
235
-      a {
236
-        font-size: 15px;
237
-
238
-        .iconfont {
239
-          font-size: 18px;
240
-        }
241
-      }
242
-    }
243
-    .active {
244
-      background: #3090eb;
245
-      border-left: 1px #5fabf7 solid;
246
-      border-right: 1px #5fabf7 solid;
247
-    }
239
+
240
+  .system-nav-menu {
241
+    float: left;
242
+    height: 60px;
243
+    line-height: 60px;
244
+    padding: 0 25px;
245
+
246
+  a {
247
+    font-size: 15px;
248
+
249
+  .iconfont {
250
+    font-size: 18px;
251
+  }
252
+
253
+  }
254
+  }
255
+  .active {
256
+    background: #3090eb;
257
+    border-left: 1px #5fabf7 solid;
258
+    border-right: 1px #5fabf7 solid;
259
+  }
260
+
248 261
   }
249 262
   .el-menu::after,
250 263
   .el-menu::before {
@@ -254,11 +267,13 @@ export default {
254 267
     top: 0;
255 268
     left: 0;
256 269
   }
257
-}
258
-.el-dropdown-menu{
259
-  z-index: 9999!important;
260
-}
261
-.v-modal{
262
-  z-index: 9999!important;  
263
-}
270
+
271
+  }
272
+  .el-dropdown-menu {
273
+    z-index: 9999 !important;
274
+  }
275
+
276
+  .v-modal {
277
+    z-index: 9999 !important;
278
+  }
264 279
 </style>

+ 3 - 3
src/xt_pages/device/components/add_device_dialog.vue Parādīt failu

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
     <el-dialog title="新增设备" width="854px" top="15vh" :visible.sync="visible" :before-close="_close">
3
-        <device-info-form ref="device_info_form" :device_numbers="device_numbers" @did_create="didCreateDevice"></device-info-form>
4
-        <div style="text-align: right; padding-right: 25px; padding-top: 10px; padding-bottom: 10px;">
3
+        <device-info-form  ref="device_info_form" :device_numbers="device_numbers" @did_create="didCreateDevice"></device-info-form>
4
+        <div slot="footer" class="dialog-footer">
5 5
             <el-button @click="hide">取消</el-button>
6 6
             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction">保存</el-button>
7 7
         </div>
@@ -33,7 +33,7 @@ export default {
33 33
             done()
34 34
         },
35 35
         clear: function() {
36
-            
36
+
37 37
         },
38 38
         show() {
39 39
             this.clear()

+ 6 - 6
src/xt_pages/dialysis/bloodPresssWatch.vue Parādīt failu

@@ -95,14 +95,14 @@
95 95
           </template>
96 96
         </el-table-column>
97 97
 
98
-        <el-table-column prop="mode_name" label="透析模式" align="center"></el-table-column>
98
+        <el-table-column prop="mode_name" label="透析模式" align="center" width="100"></el-table-column>
99 99
 
100
-        <el-table-column prop="dialysis_before_weight" label="透前体重 (kg)" align="center"></el-table-column>
101
-        <el-table-column prop="dialysis_after_weight" label="透后体重 (kg)" align="center"></el-table-column>
102
-        <el-table-column label="透中血压">
103
-          <el-table-column v-for="(item, index) in labelArr" :key="index" :label="item">
100
+        <el-table-column prop="dialysis_before_weight" label="透前体重(kg)" align="center" width="120"></el-table-column>
101
+        <el-table-column prop="dialysis_after_weight" label="透后体重(kg)" align="center" width="120"></el-table-column>
102
+        <el-table-column label="透中血压(Hgmm)" align="center">
103
+          <el-table-column v-for="(item, index) in labelArr" :key="index" :label="item" align="center">
104 104
             <!-- 数据的遍历  scope.row就代表数据的每一个对象-->
105
-            <template slot-scope="scope">
105
+            <template slot-scope="scope" >
106 106
               <!--<span>{{scope.row.bp[index].value}}</span>-->
107 107
               <span>{{getValue(scope.row.bp[index])}}</span>
108 108
             </template>

+ 2 - 21
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Parādīt failu

@@ -41,22 +41,11 @@
41 41
           </template>
42 42
 
43 43
         </el-table-column>
44
-        <el-table-column prop="advice_name" min-width="50px" label="医嘱内容">
44
+        <el-table-column prop="advice_name" min-width="50px" label="医嘱内容" align="center">
45 45
           <template slot-scope="scope">
46 46
 
47 47
             <el-dropdown trigger="click" v-if="scope.row.parent_id == 0">
48
-
49 48
               <span class="el-dropdown-link">{{getAdviceContent(scope.row,1)}}<i class="el-icon-arrow-down el-icon--right"></i></span>
50
-              <!--<span>{{scope.row.advice_name }}</span>-->
51
-              <!--<span>{{scope.row.advice_desc}}</span>-->
52
-              <!--<span v-if="scope.row.single_dose">{{scope.row.single_dose}}{{scope.row.single_dose_unit}}</span>-->
53
-              <!--<span v-if="scope.row.drug_spec">{{scope.row.drug_spec}}{{scope.row.drug_spec_unit}}</span>-->
54
-              <!--<span v-if="scope.row.prescribing_number">* {{scope.row.prescribing_number}}{{scope.row.prescribing_number_unit}}</span>-->
55
-              <!--<span>{{scope.row.delivery_way}}</span>-->
56
-              <!--<span>{{scope.row.execution_frequency}}<i class="el-icon-arrow-down el-icon&#45;&#45;right"></i></span>-->
57
-
58
-
59
-
60 49
               <el-dropdown-menu slot="dropdown">
61 50
                 <el-dropdown-item @click.native="openEdit(scope.$index, scope.row)">修改医嘱</el-dropdown-item>
62 51
                 <el-dropdown-item @click.native="openDelete(scope.$index, scope.row)">删除医嘱</el-dropdown-item>
@@ -64,7 +53,6 @@
64 53
               </el-dropdown-menu>
65 54
             </el-dropdown>
66 55
 
67
-
68 56
             <el-dropdown trigger="click" v-if="scope.row.parent_id > 0">
69 57
               <span class="el-dropdown-link">&emsp;{{getAdviceContent(scope.row,2)}}<i class="el-icon-arrow-down el-icon--right"></i></span>
70 58
               <el-dropdown-menu slot="dropdown">
@@ -96,14 +84,7 @@
96 84
             <span v-else></span>
97 85
           </template>
98 86
         </el-table-column>
99
-        <!--<el-table-column label="操作" min-width="20" align="center">-->
100
-          <!--<template slot-scope="scope">-->
101
-            <!--<el-button type="primary" size="small"-->
102
-                       <!--@click="scope.row.groupno>0?openEditGroupAdvice(scope.row.groupno):openEdit(scope.$index, scope.row)"-->
103
-                       <!--v-if="isShowStartTime(scope.$index, scope.row)">编辑-->
104
-            <!--</el-button>-->
105
-          <!--</template>-->
106
-        <!--</el-table-column>-->
87
+
107 88
       </el-table>
108 89
       <!-- 医嘱列表 end -->
109 90
 

+ 8 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Parādīt failu

@@ -45,7 +45,7 @@
45 45
         <el-row >
46 46
           <el-col :span="2">
47 47
             &nbsp;&nbsp;
48
-          </el-col>  
48
+          </el-col>
49 49
           <el-col :span="5">
50 50
             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" round
51 51
                        @click="openAdviceTemplate()">选择医嘱模板
@@ -87,11 +87,14 @@
87 87
                 label="医嘱名称"
88 88
                 property="advice_name"
89 89
                 style="word-break: keep-all;white-space:nowrap;"
90
+                align="center"
90 91
               ></el-table-column>
91 92
 
92 93
               <el-table-column
93 94
                 label="规格"
94 95
                 property="advice_desc"
96
+                align="center"
97
+
95 98
               ></el-table-column>
96 99
               <!-- <el-table-column label="药品规格*数量" min-width="80" property="drug_spec" align="center">
97 100
                 <template slot-scope="scope">
@@ -160,6 +163,7 @@
160 163
             style="width: 100%">
161 164
             <el-table-column
162 165
               prop="name"
166
+              align="center"
163 167
               label="模板名称">
164 168
             </el-table-column>
165 169
           </el-table>
@@ -180,16 +184,19 @@
180 184
           >
181 185
             <el-table-column
182 186
               type="selection"
187
+              align="center"
183 188
               width="55">
184 189
             </el-table-column>
185 190
             <el-table-column
186 191
               label="医嘱内容"
187 192
               property="advice_name"
188 193
               style="word-break: keep-all;white-space:nowrap;"
194
+              align="center"
189 195
             ></el-table-column>
190 196
             <el-table-column
191 197
               label="规格"
192 198
               property="advice_desc"
199
+              align="center"
193 200
             ></el-table-column>
194 201
             <el-table-column label="开药数量" min-width="80" property="prescribing_number" align="center">
195 202
               <template slot-scope="scope">

+ 11 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Parādīt failu

@@ -38,7 +38,7 @@
38 38
         </el-row>
39 39
 
40 40
         <el-row>
41
-          <el-col :span="2">&nbsp;&nbsp;</el-col>          
41
+          <el-col :span="2">&nbsp;&nbsp;</el-col>
42 42
           <el-col :span="5">
43 43
             <el-button
44 44
               :disabled="$store.getters.xt_user.subscibe.state==3?true:false"
@@ -86,11 +86,15 @@
86 86
               <el-table-column
87 87
                 label="医嘱名称"
88 88
                 property="advice_name"
89
+                align="center"
90
+
89 91
                 style="word-break: keep-all;white-space:nowrap;"
90 92
               ></el-table-column>
91 93
               <el-table-column
92 94
                 label="规格"
93 95
                 property="advice_desc"
96
+                align="center"
97
+
94 98
               ></el-table-column>
95 99
               <!-- <el-table-column label="药品规格*数量" min-width="80" property="drug_spec" align="center">
96 100
                 <template slot-scope="scope">
@@ -150,6 +154,8 @@
150 154
             style="width: 100%">
151 155
             <el-table-column
152 156
               prop="name"
157
+              align="center"
158
+
153 159
               label="模板名称">
154 160
             </el-table-column>
155 161
           </el-table>
@@ -175,10 +181,14 @@
175 181
             <el-table-column
176 182
               label="医嘱内容"
177 183
               property="advice_name"
184
+              align="center"
185
+
178 186
               style="word-break: keep-all;white-space:nowrap;"
179 187
             ></el-table-column>
180 188
             <el-table-column
181 189
               label="规格"
190
+              align="center"
191
+
182 192
               property="advice_desc"
183 193
             ></el-table-column>
184 194
             <el-table-column label="开药数量" min-width="80" property="prescribing_number" align="center">

+ 1 - 1
src/xt_pages/qcd/dialysisTotal.vue Parādīt failu

@@ -165,7 +165,7 @@ export default {
165 165
       statisticalMethods: [
166 166
         { value: 0, label: "全部" },
167 167
         { value: 1, label: "开始透析" },
168
-        { value: 2, label: "排班" }
168
+        // { value: 2, label: "排班" }
169 169
       ],
170 170
       lapsetoType: 0,
171 171
       lapsetoState: [

+ 62 - 0
src/xt_pages/sign/index.vue Parādīt failu

@@ -299,6 +299,63 @@ export default {
299 299
       this.fetchSignPatients()
300 300
     },
301 301
     handleCurrentChange(row, old) {
302
+<<<<<<< .mine
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+=======
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+>>>>>>> .theirs
302 359
       //     this.weigh_form = {
303 360
       //     id:0,
304 361
       //     choose:false,
@@ -549,8 +606,13 @@ export default {
549 606
                               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)){
550 607
                                     this.schedules[j].sign++
551 608
                               }
609
+<<<<<<< .mine
552 610
                               if(signin.weigh_before_time == 0 && response.data.data.signs.weigh_before_time > 0){
553 611
                               
612
+=======
613
+                              if(signin.weigh_before_time === 0 && response.data.data.signs.weigh_before_time > 0){
614
+
615
+>>>>>>> .theirs
554 616
                                    this.schedules[j].before++
555 617
                               }
556 618
                               if(signin.weigh_time == 0 && response.data.data.signs.weigh_time > 0){

+ 8 - 1
src/xt_pages/user/dialysisRecord.vue Parādīt failu

@@ -32,7 +32,7 @@
32 32
           </el-form>
33 33
         </div>
34 34
         <div>
35
-          <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="recordData" border style="width: 100%" @current-change="clickCurrent">
35
+          <el-table id="oictable" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" :data="recordData" border style="width: 100%" @current-change="clickCurrent">
36 36
               <el-table-column prop="dialysis_date" label="透析日期" align="center" width="110" fixed>
37 37
                 <template slot-scope="scope"><span style="color: #579ef8">{{scope.row.dialysis_date | parseTime('{y}-{m}-{d}')}}</span></template>
38 38
               </el-table-column>
@@ -360,6 +360,13 @@ export default {
360 360
   }
361 361
 }
362 362
 </script>
363
+<style>
364
+  #oictable ::-webkit-scrollbar {
365
+    height: 15px;
366
+  }
367
+
368
+</style>
369
+
363 370
 <style rel='stylesheet/scss' lang="scss" scoped >
364 371
 .total {
365 372
   font-size: 14px;

+ 13 - 13
src/xt_permission.js Parādīt failu

@@ -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()