Quellcode durchsuchen

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 vor 1 Jahr
Ursprung
Commit
eb603224d1
31 geänderte Dateien mit 2595 neuen und 1287 gelöschten Zeilen
  1. 19 0
      src/api/fallassement.js
  2. 265 265
      src/router/modules/patient.js
  3. 3 2
      src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue
  4. 2 2
      src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue
  5. 77 0
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  6. 2 2
      src/xt_pages/dialysis/details/assessmentAfter.vue
  7. 1 1
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  8. 10 7
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  9. 4 4
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  10. 113 4
      src/xt_pages/dialysis/details/index.vue
  11. 37 53
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue
  12. 81 5
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  13. 7 10
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue
  14. 10 7
      src/xt_pages/outpatientCharges/statementPrint.vue
  15. 415 0
      src/xt_pages/outpatientCharges/statementTemplate/printfourteen.vue
  16. 15 15
      src/xt_pages/outpatientCharges/summary.vue
  17. 114 6
      src/xt_pages/outpatientDoctorStation/doctorDesk.vue
  18. 29 20
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  19. 29 19
      src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue
  20. 3 0
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  21. 3 0
      src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue
  22. 2 3
      src/xt_pages/user/components/PatientDetail.vue
  23. 62 62
      src/xt_pages/user/components/PatientSidebar.vue
  24. 556 184
      src/xt_pages/user/evaluationtool/Fallassessment.vue
  25. 52 35
      src/xt_pages/user/evaluationtool/RassAssessment.vue
  26. 4 4
      src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue
  27. 204 163
      src/xt_pages/user/evaluationtool/pressuresore.vue
  28. 25 5
      src/xt_pages/user/inspection.vue
  29. 182 164
      src/xt_pages/workforce/appointment.vue
  30. 162 150
      src/xt_pages/workforce/components/editTableData.vue
  31. 107 95
      src/xt_pages/workforce/components/tableData.vue

+ 19 - 0
src/api/fallassement.js Datei anzeigen

@@ -0,0 +1,19 @@
1
+import request from '@/utils/request'
2
+export function getAllNurseList(params){
3
+
4
+    return request({
5
+      url:"/api/patient/fallassement/getallnurselist",
6
+      method:"get",
7
+      params:params,
8
+    })
9
+  }
10
+  
11
+
12
+  export function saveFllassessmentList(data){
13
+  
14
+    return request({
15
+      url:"/api/patient/fallassment/savefllassessmentlist",
16
+      method:"post",
17
+      data:data,
18
+    })
19
+  }

+ 265 - 265
src/router/modules/patient.js Datei anzeigen

@@ -325,271 +325,271 @@ export default {
325 325
       noCache: true
326 326
     }
327 327
   },
328
-
329
-  // {//评估工具/跌倒评估
330
-  //   path: '/patients/patient/:id/Fallassessment',
331
-  //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
-  //   hidden: true,
333
-  //   is_menu: false,
334
-  //   name: 'Fallassessment',
335
-  //   meta: {
336
-  //     title: 'firstDiseasePrint',
337
-  //     noCache: true
338
-  //   }
339
-  // },
340
-  // {//小儿跌倒风险评估
341
-  //   path: '/patients/patient/:id/pediatricFallAssessment',
342
-  //   component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
343
-  //   hidden: true,
344
-  //   is_menu: false,
345
-  //   name: 'pediatricFallAssessment',
346
-  //   meta: {
347
-  //     title: 'pediatricFallAssessment',
348
-  //     noCache: true
349
-  //   }
350
-  // },
351
-  // {//压疮风险评估
352
-  //   path: '/patients/patient/:id/pressuresore',
353
-  //   component: () => import('@/xt_pages/user/evaluationtool/pressuresore'),
354
-  //   hidden: true,
355
-  //   is_menu: false,
356
-  //   name: 'pressuresore',
357
-  //   meta: {
358
-  //     title: 'pressuresore',
359
-  //     noCache: true
360
-  //   }
361
-  // },
362
-  // {//oh压疮评估
363
-  //   path: '/patients/patient/:id/OHpressuresore',
364
-  //   component: () => import('@/xt_pages/user/evaluationtool/OHpressuresore'),
365
-  //   hidden: true,
366
-  //   is_menu: false,
367
-  //   name: 'OHpressuresore',
368
-  //   meta: {
369
-  //     title: 'OHpressuresore',
370
-  //     noCache: true
371
-  //   }
372
-  // },
373
-  // {//日常生活能力评估
374
-  //   path: '/patients/patient/:id/dailyLife',
375
-  //   component: () => import('@/xt_pages/user/evaluationtool/dailyLife'),
376
-  //   hidden: true,
377
-  //   is_menu: false,
378
-  //   name: 'dailyLife',
379
-  //   meta: {
380
-  //     title: 'dailyLife',
381
-  //     noCache: true
382
-  //   }
383
-  // },
384
-  // {//导管脱落风险评估
385
-  //   path: '/patients/patient/:id/Cathetershedding',
386
-  //   component: () => import('@/xt_pages/user/evaluationtool/Cathetershedding'),
387
-  //   hidden: true,
388
-  //   is_menu: false,
389
-  //   name: 'Cathetershedding',
390
-  //   meta: {
391
-  //     title: 'Cathetershedding',
392
-  //     noCache: true
393
-  //   }
394
-  // },
395
-  // {//RASS及疼痛评估
396
-  //   path: '/patients/patient/:id/RassAssessment',
397
-  //   component: () => import('@/xt_pages/user/evaluationtool/RassAssessment'),
398
-  //   hidden: true,
399
-  //   is_menu: false,
400
-  //   name: 'RassAssessment',
401
-  //   meta: {
402
-  //     title: 'RassAssessment',
403
-  //     noCache: true
404
-  //   }
405
-  // },
406
-  // {//营养状况评估
407
-  //   path: '/patients/patient/:id/nourishmentAssessment',
408
-  //   component: () => import('@/xt_pages/user/evaluationtool/nourishmentAssessment'),
409
-  //   hidden: true,
410
-  //   is_menu: false,
411
-  //   name: 'nourishmentAssessment',
412
-  //   meta: {
413
-  //     title: 'nourishmentAssessment',
414
-  //     noCache: true
415
-  //   }
416
-  // },
417
-  // {//约束告知单
418
-  //   path: '/patients/patient/:id/Constraintnotification',
419
-  //   component: () => import('@/xt_pages/user/evaluationtool/Constraintnotification'),
420
-  //   hidden: true,
421
-  //   is_menu: false,
422
-  //   name: 'Constraintnotification',
423
-  //   meta: {
424
-  //     title: 'Constraintnotification',
425
-  //     noCache: true
426
-  //   }
427
-  // },
428
-  // {//心理评估
429
-  //   path: '/patients/patient/:id/mindAssessment',
430
-  //   component: () => import('@/xt_pages/user/evaluationtool/mindAssessment'),
431
-  //   hidden: true,
432
-  //   is_menu: false,
433
-  //   name: 'mindAssessment',
434
-  //   meta: {
435
-  //     title: 'mindAssessment',
436
-  //     noCache: true
437
-  //   }
438
-  // },
439
-  // {//瘙痒评估
440
-  //   path: '/patients/patient/:id/pruritusAssessment',
441
-  //   component: () => import('@/xt_pages/user/evaluationtool/pruritusAssessment'),
442
-  //   hidden: true,
443
-  //   is_menu: false,
444
-  //   name: 'pruritusAssessment',
445
-  //   meta: {
446
-  //     title: 'pruritusAssessment',
447
-  //     noCache: true
448
-  //   }
449
-  // },
450
-  // {//血液透析患者评估
451
-  //   path: '/patients/patient/:id/hemodialysis',
452
-  //   component: () => import('@/xt_pages/user/evaluationtool/hemodialysis'),
453
-  //   hidden: true,
454
-  //   is_menu: false,
455
-  //   name: 'hemodialysis',
456
-  //   meta: {
457
-  //     title: 'hemodialysis',
458
-  //     noCache: true
459
-  //   }
460
-  // },
461
-  // {//Glasgow昏迷评分量表
462
-  //   path: '/patients/patient/:id/Glasgow',
463
-  //   component: () => import('@/xt_pages/user/evaluationtool/Glasgow'),
464
-  //   hidden: true,
465
-  //   is_menu: false,
466
-  //   name: 'Glasgow',
467
-  //   meta: {
468
-  //     title: 'Glasgow',
469
-  //     noCache: true
470
-  //   }
471
-  // },
472
-  // {//肌力评估表
473
-  //   path: '/patients/patient/:id/Muscleforce',
474
-  //   component: () => import('@/xt_pages/user/evaluationtool/Muscleforce'),
475
-  //   hidden: true,
476
-  //   is_menu: false,
477
-  //   name: 'Muscleforce',
478
-  //   meta: {
479
-  //     title: 'Muscleforce',
480
-  //     noCache: true
481
-  //   }
482
-  // },
483
-  // {//跌倒评估历史评估
484
-  //   path: '/patients/tumble_history',
485
-  //   component: () => import('@/xt_pages/user/history/tumble_history'),
486
-  //   hidden: true,
487
-  //   is_menu: false,
488
-  //   name: 'tunele_history',
489
-  //   meta: {
490
-  //     title: 'tunele_history',
491
-  //     noCache: true
492
-  //   }
493
-  // },
494
-  // {//小儿跌倒评估历史评估
495
-  //   path: '/patients/Children_history',
496
-  //   component: () => import('@/xt_pages/user/history/Children_history'),
497
-  //   hidden: true,
498
-  //   is_menu: false,
499
-  //   name: 'Children_history',
500
-  //   meta: {
501
-  //     title: 'Children_history',
502
-  //     noCache: true
503
-  //   }
504
-  // },
505
-  // {//压疮历史评估
506
-  //   path: '/patients/Pressure_history',
507
-  //   component: () => import('@/xt_pages/user/history/Pressure_history'),
508
-  //   hidden: true,
509
-  //   is_menu: false,
510
-  //   name: 'Pressure_history',
511
-  //   meta: {
512
-  //     title: 'Pressure_history',
513
-  //     noCache: true
514
-  //   }
515
-  // },
516
-  // {//日常历史评估
517
-  //   path: '/patients/date_history',
518
-  //   component: () => import('@/xt_pages/user/history/date_history'),
519
-  //   hidden: true,
520
-  //   is_menu: false,
521
-  //   name: 'date_history',
522
-  //   meta: {
523
-  //     title: 'date_history',
524
-  //     noCache: true
525
-  //   }
526
-  // },
527
-  // {//导管脱落历史评估
528
-  //   path: '/patients/daoguan_history',
529
-  //   component: () => import('@/xt_pages/user/history/daoguan_history'),
530
-  //   hidden: true,
531
-  //   is_menu: false,
532
-  //   name: 'daoguan_history',
533
-  //   meta: {
534
-  //     title: 'daoguan_history',
535
-  //     noCache: true
536
-  //   }
537
-  // },
538
-  // {//RASS历史评估
539
-  //   path: '/patients/RASS_history',
540
-  //   component: () => import('@/xt_pages/user/history/RASS_history'),
541
-  //   hidden: true,
542
-  //   is_menu: false,
543
-  //   name: 'RASS_history',
544
-  //   meta: {
545
-  //     title: 'RASS_history',
546
-  //     noCache: true
547
-  //   }
548
-  // },
549
-  // {//营养历史评估
550
-  //   path: '/patients/nourishment_history',
551
-  //   component: () => import('@/xt_pages/user/history/nourishment_history'),
552
-  //   hidden: true,
553
-  //   is_menu: false,
554
-  //   name: 'nourishment_history',
555
-  //   meta: {
556
-  //     title: 'nourishment_history',
557
-  //     noCache: true
558
-  //   }
559
-  // },
560
-  // {//心理历史评估
561
-  //   path: '/patients/mind_history',
562
-  //   component: () => import('@/xt_pages/user/history/mind_history'),
563
-  //   hidden: true,
564
-  //   is_menu: false,
565
-  //   name: 'mind_history',
566
-  //   meta: {
567
-  //     title: 'mind_history',
568
-  //     noCache: true
569
-  //   }
570
-  // },
571
-  // {//瘙痒历史评估
572
-  //   path: '/patients/pruritus_history',
573
-  //   component: () => import('@/xt_pages/user/history/pruritus_history'),
574
-  //   hidden: true,
575
-  //   is_menu: false,
576
-  //   name: 'pruritus_history',
577
-  //   meta: {
578
-  //     title: 'pruritus_history',
579
-  //     noCache: true
580
-  //   }
581
-  // },
582
-  // {//知情同意书
583
-  //   path: '/patients/patient/:id/Informedconsent',
584
-  //   component: () => import('@/xt_pages/user/Informed/Informedconsent'),
585
-  //   hidden: true,
586
-  //   is_menu: false,
587
-  //   name: 'Informedconsent',
588
-  //   meta: {
589
-  //     title: 'Informedconsent',
590
-  //     noCache: true
591
-  //   }
592
-  // },
328
+  // 评估工具/跌倒评估
329
+  {
330
+    path: '/patients/patient/:id/Fallassessment',
331
+    component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
332
+    hidden: true,
333
+    is_menu: false,
334
+    name: 'Fallassessment',
335
+    meta: {
336
+      title: 'firstDiseasePrint',
337
+      noCache: true
338
+    }
339
+  },
340
+  {//小儿跌倒风险评估
341
+    path: '/patients/patient/:id/pediatricFallAssessment',
342
+    component: () => import('@/xt_pages/user/evaluationtool/pediatricFallAssessment'),
343
+    hidden: true,
344
+    is_menu: false,
345
+    name: 'pediatricFallAssessment',
346
+    meta: {
347
+      title: 'pediatricFallAssessment',
348
+      noCache: true
349
+    }
350
+  },
351
+  {//压疮风险评估
352
+    path: '/patients/patient/:id/pressuresore',
353
+    component: () => import('@/xt_pages/user/evaluationtool/pressuresore'),
354
+    hidden: true,
355
+    is_menu: false,
356
+    name: 'pressuresore',
357
+    meta: {
358
+      title: 'pressuresore',
359
+      noCache: true
360
+    }
361
+  },
362
+  {//oh压疮评估
363
+    path: '/patients/patient/:id/OHpressuresore',
364
+    component: () => import('@/xt_pages/user/evaluationtool/OHpressuresore'),
365
+    hidden: true,
366
+    is_menu: false,
367
+    name: 'OHpressuresore',
368
+    meta: {
369
+      title: 'OHpressuresore',
370
+      noCache: true
371
+    }
372
+  },
373
+  {//日常生活能力评估
374
+    path: '/patients/patient/:id/dailyLife',
375
+    component: () => import('@/xt_pages/user/evaluationtool/dailyLife'),
376
+    hidden: true,
377
+    is_menu: false,
378
+    name: 'dailyLife',
379
+    meta: {
380
+      title: 'dailyLife',
381
+      noCache: true
382
+    }
383
+  },
384
+  {//导管脱落风险评估
385
+    path: '/patients/patient/:id/Cathetershedding',
386
+    component: () => import('@/xt_pages/user/evaluationtool/Cathetershedding'),
387
+    hidden: true,
388
+    is_menu: false,
389
+    name: 'Cathetershedding',
390
+    meta: {
391
+      title: 'Cathetershedding',
392
+      noCache: true
393
+    }
394
+  },
395
+  {//RASS及疼痛评估
396
+    path: '/patients/patient/:id/RassAssessment',
397
+    component: () => import('@/xt_pages/user/evaluationtool/RassAssessment'),
398
+    hidden: true,
399
+    is_menu: false,
400
+    name: 'RassAssessment',
401
+    meta: {
402
+      title: 'RassAssessment',
403
+      noCache: true
404
+    }
405
+  },
406
+  {//营养状况评估
407
+    path: '/patients/patient/:id/nourishmentAssessment',
408
+    component: () => import('@/xt_pages/user/evaluationtool/nourishmentAssessment'),
409
+    hidden: true,
410
+    is_menu: false,
411
+    name: 'nourishmentAssessment',
412
+    meta: {
413
+      title: 'nourishmentAssessment',
414
+      noCache: true
415
+    }
416
+  },
417
+  {//约束告知单
418
+    path: '/patients/patient/:id/Constraintnotification',
419
+    component: () => import('@/xt_pages/user/evaluationtool/Constraintnotification'),
420
+    hidden: true,
421
+    is_menu: false,
422
+    name: 'Constraintnotification',
423
+    meta: {
424
+      title: 'Constraintnotification',
425
+      noCache: true
426
+    }
427
+  },
428
+  {//心理评估
429
+    path: '/patients/patient/:id/mindAssessment',
430
+    component: () => import('@/xt_pages/user/evaluationtool/mindAssessment'),
431
+    hidden: true,
432
+    is_menu: false,
433
+    name: 'mindAssessment',
434
+    meta: {
435
+      title: 'mindAssessment',
436
+      noCache: true
437
+    }
438
+  },
439
+  {//瘙痒评估
440
+    path: '/patients/patient/:id/pruritusAssessment',
441
+    component: () => import('@/xt_pages/user/evaluationtool/pruritusAssessment'),
442
+    hidden: true,
443
+    is_menu: false,
444
+    name: 'pruritusAssessment',
445
+    meta: {
446
+      title: 'pruritusAssessment',
447
+      noCache: true
448
+    }
449
+  },
450
+  {//血液透析患者评估
451
+    path: '/patients/patient/:id/hemodialysis',
452
+    component: () => import('@/xt_pages/user/evaluationtool/hemodialysis'),
453
+    hidden: true,
454
+    is_menu: false,
455
+    name: 'hemodialysis',
456
+    meta: {
457
+      title: 'hemodialysis',
458
+      noCache: true
459
+    }
460
+  },
461
+  {//Glasgow昏迷评分量表
462
+    path: '/patients/patient/:id/Glasgow',
463
+    component: () => import('@/xt_pages/user/evaluationtool/Glasgow'),
464
+    hidden: true,
465
+    is_menu: false,
466
+    name: 'Glasgow',
467
+    meta: {
468
+      title: 'Glasgow',
469
+      noCache: true
470
+    }
471
+  },
472
+  {//肌力评估表
473
+    path: '/patients/patient/:id/Muscleforce',
474
+    component: () => import('@/xt_pages/user/evaluationtool/Muscleforce'),
475
+    hidden: true,
476
+    is_menu: false,
477
+    name: 'Muscleforce',
478
+    meta: {
479
+      title: 'Muscleforce',
480
+      noCache: true
481
+    }
482
+  },
483
+  {//跌倒评估历史评估
484
+    path: '/patients/tumble_history',
485
+    component: () => import('@/xt_pages/user/history/tumble_history'),
486
+    hidden: true,
487
+    is_menu: false,
488
+    name: 'tunele_history',
489
+    meta: {
490
+      title: 'tunele_history',
491
+      noCache: true
492
+    }
493
+  },
494
+  {//小儿跌倒评估历史评估
495
+    path: '/patients/Children_history',
496
+    component: () => import('@/xt_pages/user/history/Children_history'),
497
+    hidden: true,
498
+    is_menu: false,
499
+    name: 'Children_history',
500
+    meta: {
501
+      title: 'Children_history',
502
+      noCache: true
503
+    }
504
+  },
505
+  {//压疮历史评估
506
+    path: '/patients/Pressure_history',
507
+    component: () => import('@/xt_pages/user/history/Pressure_history'),
508
+    hidden: true,
509
+    is_menu: false,
510
+    name: 'Pressure_history',
511
+    meta: {
512
+      title: 'Pressure_history',
513
+      noCache: true
514
+    }
515
+  },
516
+  {//日常历史评估
517
+    path: '/patients/date_history',
518
+    component: () => import('@/xt_pages/user/history/date_history'),
519
+    hidden: true,
520
+    is_menu: false,
521
+    name: 'date_history',
522
+    meta: {
523
+      title: 'date_history',
524
+      noCache: true
525
+    }
526
+  },
527
+  {//导管脱落历史评估
528
+    path: '/patients/daoguan_history',
529
+    component: () => import('@/xt_pages/user/history/daoguan_history'),
530
+    hidden: true,
531
+    is_menu: false,
532
+    name: 'daoguan_history',
533
+    meta: {
534
+      title: 'daoguan_history',
535
+      noCache: true
536
+    }
537
+  },
538
+  {//RASS历史评估
539
+    path: '/patients/RASS_history',
540
+    component: () => import('@/xt_pages/user/history/RASS_history'),
541
+    hidden: true,
542
+    is_menu: false,
543
+    name: 'RASS_history',
544
+    meta: {
545
+      title: 'RASS_history',
546
+      noCache: true
547
+    }
548
+  },
549
+  {//营养历史评估
550
+    path: '/patients/nourishment_history',
551
+    component: () => import('@/xt_pages/user/history/nourishment_history'),
552
+    hidden: true,
553
+    is_menu: false,
554
+    name: 'nourishment_history',
555
+    meta: {
556
+      title: 'nourishment_history',
557
+      noCache: true
558
+    }
559
+  },
560
+  {//心理历史评估
561
+    path: '/patients/mind_history',
562
+    component: () => import('@/xt_pages/user/history/mind_history'),
563
+    hidden: true,
564
+    is_menu: false,
565
+    name: 'mind_history',
566
+    meta: {
567
+      title: 'mind_history',
568
+      noCache: true
569
+    }
570
+  },
571
+  {//瘙痒历史评估
572
+    path: '/patients/pruritus_history',
573
+    component: () => import('@/xt_pages/user/history/pruritus_history'),
574
+    hidden: true,
575
+    is_menu: false,
576
+    name: 'pruritus_history',
577
+    meta: {
578
+      title: 'pruritus_history',
579
+      noCache: true
580
+    }
581
+  },
582
+  {//知情同意书
583
+    path: '/patients/patient/:id/Informedconsent',
584
+    component: () => import('@/xt_pages/user/Informed/Informedconsent'),
585
+    hidden: true,
586
+    is_menu: false,
587
+    name: 'Informedconsent',
588
+    meta: {
589
+      title: 'Informedconsent',
590
+      noCache: true
591
+    }
592
+  },
593 593
   // {//血管通路图 pruritus_history
594 594
   //   path: '/patients/patient/:id/angiogram',
595 595
   //   component: () => import('@/xt_pages/user/angiogram'),

+ 3 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue Datei anzeigen

@@ -130,13 +130,14 @@
130 130
                 class="under_line"
131 131
                 style="width: 70px; text-align: center"
132 132
               >
133
-                {{
133
+                <!-- {{
134 134
                   record.patient.total_dialysis +
135 135
                   record.patient.user_sys_before_count
136 136
                     ? record.patient.total_dialysis +
137 137
                       record.patient.user_sys_before_count
138 138
                     : "/"
139
-                }}
139
+                }} -->
140
+                {{record.patient.user_sys_before_count + record.Count ? record.patient.user_sys_before_count+record.Count:"/"}}
140 141
               </div>
141 142
 
142 143
               <div

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue Datei anzeigen

@@ -301,8 +301,8 @@
301 301
                 <div style="flex: 1;">
302 302
                   处方脱水量
303 303
                   <span class="under-line" style="display: inline-block;width: 50%;">
304
-                    {{ record.prescription && record.prescription.prescription_water
305
-                      ? record.prescription.prescription_water : "/"
304
+                    {{ record.prescription && record.prescription.target_ultrafiltration
305
+                      ? record.prescription.target_ultrafiltration : "/"
306 306
                     }}L
307 307
                   </span>
308 308
                 </div>

+ 77 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Datei anzeigen

@@ -724,6 +724,83 @@
724 724
                           >
725 725
                             血浆胆红素吸附+HP
726 726
                           </div>
727
+                          <div
728
+                            class="under_line"
729
+                            style="
730
+                              width: 150px;
731
+                              text-align: center;
732
+                              font-weight: 600;
733
+                            "
734
+                            v-if="record.prescription.mode_id == 31"
735
+                          >
736
+                           HPD
737
+                          </div>
738
+                          <div
739
+                            class="under_line"
740
+                            style="
741
+                              width: 100px;
742
+                              text-align: center;
743
+                              font-weight: 600;
744
+                            "
745
+                            v-if="record.prescription.mode_id == 32"
746
+                          >
747
+                          HDP
748
+                          </div>
749
+                          <div
750
+                            class="under_line"
751
+                            style="
752
+                              width: 100px;
753
+                              text-align: center;
754
+                              font-weight: 600;
755
+                            "
756
+                            v-if="record.prescription.mode_id == 33"
757
+                          >
758
+                          HFD
759
+                          </div>
760
+                          <div
761
+                            class="under_line"
762
+                            style="
763
+                              width: 100px;
764
+                              text-align: center;
765
+                              font-weight: 600;
766
+                            "
767
+                            v-if="record.prescription.mode_id == 34"
768
+                          >
769
+                          HDF100
770
+                          </div>
771
+                          <div
772
+                            class="under_line"
773
+                            style="
774
+                              width: 100px;
775
+                              text-align: center;
776
+                              font-weight: 600;
777
+                            "
778
+                            v-if="record.prescription.mode_id == 35"
779
+                          >
780
+                          HDF600
781
+                          </div>
782
+                          <div
783
+                            class="under_line"
784
+                            style="
785
+                              width: 100px;
786
+                              text-align: center;
787
+                              font-weight: 600;
788
+                            "
789
+                            v-if="record.prescription.mode_id == 36"
790
+                          >
791
+                          HDF800
792
+                          </div>
793
+                          <div
794
+                            class="under_line"
795
+                            style="
796
+                              width: 100px;
797
+                              text-align: center;
798
+                              font-weight: 600;
799
+                            "
800
+                            v-if="record.prescription.mode_id == 37"
801
+                          >
802
+                          HDF1000
803
+                          </div>
727 804
                         </div>
728 805
                       </div>
729 806
 

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Datei anzeigen

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495 ||  this.$store.getters.xt_user.template_info.org_id == 10597  ||  this.$store.getters.xt_user.template_info.org_id == 10599 ) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495 &&  this.$store.getters.xt_user.template_info.org_id!= 10597  &&  this.$store.getters.xt_user.template_info.org_id!= 10599"  >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495 ||  this.$store.getters.xt_user.template_info.org_id == 10597  ||  this.$store.getters.xt_user.template_info.org_id == 10599 ||  this.$store.getters.xt_user.template_info.org_id == 10612 ||  this.$store.getters.xt_user.template_info.org_id == 10617 ) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495 &&  this.$store.getters.xt_user.template_info.org_id!= 10597  &&  this.$store.getters.xt_user.template_info.org_id!= 10599  &&  this.$store.getters.xt_user.template_info.org_id!= 10612  &&  this.$store.getters.xt_user.template_info.org_id!= 10617"  >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Datei anzeigen

@@ -30,7 +30,7 @@
30 30
           <el-col :span="8" v-if="isShow('实际超滤量')">
31 31
             <el-form-item
32 32
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
33
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599"  >
33
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10495 || this.$store.getters.xt_user.template_info.org_id == 10558 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617"  >
34 34
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35 35
             </el-form-item>
36 36
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">

+ 10 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Datei anzeigen

@@ -267,19 +267,20 @@
267 267
                 org_id == 10597 ||
268 268
                 org_id == 10599 || 
269 269
                 org_id == 10612 ||
270
+                org_id == 10617 ||
270 271
                 org_id ==10580 || org_id ==10629) &&
271 272
                 org_id!=10387
272 273
             "
273 274
           >
274 275
             <template slot-scope="scope">
275
-             <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206 || org_id ==10612">
276
+             <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206 || org_id ==10612 || org_id ==10617">
276 277
               {{
277 278
                 scope.row.ultrafiltration_volume
278 279
                   ? scope.row.ultrafiltration_volume
279 280
                   : "0"
280 281
               }}
281 282
               </span>
282
-               <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206 && org_id!=10612">
283
+               <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206 && org_id!=10612 && org_id!=10617">
283 284
               {{
284 285
                 scope.row.ultrafiltration_volume
285 286
                   ? scope.row.ultrafiltration_volume
@@ -338,7 +339,7 @@
338 339
               && org_id!=10432 && org_id!=10445
339 340
               && org_id!=10410 && org_id!=10495 &&
340 341
                org_id!=10485 && org_id!=10395 && org_id!=10375
341
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10580 && org_id!=10629)
342
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629)
342 343
               || org_id == 10387
343 344
             "
344 345
           >
@@ -394,7 +395,7 @@
394 395
                 org_id == 10410 ||
395 396
                 org_id == 10495  ||
396 397
                 org_id == 10395
397
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580 || org_id ==10629)
398
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629)
398 399
                 && org_id!=10387
399 400
             "
400 401
           >
@@ -447,7 +448,7 @@
447 448
               org_id!=10432 &&
448 449
               org_id!=10445 &&
449 450
               org_id!=10410 && org_id!=10495
450
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10580 && org_id!=10629) ||
451
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629) ||
451 452
               org_id == 10387
452 453
             "
453 454
           >
@@ -1179,7 +1180,7 @@
1179 1180
                 org_id== 10432 ||
1180 1181
                 org_id== 10445 ||
1181 1182
                 org_id== 10410 ||
1182
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580) &&
1183
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617) &&
1183 1184
                 org_id!=10387
1184 1185
             "
1185 1186
           >
@@ -1227,7 +1228,7 @@
1227 1228
               org_id!=10445 &&
1228 1229
               org_id!=10410 &&
1229 1230
               org_id!=10485 &&
1230
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10580)
1231
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580)
1231 1232
               || org_id == 10387
1232 1233
             "
1233 1234
           >
@@ -1292,6 +1293,7 @@
1292 1293
                 org_id == 10597||
1293 1294
                 org_id == 10599 ||
1294 1295
                 org_id ==10612 || 
1296
+                org_id ==10617 || 
1295 1297
                 org_id==10580 || org_id ==10629)
1296 1298
                 && org_id!=10387
1297 1299
             "
@@ -1357,6 +1359,7 @@
1357 1359
               org_id!=10597 &&
1358 1360
               org_id!=10599 &&
1359 1361
               org_id!=10612 &&
1362
+              org_id!=10617 &&
1360 1363
               org_id!=10580 &&
1361 1364
               org_id!=10629
1362 1365
               )

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Datei anzeigen

@@ -15,10 +15,10 @@
15 15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16 16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17 17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
18
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
18
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24 24
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558 && org_id!=10598" width="92px" > 置换率(ml/min) </th>

+ 113 - 4
src/xt_pages/dialysis/details/index.vue Datei anzeigen

@@ -290,13 +290,14 @@
290 290
                 </div>
291 291
                 <div class="printCell" style="display:flex;justify-content: space-around;">
292 292
                   <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
293
-                    <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
293
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
294
+                  <span style="display: block;width: 50%;" v-if="org_id==10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
294 295
 
295 296
                 </div>
296 297
                 <div class="printCell" style="display:flex;justify-content: space-around;">
297 298
                   <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
298 299
 
299
-                  <span style="display: block;width: 50%;">
300
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
300 301
                     首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
301 302
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
302 303
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
@@ -328,12 +329,46 @@
328 329
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
329 330
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
330 331
                   </span>
332
+                   </span>
333
+
334
+                   <span style="display: block;width: 50%;" v-if="org_id ==10598">
335
+                    首剂: <span v-if="main_collection.prescription.anticoagulant == 1">{{main_collection.prescription.anticoagulant_shouji}} mg</span>
336
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
337
+                    {{main_collection.prescription.anticoagulant_shouji}}mg
338
+                  </span>
339
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
340
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
341
+                  </span>
342
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
343
+                  {{main_collection.prescription.anticoagulant_shouji}}mg
344
+                  </span>
345
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
346
+                  {{main_collection.prescription.anticoagulant_shouji}} mg
347
+                  </span>
348
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
349
+                  {{main_collection.prescription.anticoagulant_shouji}}iu
350
+                  </span>
351
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
352
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
353
+                  </span>
354
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
355
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
356
+                  </span>
357
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
358
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
359
+                  </span>
360
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
361
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
331 362
                     </span>
363
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
364
+                    {{main_collection.prescription.anticoagulant_shouji}}iu
365
+                  </span>
366
+                   </span>
332 367
 
333 368
                 </div>
334 369
                 <div class="printCell" style="display:flex;justify-content: space-around;">
335 370
                   <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
336
-                <span style="display: block;width: 50%;">
371
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
337 372
                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
338 373
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
339 374
                     mg/h
@@ -370,13 +405,50 @@
370 405
                   </span>
371 406
                   </span>
372 407
 
408
+                  <span style="display: block;width: 50%;" v-if="org_id ==10598">
409
+                    维持:{{main_collection.prescription.anticoagulant_weichi}}
410
+                  <span v-if="main_collection.prescription.anticoagulant == 1">
411
+                    mg/h
412
+                  </span>
413
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
414
+                    mg/h
415
+                  </span>
416
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
417
+                  iu/h
418
+                  </span>
419
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
420
+                    mg/h
421
+                  </span>
422
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
423
+                    mg/h
424
+                  </span>
425
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
426
+                  iu/h
427
+                  </span>
428
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
429
+                  iu/h
430
+                  </span>
431
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
432
+                    iu/h
433
+                  </span>
434
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
435
+                    iu/h
436
+                  </span>
437
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
438
+                    iu/h
439
+                    </span>
440
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
441
+                    iu/h
442
+                  </span>
443
+                  </span>
444
+
373 445
                 </div>
374 446
                 <div class="printCell" style="display:flex;justify-content: space-around;">
375 447
                   <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
376 448
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span>
377 449
                     <span v-else>L</span>
378 450
                   </span>
379
-                  <span style="display: block;width: 50%;">
451
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
380 452
                     总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
381 453
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
382 454
                     mg
@@ -412,6 +484,43 @@
412 484
                   iu
413 485
                   </span>
414 486
                   </span>
487
+
488
+                  <span style="display: block;width: 50%;" v-if="org_id ==10598">
489
+                    总量:{{main_collection.prescription.anticoagulant_zongliang}}
490
+                  <span v-if="main_collection.prescription.anticoagulant == 1">
491
+                    mg
492
+                  </span>
493
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
494
+                    mg
495
+                  </span>
496
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
497
+                    iu
498
+                  </span>
499
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
500
+                  mg
501
+                  </span>
502
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
503
+                    mg
504
+                  </span>
505
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
506
+                  iu
507
+                  </span>
508
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
509
+                    iu
510
+                  </span>
511
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
512
+                    iu
513
+                  </span>
514
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
515
+                  iu
516
+                  </span>
517
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
518
+                    iu
519
+                    </span>
520
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
521
+                  iu
522
+                  </span>
523
+                  </span>
415 524
                 </div>
416 525
               </div>
417 526
             </div>

+ 37 - 53
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue Datei anzeigen

@@ -751,7 +751,7 @@
751 751
                   <div class="row"
752 752
                     style="padding: 2px 0; line-height: 23px; display: flex"
753 753
                   >
754
-                  <div class="inline_block" style="flex: 1">
754
+                    <div class="inline_block" style="flex: 1">
755 755
                       透前症状:
756 756
                       <div
757 757
                         class="under_line"
@@ -763,7 +763,7 @@
763 763
                             ? predialysis.symptom_before_dialysis
764 764
                             : "/"
765 765
                         }}
766
-                       </span> 
766
+                       </span>
767 767
                        <span v-if="predialysis&&predialysis.symptom_before_dialysis_other!=''">
768 768
                          {{ predialysis.symptom_before_dialysis_other?predialysis.symptom_before_dialysis_other:"/" }}
769 769
                        </span>
@@ -788,7 +788,7 @@
788 788
                             ? predialysis.symptom_before_dialysis
789 789
                             : "/"
790 790
                         }}
791
-                       </span> 
791
+                       </span>
792 792
                        <span v-if="predialysis&&predialysis.symptom_before_dialysis_other!=''">
793 793
                          {{ predialysis.symptom_before_dialysis_other?predialysis.symptom_before_dialysis_other:"/" }}
794 794
                        </span>
@@ -803,7 +803,7 @@
803 803
                         class="under_line"
804 804
                         style="width: 60%; text-align: left"
805 805
                       >
806
-                       
806
+
807 807
                         {{
808 808
                           prescription.dialysis_dialyszers
809 809
                             ? prescription.dialysis_dialyszers
@@ -923,8 +923,9 @@
923 923
                         class="under_line"
924 924
                         style="width: 50px; text-align: center"
925 925
                       >
926
-                      {{ predialysis.weight_before > 0 && predialysis.weight_after > 0
927
-                        ? parseFloat(predialysis.weight_before - predialysis.weight_after).toFixed(2): "/"
926
+                      {{
927
+                        lastafterdialysis.weight_after == 0 || predialysis.weight_before == 0
928
+                          ? '/': ( predialysis.weight_before - lastafterdialysis.weight_after ).toFixed(2)
928 929
                       }}
929 930
                       </div>
930 931
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
@@ -1559,8 +1560,6 @@
1559 1560
                   </table>
1560 1561
                 </td>
1561 1562
               </tr>
1562
-
1563
-
1564 1563
             </tbody>
1565 1564
           </table>
1566 1565
         </div>
@@ -1928,50 +1927,16 @@
1928 1927
                       </div>
1929 1928
                       mmHg
1930 1929
                     </div>
1930
+                    
1931
+
1932
+                  </div>
1933
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1931 1934
                     <div class="inline_block" style="flex: 1">
1932 1935
                       透后症状:
1933
-                      <div class="under_line" style="width: 140px;text-align: center">
1936
+                      <div class="under_line" style="width: 60%;text-align: center">
1934 1937
                         {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "/" }}
1935 1938
                       </div>
1936 1939
                     </div>
1937
-
1938
-                  </div>
1939
-                  <!-- <div
1940
-                    class="row"
1941
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1942
-                    v-if="org_id==9538 || org_id==9675"
1943
-                  >
1944
-                  <div class="inline_block" style="flex: 2.5">
1945
-                      KT/V:
1946
-                      <div
1947
-                        class="under_line"
1948
-                        style="
1949
-                          width: 170px;
1950
-                          text-align: center;
1951
-                          white-space: normal;
1952
-                        "
1953
-                      >
1954
-                        {{ afterdialysis.ktv ? afterdialysis.ktv : "/" }}
1955
-                      </div>
1956
-                    </div>
1957
-                     <div class="inline_block" style="flex: 2.5">
1958
-                      累积血容量:
1959
-                      <div
1960
-                        class="under_line"
1961
-                        style="
1962
-                          width: 170px;
1963
-                          text-align: center;
1964
-                          white-space: normal;
1965
-                        "
1966
-                      >
1967
-                        {{ afterdialysis.accumulated_blood_volume ? afterdialysis.accumulated_blood_volume : "/" }}
1968
-                      </div>
1969
-                    </div>
1970
-                  </div> -->
1971
-                  <div
1972
-                    class="row"
1973
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1974
-                  >
1975 1940
                     <div class="inline_block" style="flex: 1">
1976 1941
                       凝血程度:
1977 1942
                       <div
@@ -1985,6 +1950,10 @@
1985 1950
                         {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
1986 1951
                       </div>
1987 1952
                     </div>
1953
+                  </div>
1954
+                  <div class="row"
1955
+                    style="padding: 2px 0; line-height: 23px; display: flex"
1956
+                  >
1988 1957
                     <div class="inline_block" style="flex: 1"
1989 1958
                     >
1990 1959
                       内瘘:
@@ -2471,7 +2440,7 @@
2471 2440
         </div>
2472 2441
       </div>
2473 2442
     </div>
2474
-
2443
+      {{ 'dfasfdafssdfasfad',x_tdate }}
2475 2444
     <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
2476 2445
       <div class="order-yy-name">{{ orgname }}</div>
2477 2446
       <div class="order_title">血液净化科医嘱及执行单</div>
@@ -2603,7 +2572,7 @@
2603 2572
                     v-else
2604 2573
                   />
2605 2574
                 <!-- </span> -->
2606
-                
2575
+
2607 2576
               </td>
2608 2577
 
2609 2578
               <td height="32px">
@@ -2654,6 +2623,15 @@ import { jsPDF } from 'jspdf';
2654 2623
 export default {
2655 2624
   name: "dialysisPrintOrderSix",
2656 2625
   props: ["childResponse"],
2626
+  // props:{
2627
+  //   childResponse:{
2628
+  //     type: Object
2629
+  //   }
2630
+  //   ,
2631
+  //   x_tdate:{
2632
+  //     type:String
2633
+  //   }
2634
+  // },
2657 2635
   components: {
2658 2636
     // DialysisPrintOrderOne,
2659 2637
     // DialysisPrintOrderTwo,
@@ -3269,6 +3247,7 @@ export default {
3269 3247
         ? this.modeOptions[mode_id].name
3270 3248
         : "";
3271 3249
     },
3250
+    // 数据源
3272 3251
     getDialysisRecord() {
3273 3252
       this.loading = true;
3274 3253
 
@@ -3864,10 +3843,13 @@ export default {
3864 3843
         this.patientInfo_source_1 = false;
3865 3844
       }
3866 3845
     },
3867
-
3846
+    // "props.childResponse": function () {
3847
+    //   console.log('sdfasdfada',this.props.childResponse);
3848
+    // }
3868 3849
 
3869 3850
   },
3870 3851
   created() {
3852
+    console.log('dddddd',this.$parent.childResponse);
3871 3853
     this.way_arr = getDataConfig("hemodialysis", "way");
3872 3854
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
3873 3855
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
@@ -3877,6 +3859,7 @@ export default {
3877 3859
     this.intake_arr = getDataConfig("hemodialysis", "intake");
3878 3860
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
3879 3861
 
3862
+    console.log('childResponse',this.childResponse);
3880 3863
     var xtuser = this.$store.getters.xt_user;
3881 3864
     this.orgname = xtuser.org.org_name;
3882 3865
     // this.orgname = "遂溪方济医院";
@@ -3912,11 +3895,12 @@ export default {
3912 3895
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
3913 3896
         dialysateFormulationOptions[key];
3914 3897
     }
3915
-
3898
+    // this.getDialysisRecord();
3899
+    console.log('x_tdate',this.x_tdate);
3916 3900
     const xtdate = this.$route.query && this.$route.query.xtdate;
3917
-    // console.log("xtdate", xtdate);
3901
+    console.log("xtdate", xtdate);
3918 3902
     const xtno = this.$route.query && this.$route.query.xtno;
3919
-    // console.log("xtno", xtno);
3903
+    console.log("xtno", xtno);
3920 3904
     if (
3921 3905
       typeof xtdate === "string" &&
3922 3906
       xtdate.length > 0 &&

+ 81 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Datei anzeigen

@@ -725,7 +725,7 @@
725 725
                       <div
726 726
                         class="under_line"
727 727
                         style="
728
-                          bwidth: 150px;
728
+                          width: 150px;
729 729
                           text-align: center;
730 730
                           font-weight: 600;
731 731
                         "
@@ -736,7 +736,7 @@
736 736
                       <div
737 737
                         class="under_line"
738 738
                         style="
739
-                          bwidth: 150px;
739
+                          width: 150px;
740 740
                           text-align: center;
741 741
                           font-weight: 600;
742 742
                         "
@@ -746,8 +746,7 @@
746 746
                       </div>
747 747
                       <div
748 748
                         class="under_line"
749
-                        style="
750
-                          bwidth: 150px;
749
+                        style="width: 100px;
751 750
                           text-align: center;
752 751
                           font-weight: 600;
753 752
                         "
@@ -769,7 +768,7 @@
769 768
                       <div
770 769
                         class="under_line"
771 770
                         style="
772
-                          width: 150px;
771
+                          width: 100px;
773 772
                           text-align: center;
774 773
                           font-weight: 600;
775 774
                         "
@@ -777,6 +776,83 @@
777 776
                       >
778 777
                         血浆胆红素吸附+HP
779 778
                       </div>
779
+                      <div
780
+                        class="under_line"
781
+                        style="
782
+                          width: 100px;
783
+                          text-align: center;
784
+                          font-weight: 600;
785
+                        "
786
+                        v-if="prescription.mode_id == 31"
787
+                      >
788
+                       HDP
789
+                      </div>
790
+                      <div
791
+                        class="under_line"
792
+                        style="
793
+                          width: 100px;
794
+                          text-align: center;
795
+                          font-weight: 600;
796
+                        "
797
+                        v-if="prescription.mode_id == 32"
798
+                      >
799
+                      HDP
800
+                      </div>
801
+                      <div
802
+                        class="under_line"
803
+                        style="
804
+                          width: 100px;
805
+                          text-align: center;
806
+                          font-weight: 600;
807
+                        "
808
+                        v-if="prescription.mode_id == 33"
809
+                      >
810
+                      HFD
811
+                      </div>
812
+                      <div
813
+                        class="under_line"
814
+                        style="
815
+                          width: 100px;
816
+                          text-align: center;
817
+                          font-weight: 600;
818
+                        "
819
+                        v-if="prescription.mode_id == 34"
820
+                      >
821
+                      HDF100
822
+                      </div>
823
+                      <div
824
+                        class="under_line"
825
+                        style="
826
+                          width: 100px;
827
+                          text-align: center;
828
+                          font-weight: 600;
829
+                        "
830
+                        v-if="prescription.mode_id == 35"
831
+                      >
832
+                      HDF600
833
+                      </div>
834
+                      <div
835
+                        class="under_line"
836
+                        style="
837
+                          width: 100px;
838
+                          text-align: center;
839
+                          font-weight: 600;
840
+                        "
841
+                        v-if="prescription.mode_id == 36"
842
+                      >
843
+                      HDF800
844
+                      </div>
845
+                      <div
846
+                        class="under_line"
847
+                        style="
848
+                          width: 100px;
849
+                          text-align: center;
850
+                          font-weight: 600;
851
+                        "
852
+                        v-if="prescription.mode_id == 37"
853
+                      >
854
+                      HDF1000
855
+                      </div>
780 856
                     </div>
781 857
 
782 858
                     <div

+ 7 - 10
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue Datei anzeigen

@@ -110,8 +110,7 @@
110 110
             <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
111 111
             <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
112 112
             <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
113
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>&nbsp;
114
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>&nbsp;
113
+            <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp;
115 114
           </div>
116 115
           <div style="flex:1;">
117 116
             维持
@@ -124,8 +123,7 @@
124 123
             <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
125 124
             <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
126 125
             <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
127
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu/h</span>
128
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg/h</span>
126
+            <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>
129 127
           </div>
130 128
           <div style="flex:1;">
131 129
             总量:
@@ -138,15 +136,14 @@
138 136
             <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
139 137
             <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
140 138
             <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
141
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id!=9990&&org_id!=9675)">iu</span>
142
-            <span v-if="prescription.anticoagulant == '低分子肝素钠'&&(org_id==9990||org_id==9675)">mg</span>
139
+            <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
143 140
           </div>
144 141
         </div>
145 142
         <div style="display: flex;border-left: 1px solid black;border-right: 1px solid black;padding: 5px;">
146 143
           <div style="flex: 1;">
147 144
             处方脱水量
148 145
             <span class="under-line" style="display: inline-block;width: 50%;">
149
-              {{ prescription.prescription_water ? prescription.prescription_water : "" }}L
146
+              {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "/" }}L
150 147
             </span>
151 148
           </div>
152 149
           <div style="flex: 1;">
@@ -417,7 +414,7 @@
417 414
             </td>
418 415
             <td>
419 416
               <template
420
-              v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
417
+              v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time) "
421 418
               >
422 419
                 开始上机,引血100ml/min
423 420
               </template>
@@ -1293,12 +1290,12 @@ export default {
1293 1290
             if (Object.keys(monitor).length > 0 && index > 1) {
1294 1291
               if (
1295 1292
                 (this.dialysisOrder &&
1296
-                monitor.operate_time == this.dialysisOrder.end_time)&&(this.org_id!=10414)
1293
+                monitor.operate_time == this.dialysisOrder.end_time)
1297 1294
               ) {
1298 1295
                 this.monitors[index].end = "结束治疗,予下机";
1299 1296
                 tempmonitorflag = false;
1300 1297
               }
1301
-              if ((tempmonitorflag && index == this.monitors.length - 1)&&(this.org_id!=10414)) {
1298
+              if ((tempmonitorflag && index == this.monitors.length - 1)) {
1302 1299
                 this.monitors[index].end = "结束治疗,予下机";
1303 1300
               }
1304 1301
             }

+ 10 - 7
src/xt_pages/outpatientCharges/statementPrint.vue Datei anzeigen

@@ -20,7 +20,7 @@
20 20
           org_id == 10138 ||
21 21
           org_id == 9504 ||
22 22
           org_id == 10028 ||
23
-          org_id == 10278
23
+          org_id == 10278 
24 24
         "
25 25
       >
26 26
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
@@ -31,7 +31,7 @@
31 31
           v-if="org_id == 10138 || org_id == 10278  "
32 32
         ></printThree>
33 33
         <printFour
34
-          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 "
34
+          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 || org_id == 0 "
35 35
           :info="info"
36 36
           :paramsObj="paramsObj"
37 37
           :balanceAccounts="balanceAccounts"
@@ -54,19 +54,20 @@
54 54
       >
55 55
       </printSeven>
56 56
       <print10191 :info="info" v-if="org_id == 10191"></print10191>
57
-      <printTen :info="info" v-if="org_id == 10210"></printTen>
57
+      <printTen :info="info" v-if="org_id == 10210 "></printTen>
58 58
       <printEleven :info="info" v-if="org_id == 10485"></printEleven>
59 59
       <!-- 阜阳经沃   org_id != 0 && -->
60
-      <printtwelve :info="info" v-if="org_id == 10480 || org_id == 0 "></printtwelve>
60
+      <printtwelve :info="info" v-if="org_id == 10480 "></printtwelve>
61 61
       <!-- 大冶 -->
62 62
       <printthirteen :info="info" v-if="org_id == 10510"></printthirteen>
63
-
63
+      <!-- 广水原生堂 -->
64
+      <printfourteen :info="info" v-if="(org_id == 10088 || org_id == 0 ) && this.paramsObj.balance_accounts_type == 1"></printfourteen>
64 65
       <printOne :info="info" v-if=" org_id != 9990 &&
65 66
             org_id != 10138 &&
66 67
             org_id != 9504 &&
67 68
             org_id != 10028 &&
68 69
             org_id != 0 &&
69
-            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&org_id != 10510   && this.paramsObj.balance_accounts_type == 1">
70
+            org_id != 10278 && org_id != 10387 && org_id != 10191 &&org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&org_id != 10510 &&org_id != 10088 &&org_id != 0   && this.paramsObj.balance_accounts_type == 1">
70 71
       </printOne>
71 72
 
72 73
       <privateChargePrint :info="info" v-if="org_id != 9990 &&
@@ -99,6 +100,7 @@ import printTen from './statementTemplate/printTen'
99 100
 import printEleven from './statementTemplate/printeEleven'
100 101
 import printtwelve from './statementTemplate/printtwelve'
101 102
 import printthirteen from './statementTemplate/printthirteen'
103
+import printfourteen from './statementTemplate/printfourteen'
102 104
 export default {
103 105
   name: 'dialysisPrintOrder',
104 106
   components: {
@@ -115,7 +117,8 @@ export default {
115 117
     printTen,
116 118
     printEleven,
117 119
     printtwelve,
118
-    printthirteen
120
+    printthirteen,
121
+    printfourteen
119 122
   },
120 123
   props: {
121 124
     paramsObj: Object

+ 415 - 0
src/xt_pages/outpatientCharges/statementTemplate/printfourteen.vue Datei anzeigen

@@ -0,0 +1,415 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <!-- <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10188 || this.$store.getters.xt_user.org_id == 10217">江苏省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10387">湖南省社会医疗保险医疗费用结算单</div>
5
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10375">广西省社会医疗保险医疗费用结算单</div>
6
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10191">福建省社会医疗保险医疗费用结算单</div> -->
7
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10088">广水源生堂社会医疗保险医疗费用结算单</div>
8
+    <!-- <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id == 10510 || this.$store.getters.xt_user.org_id == 0">湖北省基本医疗保险门诊费用结算单</div>
9
+
10
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org_id != 10375 && this.$store.getters.xt_user.org_id != 10387 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 &&this.$store.getters.xt_user.org_id != 10088 &&this.$store.getters.xt_user.org_id != 10510 &&this.$store.getters.xt_user.org_id != 0">广东省社会医疗保险医疗费用结算单</div> -->
11
+
12
+    <table class="statementTable" border="1">
13
+      <tr>
14
+        <td width="80">机构名称</td>
15
+        <td colspan="4">{{info.fixmedins_name}}</td>
16
+        <td width="80">机构编码</td>
17
+        <td colspan="4">{{info.fixmedins_code}}</td>
18
+        <td width="100">医保结算级别</td>
19
+        <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
20
+        <td width="100" v-else-if="info.hosp_lv == '2'">三级甲等</td>
21
+        <td width="100" v-else-if="info.hosp_lv == '3'">三级乙等</td>
22
+        <td width="100" v-else-if="info.hosp_lv == '4'">三级丙等</td>
23
+        <td width="100" v-else-if="info.hosp_lv == '5'">二级甲等</td>
24
+        <td width="100" v-else-if="info.hosp_lv == '6'">二级乙等</td>
25
+        <td width="100" v-else-if="info.hosp_lv == '7'">二级丙等</td>
26
+        <td width="100" v-else-if="info.hosp_lv == '8'">一级甲等</td>
27
+        <td width="100" v-else-if="info.hosp_lv == '9'">一级乙等</td>
28
+        <td width="100" v-else-if="info.hosp_lv == '10'">一级丙等</td>
29
+        <td width="100" v-else-if="info.hosp_lv == '11'">无等级</td>
30
+        <td width="100" v-else></td>
31
+
32
+      </tr>
33
+      <tr>
34
+        <td width="70">就医登记号</td>
35
+        <td colspan="7">{{info.psn_no}}</td>
36
+        <td width="50">门诊号</td>
37
+        <td colspan="3">{{info.number}}</td>
38
+      </tr>
39
+      <tr>
40
+        <td width="80">姓名</td>
41
+        <td width="80">{{info.psn_name}}</td>
42
+        <td width="80">性别</td>
43
+        <td width="50" v-if="info.gend == '1'">男</td>
44
+        <td width="50" v-if="info.gend == '2'">女</td>
45
+
46
+        <td width="80">出生日期</td>
47
+        <td width="100">{{getBirth(info.certno)}}</td>
48
+        <td width="90">个人电脑号</td>
49
+        <td width="110"></td>
50
+        <td width="80">人员类别</td>
51
+        <td colspan="3" v-if="info.psn_type == '11'">在职</td>
52
+        <td colspan="3" v-else-if="info.psn_type == '1101'">职工在职</td>
53
+        <td colspan="3" v-else-if="info.psn_type == '1102'">公务员在职</td>
54
+        <td colspan="3" v-else-if="info.psn_type == '1103'">灵活就业人员在职</td>
55
+        <td colspan="3" v-else-if="info.psn_type == '1160'">地方其他扩展人员</td>
56
+
57
+
58
+        <td colspan="3" v-else-if="info.psn_type == '12'">退休人员</td>
59
+        <td colspan="3" v-else-if="info.psn_type == '1201'">职工退休</td>
60
+        <td colspan="3" v-else-if="info.psn_type == '1202'">公务员退休</td>
61
+        <td colspan="3" v-else-if="info.psn_type == '1203'">灵活就业人员退休</td>
62
+        <td colspan="3" v-else-if="info.psn_type == '1260'">地方其他扩展人员</td>
63
+
64
+
65
+        <td colspan="3" v-else-if="info.psn_type == '13'">离休</td>
66
+        <td colspan="3" v-else-if="info.psn_type == '1300'">离休人员</td>
67
+        <td colspan="3" v-else-if="info.psn_type == '1360'">地方其他扩展人员</td>
68
+
69
+        <td colspan="3" v-else-if="info.psn_type == '14'">居民(未成年)</td>
70
+        <td colspan="3" v-else-if="info.psn_type == '1401'">新生儿</td>
71
+        <td colspan="3" v-else-if="info.psn_type == '1402'">学龄前儿童</td>
72
+        <td colspan="3" v-else-if="info.psn_type == '1403'">中小学生</td>
73
+        <td colspan="3" v-else-if="info.psn_type == '1404'">大学生</td>
74
+        <td colspan="3" v-else-if="info.psn_type == '1405'">未成年(未入学)</td>
75
+
76
+
77
+        <td colspan="3" v-else-if="info.psn_type == '15'">居民(成年)</td>
78
+        <td colspan="3" v-else-if="info.psn_type == '1501'">普通居民(成年)</td>
79
+        <td colspan="3" v-else-if="info.psn_type == '1560'">地方其他扩展身份</td>
80
+
81
+        <td colspan="3" v-else-if="info.psn_type == '16'">居民(老年)</td>
82
+        <td colspan="4" v-else></td>
83
+
84
+
85
+      </tr>
86
+      <tr>
87
+        <td>单位名称</td>
88
+        <td colspan="5">{{info.emp_name}}</td>
89
+        <td width="80">联系电话</td>
90
+        <td width="110">{{info.patient.phone}}</td>
91
+        <td width="80">身份证号</td>
92
+        <td colspan="3">{{info.certno}}</td>
93
+      </tr>
94
+      <tr v-if="this.$store.getters.xt_user.org_id != 10387">
95
+        <td>住院号</td>
96
+        <td>{{info.number}}</td>
97
+        <td>科别</td>
98
+        <td width="100"></td>
99
+        <td>床号</td>
100
+        <td></td>
101
+        <td>入院日期</td>
102
+        <td>{{info.begndate ? info.begndate.split(' ')[0] : ''}}</td>
103
+        <td>出院日期</td>
104
+        <td width="100">{{info.enddate ? info.enddate.split(' ')[0] : ''}}</td>
105
+        <td>住院天数</td>
106
+        <td>{{getDay(info.begndate,info.enddate)}}</td>
107
+
108
+      </tr>
109
+      <tr>
110
+        <td>险种</td>
111
+        <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
112
+        <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
113
+        <td colspan="2" v-if="info.insutype == '330'">大额医疗费用补助</td>
114
+        <td colspan="2" v-if="info.insutype == '340'">离休人员医疗保障</td>
115
+        <td colspan="2" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
116
+        <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
117
+        <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
118
+
119
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">入院第一诊断</td>
120
+        <td v-else>病种名称</td>
121
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="3">{{info.dise_name}}</td>
122
+        <td v-else colspan="3">{{'慢性肾功能衰竭'}}</td>
123
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217">出院第一诊断</td>
124
+        <td v-else>病种编码</td>
125
+        <td v-if="this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217" colspan="6">{{info.dise_name}}</td>
126
+        <td v-else colspan="6">{{'M07800'}}</td>
127
+      </tr>
128
+      <tr>
129
+        <td>业务类别</td>
130
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
131
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
132
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
133
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
134
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
135
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
136
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
137
+
138
+        <td>结算时间</td>
139
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</td>
140
+      </tr>
141
+      <tr>
142
+        <td colspan="12" style="text-align:left;padding-left:10px;">
143
+          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.new_order.psn_cash_pay}}元。
144
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{(info.new_order.psn_cash_pay - info.preselfpay_amt).toFixed(2)}} )
145
+        </td>
146
+      </tr>
147
+      <tr>
148
+        <td>费用名称</td>
149
+        <td colspan="2">总费用</td>
150
+        <td>自费</td>
151
+        <td colspan="2">部分项目自付</td>
152
+        <td>费用名称</td>
153
+        <td colspan="2">总费用</td>
154
+        <td>自费</td>
155
+        <td colspan="2">部分项目自付</td>
156
+      </tr>
157
+      <tr>
158
+        <td>床位费</td>
159
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total}}</td>
160
+        <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total}}</td>
161
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total}}</td>
162
+        <td>西成药</td>
163
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
164
+        <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
165
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
166
+      </tr>
167
+      <tr>
168
+        <td>中药费</td>
169
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
170
+        <td style="text-align:right;padding-right:10px;">0</td>
171
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
172
+        <td>中成药</td>
173
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}
174
+        </td>
175
+        <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
176
+        <td colspan="2" style="text-align:right;padding-right:10px;">
177
+          {{info.chinese_traditional_medicine_cost_part_self_total}}
178
+        </td>
179
+      </tr>
180
+      <tr>
181
+        <td>中草药</td>
182
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
183
+        <td style="text-align:right;padding-right:10px;">0</td>
184
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
185
+        <td>检查费</td>
186
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
187
+        <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
188
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
189
+      </tr>
190
+      <tr>
191
+        <td>治疗费</td>
192
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
193
+        <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
194
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
195
+        <td>放射费</td>
196
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
197
+        <td style="text-align:right;padding-right:10px;">0</td>
198
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
199
+      </tr>
200
+      <tr>
201
+        <td>手术费</td>
202
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
203
+        <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
204
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
205
+        <td>化验费</td>
206
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
207
+        <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
208
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
209
+      </tr>
210
+      <tr>
211
+        <td>输血费</td>
212
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
213
+        <td style="text-align:right;padding-right:10px;">0</td>
214
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
215
+        <td>输氧费</td>
216
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
217
+        <td style="text-align:right;padding-right:10px;">0</td>
218
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
219
+      </tr>
220
+      <tr>
221
+        <td>其他</td>
222
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
223
+        <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
224
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
225
+        <td>麻醉费</td>
226
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
227
+        <td style="text-align:right;padding-right:10px;">0</td>
228
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
229
+      </tr>
230
+      <tr>
231
+        <td>材料费</td>
232
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
233
+        <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
234
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
235
+        <td>特殊检查费</td>
236
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
237
+        <td style="text-align:right;padding-right:10px;">0</td>
238
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
239
+      </tr>
240
+      <tr>
241
+        <td>特殊治疗费</td>
242
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
243
+        <td style="text-align:right;padding-right:10px;">0</td>
244
+        <td colspan="2" style="text-align:right;padding-right:10px;">0</td>
245
+        <td style="text-align:right;padding-right:10px;"></td>
246
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
247
+        <td style="text-align:right;padding-right:10px;"></td>
248
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
249
+      </tr>
250
+      <tr>
251
+        <td>合计</td>
252
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_total) +
253
+          parseFloat(info.operation_cost_total) + parseFloat(info.other_cost_total) +
254
+          parseFloat(info.material_cost_total) + parseFloat(info.western_medicine_cost_total) +
255
+          parseFloat(info.chinese_traditional_medicine_cost_total) + parseFloat(info.check_cost_total) +
256
+          parseFloat(info.laboratory_cost_total) + parseFloat(info.treat_cost_total)).toFixed(2) }}
257
+        </td>
258
+        <td style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_self_total )+
259
+          parseFloat(info.operation_cost_self_total) + parseFloat(info.other_cost_self_total) +
260
+          parseFloat(info.material_cost_self_total) + parseFloat(info.western_medicine_cost_self_total) +
261
+          parseFloat(info.chinese_traditional_medicine_cost_self_total) + parseFloat(info.check_cost_self_total) +
262
+          parseFloat(info.laboratory_cost_self_total) + parseFloat(info.treat_cost_self_total)).toFixed(2)}}
263
+        </td>
264
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{(parseFloat(info.bed_cost_part_self_total) +
265
+          parseFloat(info.operation_cost_part_self_total) + parseFloat(info.other_cost_part_self_total) +
266
+          parseFloat(info.material_cost_part_self_total) + parseFloat(info.western_medicine_cost_part_self_total) +
267
+          parseFloat(info.chinese_traditional_medicine_cost_part_self_total) +
268
+          parseFloat(info.check_cost_part_self_total) + parseFloat(info.laboratory_cost_part_self_total) +
269
+          parseFloat(info.treat_cost_part_self_total)).toFixed(2)}}
270
+        </td>
271
+
272
+        <td>报销比例</td>
273
+        <td colspan="2" style="text-align:right;padding-right:10px;">{{info.new_order.pool_prop_selfpay}}</td>
274
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
275
+        <td colspan="2" style="text-align:right;padding-right:10px;"></td>
276
+      </tr>
277
+
278
+      <tr>
279
+        <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
280
+        <td colspan="3">{{info.hifp_pay}}</td>
281
+        <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
282
+        <td colspan="3">{{info.hifob_pay}}</td>
283
+      </tr>
284
+      <tr>
285
+        <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
286
+        <td colspan="3">{{info.hifmi_pay}}</td>
287
+        <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
288
+        <td colspan="3">{{info.hifes_pay}}</td>
289
+      </tr>
290
+      <tr>
291
+        <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
292
+        <td colspan="3">{{info.maf_pay}}</td>
293
+        <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
294
+        <td colspan="3">{{info.cvlserv_pay}}</td>
295
+      </tr>
296
+      <tr>
297
+        <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
298
+        <td colspan="3">{{info.oth_pay}}</td>
299
+        <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
300
+        <td colspan="3">{{info.acct_pay}}</td>
301
+      </tr>
302
+      <tr>
303
+        <td>收款人:</td>
304
+        <td colspan="2">{{info.charge_admin.user_name}}</td>
305
+        <td>审核人:</td>
306
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id == 10106">{{'梅晓辉'}}</td>
307
+        <td colspan="2" v-if="this.$store.getters.xt_user.org_id != 10106">{{info.p_admin.user_name}}</td>
308
+
309
+        <td>制单人:</td>
310
+        <td colspan="2">{{info.p_admin.user_name}}</td>
311
+        <td>打印日期</td>
312
+        <td colspan="2">{{getNowTime()}}</td>
313
+      </tr>
314
+      <tr>
315
+        <td colspan="12" style="text-align:left;padding-left:10px;line-height:20px;">
316
+          注: 1、部分项目自付金额是指基本医疗保险范围内的项目需参保人先按规定比例自付的金额。<br/>
317
+          &ensp;&ensp;&ensp;2、此表由医院打印。<br/>
318
+          &ensp;&ensp;&ensp;3、此表一式两份,医院、参保人各一份。
319
+        </td>
320
+      </tr>
321
+      <tr>
322
+        <td colspan="12" style="text-align:left;padding-left:10px;">
323
+          病人家属签字:
324
+        </td>
325
+      </tr>
326
+    </table>
327
+  </div>
328
+</template>
329
+<script>
330
+  export default {
331
+    props: {
332
+      info: {
333
+        type: Object,
334
+        default: function() {
335
+          return {}
336
+        }
337
+      }, p_admin: {
338
+        type: Object,
339
+        default: function() {
340
+          return {}
341
+        }
342
+      }, charge_admin: {
343
+        type: Object,
344
+        default: function() {
345
+          return {}
346
+        }
347
+      }
348
+    },methods:{
349
+      getBirth(idNo){
350
+        var year = idNo.substring(6, 10);
351
+        var month = idNo.substring(10, 12);
352
+        var day = idNo.substring(12, 14);
353
+        return  year + '-' + month + '-' + day;
354
+      },
355
+      getDay(dateString1,dateString2){
356
+          var  startDate = Date.parse(dateString1);
357
+          var  endDate = Date.parse(dateString2);
358
+          if (startDate>endDate){
359
+            return 0;
360
+          }
361
+          if (startDate==endDate){
362
+            return 1;
363
+          }
364
+          var days=(endDate - startDate)/(1*24*60*60*1000);
365
+          return  days;
366
+
367
+        },
368
+      getNowTime: function () {
369
+        let dateTime;
370
+        let yy = new Date().getFullYear();
371
+        let mm = new Date().getMonth() + 1;
372
+        let dd = new Date().getDate();
373
+        let hh = new Date().getHours();
374
+        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
375
+          :
376
+          new Date().getMinutes();
377
+        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
378
+          :
379
+          new Date().getSeconds();
380
+        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss;
381
+        return dateTime
382
+      },
383
+
384
+    }
385
+  }
386
+
387
+
388
+</script>
389
+
390
+
391
+<style lang="scss" scoped>
392
+  .statement-print {
393
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
394
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
395
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
396
+    margin-bottom: 20px;
397
+    padding: 20px 10px;
398
+  }
399
+
400
+  .statementTitle {
401
+    font-size: 28px;
402
+    text-align: center;
403
+    font-weight: bold;
404
+    margin-bottom: 10px;
405
+  }
406
+
407
+  .statementTable {
408
+    width: 100%;
409
+    text-align: center;
410
+    border-collapse: collapse;
411
+    line-height: 40px;
412
+    font-size: 16px;
413
+    border-color: #000;
414
+  }
415
+</style>

+ 15 - 15
src/xt_pages/outpatientCharges/summary.vue Datei anzeigen

@@ -3862,22 +3862,22 @@ export default {
3862 3862
     },
3863 3863
     searchAction() {
3864 3864
       this.page = 1
3865
-      const tableData = this.tableData
3866
-      if (this.keywords.length == 0) {
3867
-        this.getHisOrderList()
3868
-      } else {
3869
-        console.log('6666666',tableData);
3870
-        let arr = []
3871
-        for (let i = 0; i < tableData.length; i++) {
3865
+      // const tableData = this.tableData
3866
+      // if (this.keywords.length == 0) {
3867
+      //   this.getHisOrderList()
3868
+      // } else {
3869
+      //   console.log('6666666',tableData);
3870
+      //   let arr = []
3871
+      //   for (let i = 0; i < tableData.length; i++) {
3872 3872
           
3873
-          if (tableData[i].patient.name.indexOf(this.keywords) != -1 || 
3874
-            tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
3875
-            arr = arr.concat(tableData[i])
3876
-          }
3877
-        }
3878
-        this.tableData = arr
3879
-      }
3880
-      // this.getHisOrderList()
3873
+      //     if (tableData[i].patient.name.indexOf(this.keywords) != -1 || 
3874
+      //       tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
3875
+      //       arr = arr.concat(tableData[i])
3876
+      //     }
3877
+      //   }
3878
+      //   this.tableData = arr
3879
+      // }
3880
+      this.getHisOrderList()
3881 3881
     },
3882 3882
     getTimes(time) {
3883 3883
       return uParseTime(time, '{y}-{m}-{d}')

+ 114 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Datei anzeigen

@@ -382,16 +382,15 @@
382 382
                 <div class="printCell" style="display:flex;justify-content: space-around;">
383 383
                   <span
384 384
                     style="display: block;width: 50%;">干体重:{{ main_collection.assessmentbefor.dry_weight }}Kg</span>
385
-                  <span
386
-                    style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : '' }}</span>
387
-
385
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : '' }}</span>
386
+                  <span style="display: block;width: 50%;" v-if="org_id==10598">抗凝剂:{{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : '' }}</span>
388 387
                 </div>
389 388
                 <div class="printCell" style="display:flex;justify-content: space-around;">
390 389
                   <span style="display: block;width: 50%;">净重值:{{
391 390
                       main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight
392 391
                     }}Kg</span>
393 392
 
394
-                  <span style="display: block;width: 50%;">
393
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
395 394
                     首剂: <span
396 395
                     v-if="main_collection.dialysissolution.anticoagulant == 1">{{ main_collection.dialysissolution.anticoagulant_shouji }} mg</span>
397 396
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
@@ -424,14 +423,49 @@
424 423
                   <span v-if="main_collection.dialysissolution.anticoagulant == 11">
425 424
                     {{ main_collection.dialysissolution.anticoagulant_shouji }}iu
426 425
                    </span>
426
+                  </span>
427
+
428
+                   <span style="display: block;width: 50%;" v-if="org_id==10598">
429
+                    首剂: <span
430
+                    v-if="main_collection.prescription.anticoagulant == 1">{{ main_collection.prescription.anticoagulant_shouji }} mg</span>
431
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
432
+                    {{ main_collection.prescription.anticoagulant_shouji }}mg
433
+                  </span>
434
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
435
+                    {{ main_collection.prescription.anticoagulant_shouji }}iu
436
+                  </span>
437
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
438
+                   {{ main_collection.prescription.anticoagulant_shouji }}mg
439
+                  </span>
440
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
441
+                   {{ main_collection.prescription.anticoagulant_shouji }} mg
442
+                   </span>
443
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
444
+                   {{ main_collection.prescription.anticoagulant_shouji }}iu
445
+                  </span>
446
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
447
+                    {{ main_collection.prescription.anticoagulant_shouji }}iu
448
+                   </span>
449
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
450
+                    {{ main_collection.prescription.anticoagulant_shouji }}iu
451
+                  </span>
452
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
453
+                    {{ main_collection.prescription.anticoagulant_shouji }}iu
454
+                  </span>
455
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
456
+                     {{ main_collection.prescription.anticoagulant_shouji }}iu
427 457
                     </span>
458
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
459
+                    {{ main_collection.prescription.anticoagulant_shouji }}iu
460
+                   </span>
461
+                  </span>
428 462
 
429 463
                 </div>
430 464
                 <div class="printCell" style="display:flex;justify-content: space-around;">
431 465
                   <span style="display: block;width: 50%;">体重增加:{{
432 466
                       (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2)
433 467
                     }}Kg</span>
434
-                  <span style="display: block;width: 50%;">
468
+                  <span style="display: block;width: 50%;" v-if="org_id!=10598">
435 469
                      维持:{{ main_collection.dialysissolution.anticoagulant_weichi }}
436 470
                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
437 471
                     mg/h
@@ -468,6 +502,43 @@
468 502
                    </span>
469 503
                   </span>
470 504
 
505
+                  <span style="display: block;width: 50%;" v-if="org_id ==10598">
506
+                     维持:{{ main_collection.prescription.anticoagulant_weichi }}
507
+                   <span v-if="main_collection.prescription.anticoagulant == 1">
508
+                    mg/h
509
+                  </span>
510
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
511
+                    mg/h
512
+                  </span>
513
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
514
+                   iu/h
515
+                  </span>
516
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
517
+                    mg/h
518
+                  </span>
519
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
520
+                    mg/h
521
+                   </span>
522
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
523
+                   iu/h
524
+                  </span>
525
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
526
+                   iu/h
527
+                   </span>
528
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
529
+                    iu/h
530
+                  </span>
531
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
532
+                    iu/h
533
+                  </span>
534
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
535
+                    iu/h
536
+                    </span>
537
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
538
+                    iu/h
539
+                   </span>
540
+                  </span>
541
+
471 542
                 </div>
472 543
                 <div class="printCell" style="display:flex;justify-content: space-around;">
473 544
                   <span style="display: block;width: 50%;">处方脱水量:{{
@@ -477,7 +548,7 @@
477 548
                       v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
478 549
                     <span v-else>L</span>
479 550
                     </span>
480
-                  <span style="display: block;width: 50%;">
551
+                  <span style="display: block;width: 50%;"  v-if="org_id!=10598">
481 552
                     总量:{{ main_collection.dialysissolution.anticoagulant_zongliang }}
482 553
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
483 554
                     mg
@@ -513,6 +584,43 @@
513 584
                    iu
514 585
                    </span>
515 586
                   </span>
587
+
588
+                  <span style="display: block;width: 50%;" v-if="org_id ==10598">
589
+                    总量:{{ main_collection.prescription.anticoagulant_zongliang }}
590
+                  <span v-if="main_collection.prescription.anticoagulant == 1">
591
+                    mg
592
+                  </span>
593
+                  <span v-if="main_collection.prescription.anticoagulant == 2">
594
+                    mg
595
+                  </span>
596
+                  <span v-if="main_collection.prescription.anticoagulant == 3">
597
+                    iu
598
+                  </span>
599
+                  <span v-if="main_collection.prescription.anticoagulant == 4">
600
+                   mg
601
+                  </span>
602
+                  <span v-if="main_collection.prescription.anticoagulant == 5">
603
+                    mg
604
+                   </span>
605
+                  <span v-if="main_collection.prescription.anticoagulant == 6">
606
+                   iu
607
+                  </span>
608
+                  <span v-if="main_collection.prescription.anticoagulant == 7">
609
+                    iu
610
+                   </span>
611
+                  <span v-if="main_collection.prescription.anticoagulant == 8">
612
+                     iu
613
+                  </span>
614
+                  <span v-if="main_collection.prescription.anticoagulant == 9">
615
+                   iu
616
+                  </span>
617
+                  <span v-if="main_collection.prescription.anticoagulant == 10">
618
+                    iu
619
+                    </span>
620
+                  <span v-if="main_collection.prescription.anticoagulant == 11">
621
+                   iu
622
+                   </span>
623
+                  </span>
516 624
                 </div>
517 625
               </div>
518 626
             </div>

+ 29 - 20
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Datei anzeigen

@@ -438,7 +438,7 @@ export default {
438 438
               list[i].drugAddOne= 0
439 439
               list[i].drugOutOne =0
440 440
               
441
-              if(this.org_id ==10210 || this.org_id==0){
441
+              if(this.org_id ==10210 || this.org_id==0 || this.org_id ==10402){
442 442
                  list[i].drugIn = this.GetDrugStartFlow(list[i].DrugStatFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit) 
443 443
               }else{
444 444
                 list[i].drugIn = this.GetInitStartFlow(list[i].new_drug_in_flow_info,list[i].new_drug_profit_flow_info,list[i].new_drug_out_flow_info,list[i].new_drug_no_profit_flow_info,list[i].new_drug_cancel_flow_info,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -463,7 +463,7 @@ export default {
463 463
               list[i].drugOutSalePrice = "/"
464 464
 
465 465
          
466
-            if(this.org_id == 10265 || this.org_id ==10210 || this.org_id==0){
466
+            if(this.org_id == 10265 || this.org_id ==10210 || this.org_id==10402){
467 467
               list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
468 468
             }else{
469 469
               list[i].overDrug = this.GetDrugOver(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -1508,26 +1508,31 @@ export default {
1508 1508
       console.log("盘亏",total_four)
1509 1509
       console.log("退库",total_five)
1510 1510
       var total = total_one + total_two -total_three-total_four + total_five
1511
-      if (total < min_number) {
1511
+      if (total <=0) {
1512
+        return 0
1513
+      }else{
1514
+        if (total < min_number) {
1512 1515
           min_str = total + min_unit;
1513 1516
         }
1514
-        if (total == 0) {
1515
-          min_str = "";
1516
-          max_str = "";
1517
-        }
1518
-        if (total >= min_number) {
1519
-          if (parseInt(total / min_number) != 0) {
1520
-            max_str = parseInt(total / min_number) + max_unit;
1521
-          }
1522
-          if (total % min_number != 0) {
1523
-            min_str = (total % min_number) + min_unit;
1517
+          if (total == 0) {
1518
+            min_str = "";
1519
+            max_str = "";
1524 1520
           }
1521
+          if (total >= min_number) {
1522
+            if (parseInt(total / min_number) != 0) {
1523
+              max_str = parseInt(total / min_number) + max_unit;
1524
+            }
1525
+            if (total % min_number != 0) {
1526
+              min_str = (total % min_number) + min_unit;
1527
+            }
1528
+        }
1529
+        if(max_str == "" && min_str == ""){
1530
+          return "0"
1531
+        }else{
1532
+          return max_str + min_str;
1533
+        }
1525 1534
       }
1526
-      if(max_str == "" && min_str == ""){
1527
-        return "0"
1528
-      }else{
1529
-        return max_str + min_str;
1530
-      }
1535
+     
1531 1536
     },
1532 1537
     GetInitStartFlowOne(val1,val2,val3,val4,val5,min_number,min_unit,max_unit){
1533 1538
       var total_one =0
@@ -1573,8 +1578,12 @@ export default {
1573 1578
       console.log("盘亏",total_four)
1574 1579
       console.log("退库",total_five)
1575 1580
       var total = total_one + total_two -total_three-total_four + total_five
1576
-      
1577
-      return total
1581
+      if(total>0){
1582
+        return total
1583
+      }else{
1584
+        return 0
1585
+      }
1586
+     
1578 1587
     }
1579 1588
   }
1580 1589
 }

+ 29 - 19
src/xt_pages/stock/drugs/components/purchaseNewDrugQueryPrint.vue Datei anzeigen

@@ -347,7 +347,7 @@ export default {
347 347
                 list[i].drugAddOne= 0
348 348
                 list[i].drugOutOne =0
349 349
                
350
-                if(this.org_id ==10210){
350
+                if(this.org_id ==10210 || this.org_id ==10402){
351 351
                    list[i].drugIn = this.GetDrugStartFlow(list[i].DrugStatFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit) 
352 352
                 }else{
353 353
                   list[i].drugIn = this.GetInitStartFlow(list[i].new_drug_in_flow_info,list[i].new_drug_profit_flow_info,list[i].new_drug_out_flow_info,list[i].new_drug_no_profit_flow_info,list[i].new_drug_cancel_flow_info,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -371,7 +371,7 @@ export default {
371 371
                 list[i].drugOutSalePrice = "/"
372 372
 
373 373
                
374
-                if(this.org_id ==10265 || this.org_id ==10210){
374
+                if(this.org_id ==10265 || this.org_id ==10210 || this.org_id ==10402){
375 375
                   list[i].overDrug = this.GetDrugEndFlow(list[i].DrugEndFlow.over_count,list[i].min_number,list[i].min_unit,list[i].max_unit)
376 376
                 }else{
377 377
                   list[i].overDrug = this.GetDrugOver(list[i].over_count_one,list[i].drugAddOne,list[i].drugOutOne,list[i].min_number,list[i].min_unit,list[i].max_unit)
@@ -1341,26 +1341,32 @@ export default {
1341 1341
       }  
1342 1342
     
1343 1343
       var total = total_one + total_two -total_three-total_four + total_five
1344
-      if (total < min_number) {
1344
+
1345
+      if (total >0) {
1346
+        if (total < min_number) {
1345 1347
           min_str = total + min_unit;
1346 1348
         }
1347
-        if (total == 0) {
1348
-          min_str = "";
1349
-          max_str = "";
1350
-        }
1351
-        if (total >= min_number) {
1352
-          if (parseInt(total / min_number) != 0) {
1353
-            max_str = parseInt(total / min_number) + max_unit;
1354
-          }
1355
-          if (total % min_number != 0) {
1356
-            min_str = (total % min_number) + min_unit;
1349
+          if (total == 0) {
1350
+            min_str = "";
1351
+            max_str = "";
1357 1352
           }
1358
-      }
1359
-      if(max_str == "" && min_str == ""){
1360
-        return "0"
1353
+          if (total >= min_number) {
1354
+            if (parseInt(total / min_number) != 0) {
1355
+              max_str = parseInt(total / min_number) + max_unit;
1356
+            }
1357
+            if (total % min_number != 0) {
1358
+              min_str = (total % min_number) + min_unit;
1359
+            }
1360
+        }
1361
+        if(max_str == "" && min_str == ""){
1362
+          return "0"
1363
+        }else{
1364
+          return max_str + min_str;
1365
+        }
1361 1366
       }else{
1362
-        return max_str + min_str;
1367
+        return 0
1363 1368
       }
1369
+    
1364 1370
     },
1365 1371
     GetInitStartFlowOne(val1,val2,val3,val4,val5,min_number,min_unit,max_unit){
1366 1372
       var total_one =0
@@ -1402,8 +1408,12 @@ export default {
1402 1408
       }  
1403 1409
      
1404 1410
       var total = total_one + total_two -total_three-total_four + total_five
1405
-      
1406
-      return total
1411
+       if (total > 0) {
1412
+         return total
1413
+       }else{
1414
+         return 0
1415
+       }
1416
+     
1407 1417
     }
1408 1418
    },
1409 1419
     created(){

+ 3 - 0
src/xt_pages/stock/query/purchaseNewStockQuery.vue Datei anzeigen

@@ -269,6 +269,9 @@ export default {
269 269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270 270
               }else{
271 271
                 list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
272
+                if(list[i].stockIn <0){
273
+                  list[i].stockIn =0
274
+                }
272 275
               }
273 276
               //  list[i].stockIn = list[i].GoodStartFlowInfo.over_count
274 277
                list[i].stock_in_price = "/"

+ 3 - 0
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue Datei anzeigen

@@ -173,6 +173,9 @@ export default {
173 173
                        list[i].stockIn = list[i].GoodStartFlowInfo.over_count
174 174
                     }else{
175 175
                        list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
176
+                       if(list[i].stockIn <0){
177
+                         list[i].stockIn =0
178
+                       }
176 179
                     }
177 180
                     list[i].stock_in_price = "/"
178 181
                     list[i].stockMoney = "/"

+ 2 - 3
src/xt_pages/user/components/PatientDetail.vue Datei anzeigen

@@ -1225,9 +1225,8 @@
1225 1225
               <div class="proj">
1226 1226
                 <span class="proj_title">日期:</span>
1227 1227
                
1228
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0">{{
1229
-                  getTime(patientPrint.created_time)
1230
-                }}</span>
1228
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1229
+                {{getTime(patientPrint.created_time)}}</span>
1231 1230
                 <span v-else>{{ printDate }}</span>
1232 1231
               
1233 1232
               </div>

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue Datei anzeigen

@@ -204,68 +204,68 @@ export default {
204 204
             },
205 205
           ]
206 206
         },
207
-        // {
208
-        //   name: '5',
209
-        //   label: '评估工具',
210
-        //   children: [
211
-        //     {
212
-        //       name: '5-1',
213
-        //       label: '跌倒评估'
214
-        //     },
215
-        //     {
216
-        //       name: '5-2',
217
-        //       label: '小儿跌倒风险评估'
218
-        //     },
219
-        //     {
220
-        //       name: '5-3',
221
-        //       label: '压疮风险评估'
222
-        //     },
223
-        //     {
224
-        //       name: '5-4',
225
-        //       label: 'OH压疮评估'
226
-        //     },
227
-        //     {
228
-        //       name: '5-5',
229
-        //       label: '日常生活能力评估'
230
-        //     },
231
-        //     {
232
-        //       name: '5-6',
233
-        //       label: '导管脱落风险评估'
234
-        //     },
235
-        //     {
236
-        //       name: '5-7',
237
-        //       label: 'RASS及疼痛评估'
238
-        //     },
239
-        //     {
240
-        //       name: '5-8',
241
-        //       label: '营养状况评估'
242
-        //     },
243
-        //     {
244
-        //       name: '5-9',
245
-        //       label: '约束告知单'
246
-        //     },
247
-        //     {
248
-        //       name: '5-10',
249
-        //       label: '心理评估'
250
-        //     },
251
-        //     {
252
-        //       name: '5-11',
253
-        //       label: '瘙痒评估'
254
-        //     },
255
-        //     {
256
-        //       name: '5-12',
257
-        //       label: '血液透析患者评估'
258
-        //     },
259
-        //     {
260
-        //       name: '5-13',
261
-        //       label: 'Glasgow昏迷评分量表'
262
-        //     },
263
-        //     {
264
-        //       name: '5-14',
265
-        //       label: '肌力评估表'
266
-        //     },
267
-        //   ]
268
-        // },
207
+        {
208
+          name: '5',
209
+          label: '评估工具',
210
+          children: [
211
+            {
212
+              name: '5-1',
213
+              label: '跌倒评估'
214
+            },
215
+            {
216
+              name: '5-2',
217
+              label: '小儿跌倒风险评估'
218
+            },
219
+            {
220
+              name: '5-3',
221
+              label: '压疮风险评估'
222
+            },
223
+            {
224
+              name: '5-4',
225
+              label: 'OH压疮评估'
226
+            },
227
+            {
228
+              name: '5-5',
229
+              label: '日常生活能力评估'
230
+            },
231
+            {
232
+              name: '5-6',
233
+              label: '导管脱落风险评估'
234
+            },
235
+            {
236
+              name: '5-7',
237
+              label: 'RASS及疼痛评估'
238
+            },
239
+            {
240
+              name: '5-8',
241
+              label: '营养状况评估'
242
+            },
243
+            {
244
+              name: '5-9',
245
+              label: '约束告知单'
246
+            },
247
+            {
248
+              name: '5-10',
249
+              label: '心理评估'
250
+            },
251
+            {
252
+              name: '5-11',
253
+              label: '瘙痒评估'
254
+            },
255
+            {
256
+              name: '5-12',
257
+              label: '血液透析患者评估'
258
+            },
259
+            {
260
+              name: '5-13',
261
+              label: 'Glasgow昏迷评分量表'
262
+            },
263
+            {
264
+              name: '5-14',
265
+              label: '肌力评估表'
266
+            },
267
+          ]
268
+        },
269 269
         {
270 270
           name: '6',
271 271
           label: '文书管理',

+ 556 - 184
src/xt_pages/user/evaluationtool/Fallassessment.vue Datei anzeigen

@@ -32,7 +32,7 @@
32 32
                       <td>
33 33
                         <div class="jiange">
34 34
                           <span v-for="item in nianlin" class="rightjiange" @change="handleCheckedCitiesChange">
35
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
35
+                            <label><input type="checkbox" name="ball" :value="item.content" v-model="item.age_check"/>&nbsp;{{ item.content }}</label>
36 36
                           </span>
37 37
                         </div>
38 38
 
@@ -42,8 +42,8 @@
42 42
                       <td class="start">既往史</td>
43 43
                       <td>
44 44
                         <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
45
-                          <span  v-for="item in jiwnag" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
46
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
45
+                          <span  v-for="item in jiwang" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
46
+                            <label><input type="checkbox" name="ball" :value="item.content"  v-model="item.jiwang_check"/>&nbsp;{{ item.content }}</label>
47 47
                           </span>
48 48
                         </div>
49 49
                       </td>
@@ -53,7 +53,7 @@
53 53
                       <td>
54 54
                         <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
55 55
                           <span v-for="item in yishizt" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
56
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
56
+                            <label><input type="checkbox" name="ball" :value="item.content"  v-model="item.yishizt_check"/>&nbsp;{{ item.content }}</label>
57 57
                           </span>
58 58
                         </div>
59 59
                       </td>
@@ -63,7 +63,7 @@
63 63
                       <td>
64 64
                         <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
65 65
                           <span v-for="item in ganguan" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
66
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
66
+                            <label><input type="checkbox" name="ball" :value="item.content" v-model="item.ganguan_check"/>&nbsp;{{ item.content }}</label>
67 67
                           </span>
68 68
                         </div>
69 69
                       </td>
@@ -73,7 +73,7 @@
73 73
                       <td>
74 74
                         <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
75 75
                           <span v-for="item in shentizk" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
76
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
76
+                            <label><input type="checkbox" name="ball" :value="item.content" v-model="item.shentizk_check"/>&nbsp;{{ item.content }}</label>
77 77
                           </span>
78 78
                         </div>
79 79
                       </td>
@@ -83,7 +83,7 @@
83 83
                       <td>
84 84
                         <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
85 85
                           <span v-for="item in syyaowu" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
86
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
86
+                            <label><input type="checkbox" name="ball" :value="item.content"  v-model="item.syyaowu_check"/>&nbsp;{{ item.content }}</label>
87 87
                           </span>
88 88
                         </div>
89 89
                       </td>
@@ -93,7 +93,7 @@
93 93
                       <td>
94 94
                         <div class="jiange">
95 95
                           <span v-for="item in paixie" class="rightjiange" @change="handleCheckedCitiesChange">
96
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
96
+                            <label><input type="checkbox" name="ball" :value="item.content" v-model="item.paixie_check" />&nbsp;{{ item.content }}</label>
97 97
                           </span>
98 98
                         </div>
99 99
 
@@ -104,7 +104,7 @@
104 104
                       <td>
105 105
                         <div class="jiange">
106 106
                           <span v-for="item in zilinl" class="rightjiange" @change="handleCheckedCitiesChange">
107
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
107
+                            <label><input type="checkbox" name="ball" :value="item.content" v-model="item.zilinl_check"/>&nbsp;{{ item.content }}</label>
108 108
                           </span>
109 109
                         </div>
110 110
 
@@ -131,7 +131,7 @@
131 131
                       <td>
132 132
                         <div class="jiange">
133 133
                           <span v-for="item in xiaoguo" class="rightjiange">
134
-                            <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item }}</label>
134
+                            <label><input type="checkbox" name="ball" value="volleyball" v-model="item.xiaoguo_check" />&nbsp;{{ item.content }}</label>
135 135
                           </span>
136 136
                         </div>
137 137
                       </td>
@@ -143,26 +143,28 @@
143 143
                 <div>
144 144
                   <span>评估日期:</span>
145 145
                   <el-date-picker
146
-                    v-model="pingdate"
146
+                    v-model="record_date"
147 147
                     type="date"
148 148
                     placeholder="选择日期"
149 149
                     :clearable="false"
150
+                    format="yyyy-MM-dd"
151
+                    value-format="yyyy-MM-dd"
150 152
                     style="width: 150px;">
151 153
                   </el-date-picker>
152 154
                 </div>
153 155
                 <div>
154 156
                   <span>护士:</span>
155
-                  <el-select v-model="Nurse" placeholder="请选择" style="width:120px;">
157
+                  <el-select v-model="admin_user_id" placeholder="请选择" style="width:120px;">
156 158
                     <el-option
157
-                      v-for="item in options"
158
-                      :key="item.value"
159
-                      :label="item.label"
160
-                      :value="item.value"
159
+                      v-for="item in nurseList"
160
+                      :key="item.admin_user_id"
161
+                      :label="item.user_name"
162
+                      :value="item.admin_user_id"
161 163
                       >
162 164
                     </el-option>
163 165
                   </el-select>
164 166
                 </div>
165
-                <el-button type="primary" >确认</el-button>
167
+                <el-button type="primary" @click="toDialog">确认</el-button>
166 168
               </div>
167 169
             </div>
168 170
             <div style="width: 49%;">
@@ -170,152 +172,214 @@
170 172
                 <div class="biaotou">
171 173
                   <span>预防措施</span>
172 174
                 </div>
173
-                <table class="table" border style="width: 100%;">
174
-                  <thead>
175
-                    <tr>
176
-                      <th style="width: 50%;">健康宣教</th>
177
-                      <th style="width: 50%;">护理措施</th>
178
-                    </tr>
179
-                  </thead>
180
-                  <tr>
181
-                    <td colspan="2" style="height: 40px;">
182
-                      <div style="width: 100%;height: 343px; overflow: auto;border: none;">
183
-                        <table class="table table2" border style="width: 100%;">
184
-                          <tr>
185
-                            <td>
186
-                              <div class="xiaojige">
187
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;告知病人及家属病人有跌倒的危险</label>
188
-                              </div>
189
-                            </td>
190
-                            <td>
191
-                              <div class="xiaojige">
192
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
193
-                              </div>
194
-                            </td>
195
-                          </tr>
196
-                          <tr class="bg_color">
197
-                            <td>
198
-                              <div class="xiaojige">
199
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
200
-                                    告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
201
-                              </div>
202
-                            </td>
203
-                            <td>
204
-                              <div class="xiaojige">
205
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;呼叫器及用物放置病人易取处,教会使用呼叫器</label>
206
-                              </div>
207
-                            </td>
208
-                          </tr>
209
-                          <tr>
210
-                            <td>
211
-                              <div class="xiaojige">
212
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
213
-                                  告知病人及家属病人关于药物作用的注意事项
214
-                                </label>
215
-                              </div>
216
-                            </td>
217
-                            <td>
218
-                              <div class="xiaojige">
219
-                                <label><input type="checkbox" name="ball" value="volleyball" />
220
-                                  &nbsp;及时给予便器,床上(边)大小便
221
-                                </label>
222
-                              </div>
223
-                            </td>
224
-                          </tr>
225
-                          <tr class="bg_color">
226
-                            <td>
227
-                              <div class="xiaojige">
228
-                                  <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
229
-                                    穿合适的裤子,以免绊倒;穿防滑鞋</label>
230
-                              </div>
231
-                            </td>
232
-                            <td>
233
-                              <div class="xiaojige">
234
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用床档 </label>
235
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用约束带 </label>
236
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;使用助行器 </label>
237
-                              </div>
238
-                            </td>
239
-                          </tr>
240
-                          <tr>
241
-                            <td>
242
-                              <div class="xiaojige">
243
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
244
-                                  告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
245
-                                  引起体位性低血压,特别是夜间
246
-                                </label>
247
-                              </div>
248
-                            </td>
249
-                            <td>
250
-                              <div class="xiaojige">
251
-                                <label>
252
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;需要时协助病人上、下床
253
-                                </label>
254
-                                <label>
255
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;协助病人如厕
256
-                                </label>
257
-                              </div>
258
-                            </td>
259
-                          </tr>
260
-                          <tr class="bg_color">
261
-                            <td>
262
-                              <div class="xiaojige">
263
-                                <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
264
-                                  如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
265
-                                </label>
266
-                              </div>
267
-                            </td>
268
-                            <td>
269
-                              <div class="xiaojige">
270
-                                <label>
271
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;避免地面积水、湿滑
272
-                                </label>
273
-                                <label>
274
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;消除床旁及通道障碍
275
-                                </label>
276
-                              </div>
277
-                            </td>
278
-                          </tr>
279
-                          <tr>
280
-                            <td>
281
-                              <div class="xiaojige">
282
-                                <label>
283
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;指导病人使用病房及卫生间扶手
284
-                                </label><br>
285
-                                <label>
286
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;其他有关告知
287
-                                </label>
288
-                              </div>
289
-                            </td>
290
-                            <td>
291
-                              <div class="xiaojige">
292
-                                <label>
293
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;病床调至合适高度
294
-                                </label>
295
-                                <label>
296
-                                  <input type="checkbox" name="ball" value="volleyball" />&nbsp;及时锁上病床及轮椅的轮轴
297
-                                </label>
298
-                              </div>
299
-                            </td>
300
-                          </tr>
301
-                        </table>
302
-                      </div>
303
-                    </td>
304
-                  </tr>
305
-                  <tr>
306
-                    <td style="">
307
-                      <div class="jian">
308
-                        <el-button type="text" @click="add">+添加</el-button>
309
-                      </div>
310
-
311
-                    </td>
312
-                    <td style="">
313
-                      <div class="jian">
314
-                        <el-button type="text" @click="add">+添加</el-button>
315
-                      </div>
316
-                    </td>
317
-                  </tr>
318
-                </table>
175
+                <div style="display: flex;">
176
+                  <div style="flex: 1;">
177
+                    <table class="table" border style="width: 100%;">
178
+                      <thead>
179
+                        <tr>
180
+                          <th style="width: 100%;">健康宣教</th>
181
+                        </tr>
182
+                      </thead>
183
+                      <tr>
184
+                        <td colspan="2" style="height: 40px;">
185
+                          <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
186
+                            <table class="table table2" border style="width: 100%;">
187
+                              <tr>
188
+                                <td>
189
+                                  <div class="xiaojige">
190
+                                      <label><input type="checkbox" name="ball" value="volleyball"  v-model="is_check"/>&nbsp;告知病人及家属病人有跌倒的危险</label>
191
+                                  </div>
192
+                                </td>
193
+                              </tr>
194
+                              <tr class="bg_color">
195
+                                <td>
196
+                                  <div class="xiaojige">
197
+                                      <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_one"/>&nbsp;
198
+                                        告知家属24小时陪伴,尤其在患者活动锻炼时,应有人陪伴,若离开请与值班护士联系</label>
199
+                                  </div>
200
+                                </td>
201
+                              </tr>
202
+                              <tr>
203
+                                <td>
204
+                                  <div class="xiaojige">
205
+                                    <label><input type="checkbox" name="ball" value="volleyball"  v-model="is_check_two"/>&nbsp;
206
+                                      告知病人及家属病人关于药物作用的注意事项
207
+                                    </label>
208
+                                  </div>
209
+                                </td>
210
+                              </tr>
211
+                              <tr class="bg_color">
212
+                                <td>
213
+                                  <div class="xiaojige">
214
+                                      <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_three" />&nbsp;
215
+                                        穿合适的裤子,以免绊倒;穿防滑鞋</label>
216
+                                  </div>
217
+                                </td>
218
+ 
219
+                              </tr>
220
+                              <tr>
221
+                                <td>
222
+                                  <div class="xiaojige">
223
+                                    <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_four"/>&nbsp;
224
+                                      告知患者改变体位欲活动时应遵循“三步曲”,即平卧30秒→双腿下垂30秒→行走,避免突然改变体位,
225
+                                      引起体位性低血压,特别是夜间
226
+                                    </label>
227
+                                  </div>
228
+                                </td>
229
+ 
230
+                              </tr>
231
+                              <tr class="bg_color">
232
+                                <td>
233
+                                  <div class="xiaojige">
234
+                                    <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_five"/>&nbsp;
235
+                                      如出现双眼发黑、下肢无力、行走不稳和不能移动时,立即原地坐/蹲下或靠墙,呼叫他人帮助
236
+                                    </label>
237
+                                  </div>
238
+                                </td>
239
+                              </tr>
240
+                              <tr>
241
+                                <td>
242
+                                  <div class="xiaojige">
243
+                                    <label>
244
+                                      <input type="checkbox" name="ball" value="volleyball"  v-model="is_check_six"/>&nbsp;指导病人使用病房及卫生间扶手
245
+                                    </label><br>
246
+                                    <label>
247
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_seven"/>&nbsp;其他有关告知
248
+                                    </label>
249
+                                  </div>
250
+                                </td>
251
+                              </tr>
252
+
253
+                              <tr v-for="item in list">
254
+                                <td>
255
+                                  <div class="xiaojige">
256
+                                    <label>
257
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="item.is_content_check"/>&nbsp;{{ item.content }}
258
+                                    </label><br>
259
+                                   
260
+                                  </div>
261
+                                </td>
262
+                              </tr>
263
+                            </table>
264
+                          </div>
265
+                        </td>
266
+                      </tr>
267
+                      <tr>
268
+                        <td style="">
269
+                          <div class="jian">
270
+                            <el-button type="text" @click="add">+添加</el-button>
271
+                          </div>
272
+
273
+                        </td>
274
+                      </tr>
275
+                    </table>
276
+                  </div>
277
+                  <div style="flex: 1;">
278
+                    <table class="table" border style="width: 100%;">
279
+                      <thead>
280
+                        <tr>
281
+                          <th style="width: 100%;">护理措施</th>
282
+                        </tr>
283
+                      </thead>
284
+                      <tr>
285
+                        <td colspan="2" style="height: 40px;">
286
+                          <div style="width: 100%;height: 50vh; overflow: auto;border: none;">
287
+                            <table class="table table2" border style="width: 100%;">
288
+                              <tr>
289
+                                <td>
290
+                                  <div class="xiaojige">
291
+                                      <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_eight"/>&nbsp;在病人床头悬挂"防跌倒"、"防坠床"警示牌</label>
292
+                                  </div>
293
+                                </td>
294
+                              </tr>
295
+                              <tr class="bg_color">
296
+                                <td>
297
+                                  <div class="xiaojige">
298
+                                      <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_night"/>&nbsp;呼叫器及用物放置病人易取处,教会使用呼叫器</label>
299
+                                  </div>
300
+                                </td>
301
+                              </tr>
302
+                              <tr>
303
+                                <td>
304
+                                  <div class="xiaojige">
305
+                                    <label><input type="checkbox" name="ball" value="volleyball"  v-model="is_check_ten"/>
306
+                                      &nbsp;及时给予便器,床上(边)大小便
307
+                                    </label>
308
+                                  </div>
309
+                                </td>
310
+                              </tr>
311
+                              <tr class="bg_color">
312
+                                <td>
313
+                                  <div class="xiaojige">
314
+                                    <label><input type="checkbox" name="ball" value="volleyball"  v-model="is_check_eleven"/>&nbsp;使用床档 </label>
315
+                                    <label><input type="checkbox" name="ball" value="volleyball"  v-model="is_check_twelve"/>&nbsp;使用约束带 </label>
316
+                                    <label><input type="checkbox" name="ball" value="volleyball" v-model="is_check_thirteen"/>&nbsp;使用助行器 </label>
317
+                                  </div>
318
+                                </td>
319
+                              </tr>
320
+                              <tr>
321
+                                <td>
322
+                                  <div class="xiaojige">
323
+                                    <label>
324
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_fourteen"/>&nbsp;需要时协助病人上、下床
325
+                                    </label>
326
+                                    <label>
327
+                                      <input type="checkbox" name="ball" value="volleyball"  v-model="is_check_fifteen"/>&nbsp;协助病人如厕
328
+                                    </label>
329
+                                  </div>
330
+                                </td>
331
+                              </tr>
332
+                              <tr class="bg_color">
333
+                                <td>
334
+                                  <div class="xiaojige">
335
+                                    <label>
336
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_sixteen"/>&nbsp;避免地面积水、湿滑
337
+                                    </label>
338
+                                    <label>
339
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_seventeen"/>&nbsp;消除床旁及通道障碍
340
+                                    </label>
341
+                                  </div>
342
+                                </td>
343
+                              </tr>
344
+                              <tr>
345
+                                <td>
346
+                                  <div class="xiaojige">
347
+                                    <label>
348
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_eighteen"/>&nbsp;病床调至合适高度
349
+                                    </label>
350
+                                    <label>
351
+                                      <input type="checkbox" name="ball" value="volleyball" v-model="is_check_nineteen" />&nbsp;及时锁上病床及轮椅的轮轴
352
+                                    </label>
353
+                                  </div>
354
+                                </td>
355
+                              </tr>
356
+
357
+                              <tr v-for="item in listOne">
358
+                                <td>
359
+                                  <div class="xiaojige">
360
+                                    <label>
361
+                                      <input type="checkbox" name="ball" value="volleyball" />&nbsp;{{ item.contentOne }}
362
+                                    </label><br>
363
+                                   
364
+                                  </div>
365
+                                </td>
366
+                              </tr>
367
+                            </table>
368
+                          </div>
369
+                        </td>
370
+                      </tr>
371
+                      <tr>
372
+                        <td style="">
373
+                          <div class="jian">
374
+                            <el-button type="text" @click="addOne">+添加</el-button>
375
+                          </div>
376
+                        </td>
377
+                      </tr>
378
+                    
379
+                    </table>
380
+                  </div>
381
+                </div>
382
+               
319 383
               </div>
320 384
 
321 385
               <div style="">
@@ -333,16 +397,39 @@
333 397
                     <tr>
334 398
                       <td class="start">透析间期跌倒事件</td>
335 399
                       <td>
336
-                        <div style="display: inline-block;margin-right: 10px;">
400
+                        <!-- <div style="display: inline-block;margin-right: 10px;">
337 401
                           <span>日期:</span>
338
-                          <el-input v-model="input" style="width: 120px;"></el-input>
402
+                          <el-date-picker
403
+                            v-model="pingdate"
404
+                            type="date"
405
+                            placeholder="选择日期"
406
+                            :clearable="false"
407
+                            style="width: 150px;">
408
+                          </el-date-picker>
339 409
                         </div>
340 410
                         <div class="jiange" style="display: inline-block;">
341
-
342 411
                           <span v-for="item in touxidiedao" class="rightjiange">
343 412
                             <label><input type="checkbox" name="ball" value="volleyball" />&nbsp{{ item }}</label>
344 413
                           </span>
345
-
414
+                        </div> -->
415
+                        <div style="display: flex;">
416
+                          <div style="flex: 1;">
417
+                            <span>日期:</span>
418
+                            <el-date-picker
419
+                              v-model="ping_date"
420
+                              type="date"
421
+                              format="yyyy-MM-dd"
422
+                              value-format="yyyy-MM-dd"
423
+                              placeholder="选择日期"
424
+                              :clearable="false"
425
+                              style="width: 140px;">
426
+                            </el-date-picker>
427
+                          </div>
428
+                          <div style="flex: 1;">
429
+                            <span v-for="item in touxidiedao" style="margin-right:10px">
430
+                              <label><input type="checkbox" name="ball" value="volleyball"  v-model="item.touxidiedao_check"/>&nbsp{{ item.content }}</label>
431
+                            </span>
432
+                          </div>
346 433
                         </div>
347 434
                       </td>
348 435
                     </tr>
@@ -363,7 +450,7 @@
363 450
 
364 451
         </div>
365 452
       </div>
366
-      <!-- 添加弹窗页面 -->
453
+      <!-- 添加弹窗页面1 -->
367 454
       <el-dialog
368 455
         title="添加"
369 456
         :visible.sync="centerDialogVisible"
@@ -374,12 +461,32 @@
374 461
             type="textarea"
375 462
             :autosize="{ minRows: 4, maxRows: 6}"
376 463
             placeholder="请输入需要添加的内容.."
377
-            v-model="textarea2">
464
+            v-model="content">
378 465
           </el-input>
379 466
         </span>
380 467
         <span slot="footer" class="dialog-footer">
381 468
           <el-button @click="centerDialogVisible = false">取 消</el-button>
382
-          <el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
469
+          <el-button type="primary" @click="saveCenterDialogVisible">确 定</el-button>
470
+        </span>
471
+      </el-dialog>
472
+
473
+   <!-- 添加弹窗页面2 -->
474
+      <el-dialog
475
+        title="添加"
476
+        :visible.sync="centerDialogVisibleOne"
477
+        width="30%"
478
+        center>
479
+        <span>
480
+          <el-input
481
+            type="textarea"
482
+            :autosize="{ minRows: 4, maxRows: 6}"
483
+            placeholder="请输入需要添加的内容.."
484
+            v-model="contentOne">
485
+          </el-input>
486
+        </span>
487
+        <span slot="footer" class="dialog-footer">
488
+          <el-button @click="centerDialogVisibleOne = false">取 消</el-button>
489
+          <el-button type="primary" @click="saveCenterDialogVisibleOne">确 定</el-button>
383 490
         </span>
384 491
       </el-dialog>
385 492
       <!-- 告知书 -->
@@ -401,6 +508,7 @@
401 508
 <script>
402 509
   import PatientSidebar from '../components/PatientSidebar'
403 510
   import Falloutbedprint from './Falloutbedprint'
511
+  import {getAllNurseList,saveFllassessmentList} from '@/api/fallassement'
404 512
   export default {
405 513
   //   name: 'CourseOfDisease',
406 514
     components: {
@@ -410,39 +518,70 @@
410 518
     data() {
411 519
       return {
412 520
         patient_id:0,
413
-        pingdate:'',
521
+        ping_date:'',
414 522
         Nurse:'',
415 523
         input:'',
416 524
         tumble_Totalpoints:0,
417 525
         options:[],
418 526
         checkList:[],
419
-        nianlin:['≥65岁(1分)','<65(0分)'],
420
-        jiwnag:['有跌倒史(2分)','有坠床史(2分)','晕厥(2分)','低血压(2分)'],
421
-        yishizt:['烦躁(4分)','谵妄(3分)','嗜睡(2分)','模糊(2分)','痴呆(2分)','昏迷(1分)'],
422
-        ganguan:['头晕(4分)','视觉障碍(2分)','听力障碍(2分)'],
423
-        shentizk:['借助器械(3分)','肢体残缺(3分)','偏瘫(3分)','肌肉震颤麻痹(2分)','截瘫(3分)','乏力(1分)','关节僵硬、变形、疼痛(3分)','失眠(1分)'],
424
-        syyaowu:['镇静安眠药(2分)','降压药(1分)','降糖药(1分)','其他高危药物(1分)'],
425
-        paixie:['便秘(2分)','腹泻(1分)','尿频(1分)'],
426
-        zilinl:['无(4分)','部分(3分)'],
427
-        xiaoguo:['未发生跌倒','发生跌倒','发生坠床'],
428
-        touxidiedao:['发生跌倒','发生坠床'],
429
-
527
+        nianlin:[{age_check:false,content:"≥65岁(1分)",is_status:2},{age_check:false,content:"<65(0分)",is_status:2}],
528
+        jiwang:[{jiwang_check:false,content:"有跌倒史(2分)",is_status:2},{jiwang_check:false,content:"有坠床史(2分)",is_status:2} ,{jiwang_check:false,content:"晕厥(2分)",is_status:2},{jiwang_check:false,content:"低血压(2分)",is_status:2}],
529
+        yishizt:[{yishizt_check:false,content:"烦躁(4分)",is_status:2},{yishizt_check:false,content:"谵妄(3分)",is_status:2}, {yishizt_check:false,content:"嗜睡(2分)",is_status:2},{yishizt_check:false,content:"模糊(2分)",is_status:2},{yishizt_check:false,content:"痴呆(2分)",is_status:2},{yishizt_check:false,content:"昏迷(1分)",is_status:2}],
530
+        ganguan:[{ganguan_check:false,content:"头晕(4分)",is_status:2},{ganguan_check:false,content:"视觉障碍(2分)",is_status:2},{ganguan_check:false,content:"听力障碍(2分)",is_status:2}],
531
+        shentizk:[{shentizk_check:false,content:"借助器械(3分)",is_status:2},{shentizk_check:false,content:"肢体残缺(3分)",is_status:2},{shentizk_check:false,content:"偏瘫(3分)",is_status:2},{shentizk_check:false,content:"肌肉震颤麻痹(2分)",is_status:2},{shentizk_check:false,content:"截瘫(3分)",is_status:2},{shentizk_check:false,content:"乏力(1分)",is_status:2},{shentizk_check:false,content:"关节僵硬、变形、疼痛(3分)",is_status:2},{shentizk_check:false,content:"失眠(1分)",is_status:2}],
532
+        syyaowu:[{syyaowu_check:false,content:"镇静安眠药(2分)",is_status:2},{syyaowu_check:false,content:"降压药(1分)",is_status:2},{syyaowu_check:false,content:"降糖药(1分)",is_status:2},{syyaowu_check:false,content:"其他高危药物(1分)",is_status:2}],
533
+        paixie:[{paixie_check:false,content:"便秘(2分)",is_status:2},{paixie_check:false,content:"腹泻(1分)",is_status:2},{paixie_check:false,content:"尿频(1分)",is_status:2}],
534
+        zilinl:[{zilinl_check:false,content:"无(4分)",is_status:2},{zilinl_check:false,content:"部分(3分)",is_status:2}],
535
+        xiaoguo:[{xiaoguo_check:false,content:"未发生跌倒",is_status:2},{xiaoguo_check:false,content:"发生跌倒",is_status:2},{xiaoguo_check:false,content:"发生坠床",is_status:2}],
536
+        touxidiedao:[{touxidiedao_check:false,content:"发生跌倒",is_status:2},{touxidiedao_check:false,content:"发生坠床"}],
537
+        centerDialogVisibleOne:false,
430 538
         centerDialogVisible:false,
431 539
         dialogVisible:false,
432 540
         textarea2:'',
541
+        list:[],
542
+        content:"",
543
+        contentOne:"",
544
+        listOne:[],
545
+        is_check:false,
546
+        is_check_one:false,
547
+        is_check_two:false,
548
+        is_check_three:false,
549
+        is_check_four:false,
550
+        is_check_five:false,
551
+        is_check_six:false,
552
+        is_check_seven:false,
553
+        is_check_eight:false,
554
+        is_check_night:false,
555
+        is_check_ten:false,
556
+        is_check_eleven:false,
557
+        is_check_twelve:false,
558
+        is_check_thirteen:false,
559
+        is_check_fourteen:false,
560
+        is_check_fifteen:false,
561
+        is_check_sixteen:false,
562
+        is_check_seventeen:false,
563
+        is_check_eighteen:false,
564
+        is_check_nineteen:false,
565
+       
566
+        nurseList:[],
567
+        admin_user_id:"",
568
+        record_date:"",
433 569
       }
434 570
 
435 571
     },
436 572
     created() {
437
-
573
+      this.getAllNurseList()
438 574
     },
439 575
     methods: {
440 576
       add(){
441 577
         this.centerDialogVisible =true
442 578
       },
443 579
       handleCheckedCitiesChange(e){
580
+        console.log("eeeeeeeee",e)
444 581
         var ball = e.target.value
445
-        var jiequ =(ball.split('(')[1].split('分')[0]) * 1
582
+        console.log("ball------------",ball)
583
+        var jiequ =(ball.split('(')[1].split('分')[0]) * 1
584
+        console.log("jiequ-----------",jiequ)
446 585
         if(e.target.checked==true){
447 586
           this.tumble_Totalpoints=this.tumble_Totalpoints + jiequ
448 587
           return this.tumble_Totalpoints
@@ -453,6 +592,239 @@
453 592
       },
454 593
       Historicalscore(){
455 594
         this.$router.push({path: '/patients/tumble_history'})
595
+      },
596
+      saveCenterDialogVisible(){
597
+        var obj = {is_content_check:false,content:""}
598
+        obj.content = this.content
599
+        this.list.push(obj)
600
+        this.centerDialogVisible =false
601
+        this.content =""
602
+      },
603
+      addOne(){
604
+        this.centerDialogVisibleOne = true
605
+      },
606
+      saveCenterDialogVisibleOne(){
607
+        var obj = {is_content_check_one:false,contentOne:""}
608
+        obj.contentOne = this.contentOne
609
+        this.listOne.push(obj)
610
+        this.centerDialogVisibleOne= false
611
+      },
612
+      getAllNurseList(){
613
+        getAllNurseList().then(response=>{
614
+           if(response.data.state ==1){
615
+             var nurseList  = response.data.data.nurseList
616
+
617
+             this.nurseList =nurseList
618
+           }
619
+        })
620
+      },
621
+      toDialog(){
622
+
623
+        var is_check =2
624
+        if(this.is_check == false){
625
+          is_check =2
626
+        }
627
+        if(this.is_check == true){
628
+          is_check =1
629
+        }
630
+
631
+        var is_check_one =2
632
+        if(this.is_check_one == false){
633
+          is_check_one = 2
634
+        }
635
+        if(this.is_check_one == true){
636
+          is_check_one = 1
637
+        }
638
+
639
+        var is_check_two =2
640
+        if(this.is_check_two == false){
641
+          is_check_two =2
642
+        }
643
+        if(this.is_check_two == true){
644
+          is_check_two = 1
645
+        }
646
+
647
+        var is_check_three =2
648
+        if(this.is_check_three == false){
649
+          is_check_three =2
650
+        }
651
+        if(this.is_check_three == true){
652
+          is_check_three = 1
653
+        }
654
+
655
+        var is_check_four =2
656
+        if(this.is_check_four == false){
657
+          is_check_four =2
658
+        }
659
+
660
+        if(this.is_check_four == true){
661
+          is_check_four = 1
662
+        }
663
+        
664
+        var is_check_five = 2
665
+        if(this.is_check_five == false){
666
+          is_check_five =2
667
+        }
668
+        if(this.is_check_five == true){
669
+          is_check_five =1
670
+        }
671
+
672
+        var is_check_six= 2
673
+        if(this.is_check_six == false){
674
+          is_check_six =2
675
+        }
676
+        if(this.is_check_six == true){
677
+          is_check_six =1
678
+        }
679
+        
680
+        var is_check_seven= 2
681
+        if(this.is_check_seven == false){
682
+          is_check_seven =2
683
+        }
684
+        if(this.is_check_seven == true){
685
+          is_check_seven =1
686
+        }
687
+
688
+        var is_check_eight= 2
689
+        if(this.is_check_eight == false){
690
+          is_check_eight =2
691
+        }
692
+        if(this.is_check_eight == true){
693
+          is_check_eight =1
694
+        }
695
+
696
+        var is_check_night= 2
697
+        if(this.is_check_night == false){
698
+          is_check_night =2
699
+        }
700
+        if(this.is_check_night == true){
701
+          is_check_night =1
702
+        }
703
+
704
+        var is_check_ten= 2
705
+        if(this.is_check_ten == false){
706
+          is_check_ten =2
707
+        }
708
+        if(this.is_check_ten == true){
709
+          is_check_ten =1
710
+        }
711
+
712
+        var is_check_eleven= 2
713
+        if(this.is_check_eleven == false){
714
+          is_check_eleven =2
715
+        }
716
+        if(this.is_check_eleven == true){
717
+          is_check_eleven =1
718
+        }
719
+
720
+        var is_check_twelve= 2
721
+        if(this.is_check_twelve == false){
722
+          is_check_twelve =2
723
+        }
724
+        if(this.is_check_twelve == true){
725
+          is_check_twelve =1
726
+        }
727
+       
728
+        var is_check_thirteen= 2
729
+        if(this.is_check_thirteen == false){
730
+          is_check_thirteen =2
731
+        }
732
+        if(this.is_check_thirteen == true){
733
+          is_check_thirteen =1
734
+        }
735
+
736
+        var is_check_fourteen= 2
737
+        if(this.is_check_fourteen == false){
738
+          is_check_fourteen =2
739
+        }
740
+        if(this.is_check_fourteen == true){
741
+          is_check_fourteen =1
742
+        }
743
+
744
+        var is_check_fifteen= 2
745
+        if(this.is_check_fifteen == false){
746
+          is_check_fifteen =2
747
+        }
748
+        if(this.is_check_fifteen == true){
749
+          is_check_fifteen =1
750
+        }
751
+
752
+        var is_check_sixteen= 2
753
+        if(this.is_check_sixteen == false){
754
+          is_check_sixteen =2
755
+        }
756
+        if(this.is_check_sixteen == true){
757
+          is_check_sixteen =1
758
+        }
759
+
760
+        var is_check_seventeen= 2
761
+        if(this.is_check_seventeen == false){
762
+          is_check_seventeen =2
763
+        }
764
+        if(this.is_check_seventeen == true){
765
+          is_check_seventeen =1
766
+        }
767
+       
768
+        var is_check_eighteen= 2
769
+        if(this.is_check_eighteen == false){
770
+          is_check_eighteen =2
771
+        }
772
+        if(this.is_check_eighteen == true){
773
+          is_check_eighteen =1
774
+        }
775
+       
776
+        var is_check_nineteen= 2
777
+        if(this.is_check_nineteen == false){
778
+          is_check_nineteen =2
779
+        }
780
+        if(this.is_check_nineteen == true){
781
+          is_check_nineteen =1
782
+        }
783
+
784
+         var record_date = this.record_date
785
+         var ping_date = this.ping_date
786
+         var params = {
787
+          is_age:this.nianlin,//年龄
788
+          is_jiwang:this.jiwang,//既往史
789
+          is_yishizt:this.yishizt,//意识状态
790
+          is_ganguan:this.ganguan,//感官
791
+          is_shentizk:this.shentizk,// 身体状况
792
+          is_syyaowu:this.syyaowu,//使用药物
793
+          is_paixie:this.paixie,//排泄
794
+          is_zilin:this.zilinl, //自理能力
795
+          is_xiaoguo:this.xiaoguo,//预防效果
796
+          is_touxidiedao:this.touxidiedao,//透析跌倒
797
+          record_date:record_date,
798
+          ping_date:ping_date,
799
+          admin_user_id:this.admin_user_id,
800
+          is_check:is_check,
801
+          is_check_one:is_check_one,
802
+          is_check_two:is_check_two,
803
+          is_check_three:is_check_three,
804
+          is_check_four:is_check_four,
805
+          is_check_five:is_check_five,
806
+          is_check_six:is_check_six,
807
+          is_check_seven:is_check_seven,
808
+          is_check_eight:is_check_eight,
809
+          is_check_night:is_check_night,
810
+          is_check_ten:is_check_ten,
811
+          is_check_eleven:is_check_eleven,
812
+          is_check_twelve:is_check_twelve,
813
+          is_check_thirteen:is_check_thirteen,
814
+          is_check_fourteen:is_check_fourteen,
815
+          is_check_fifteen:is_check_fifteen,
816
+          is_check_sixteen:is_check_sixteen,
817
+          is_check_seventeen:is_check_seventeen,
818
+          is_check_eighteen:is_check_eighteen,
819
+          is_check_nineteen:is_check_nineteen,
820
+          patient_id:parseInt(this.$route.query.id),
821
+          total:this.tumble_Totalpoints,
822
+
823
+         }
824
+         console.log("params",params)
825
+        saveFllassessmentList(params).then(response=>{
826
+
827
+        })
456 828
       }
457 829
     }
458 830
   }

+ 52 - 35
src/xt_pages/user/evaluationtool/RassAssessment.vue Datei anzeigen

@@ -45,36 +45,42 @@
45 45
                           </tr>
46 46
                         </thead>
47 47
                         <tbody>
48
-                          <tr class="bg_color" v-for="(item,index) in RASS" :key="index" :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
49
-                              <td class='bing'>
50
-                                <!-- <div class="rightjiange" style="position: relative;">
51
-                                  <label><input type="radio" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>&nbsp;
52
-                                      <div style="display: inline-block;">{{item.title}}</div>
53
-                                      &nbsp;<div :style="{'display': 'inline-block','width':' 430px','position': 'absolute','top':index ==4 ? '-8px':'0px'}">
54
-                                     {{item.value}}
48
+                          <tr >
49
+                              <td>
50
+                                <table class="table" border="1" style="width: 100%;border-collapse: collapse;">
51
+                                  <tr class="bg_color" v-for="(item,index) in RASS" :key="index" 
52
+                                  :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
53
+                                    <td>
54
+                                      <div class="rightjiange" style="position: relative;">
55
+                                        <label style="">
56
+                                          <input type="radio" name="ball" :value="item.value"  @change="handleCheckedCitiesChange"/>
57
+                                          <div style="display: inline-block;">{{ item.title }}</div>&nbsp;
58
+                                          <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
59
+                                              {{ item.value }}
60
+                                          </div>
61
+                                        </label>
55 62
                                       </div>
56
-                                  </label>
57
-                                </div> -->
58
-                                <div class="rightjiange" style="position: relative;">
59
-                                  <label style="">
60
-                                    <input type="radio" name="ball" :value="item.value"  @change="handleCheckedCitiesChange"/>
61
-                                    <div style="display: inline-block;">{{ item.title }}</div>&nbsp;
62
-                                    <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
63
-                                        {{ item.value }}
64
-                                    </div>
65
-                                  </label>
66
-                                </div>
63
+                                    </td>
64
+                                  </tr>
65
+                                </table>
67 66
                               </td>
68
-                              <td class='bing'>
69
-                                <div class="rightjiange" style="position: relative;">
70
-                                  <label style="">
71
-                                    <input type="radio" name="ball" :value="item.value2"  @change="handleCheckedCitiesChange"/>
72
-                                    <div style="display: inline-block;">{{ item.title2 }}</div>&nbsp;
73
-                                    <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 && index !=1 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
74
-                                        {{ item.value2 }}
75
-                                    </div>
76
-                                  </label>
77
-                                </div>
67
+                              <td>
68
+                                <table class="table" border="1" style="width: 100%;border-collapse: collapse;">
69
+                                  <tr v-for="(item,index) in RASS1" :key="index"
70
+                                  :style="{'background':(index==0 || index % 2==0) ?'rgb(243, 240, 240)':'white'}">
71
+                                    <td>
72
+                                      <div class="rightjiange" style="position: relative;">
73
+                                        <label style="">
74
+                                          <input type="radio" name="ball" :value="item.value2"  @change="handleCheckedCitiesChange"/>
75
+                                          <div style="display: inline-block;">{{ item.title2 }}</div>&nbsp;
76
+                                          <div :style="{'display': 'inline-block','position': 'absolute','top':index !=0 && index !=1 ? '-8px':'0px','overflow': 'auto','height': '30px'}">
77
+                                              {{ item.value2 }}
78
+                                          </div>
79
+                                        </label>
80
+                                      </div>
81
+                                    </td>
82
+                                  </tr>
83
+                                </table>
78 84
                               </td>
79 85
                           </tr>
80 86
                         </tbody>
@@ -504,11 +510,17 @@ export default {
504 510
                   {title:'2分', value:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态'},
505 511
                   {title:'3分', value:'无意识,无法唤醒'},{title:'S分', value:'正常意识,容易唤醒'}
506 512
                 ],
507
-            RASS:[{title:'-5分', value:'无法唤醒,对声音或物理刺激均无反应',title2:'0分', value2:'警觉的平静的'},
508
-                  {title:'-4分', value:'深度镇静,对声音刺激无反应,但对物理刺激有运动或睁眼反应',title2:'+1分', value2:'不安的焦虑的:焦虑但无强烈的攻击行为'},
509
-                  {title:'-3分', value:'中度镇静,对声音刺激有活动或睁眼动作(但无目光接触)',title2:'+2分', value2:'焦虑的激动的:经常性的无目的活动,人机对抗'},
510
-                  {title:'-2分', value:'轻度镇静,对于声音刺激可以有简短的目光接触的觉醒,<10s',title2:'+3分', value2:'非常焦虑激动的:牵拉或拔除管道,容易焦虑不安'},
511
-                  {title:'-1分', value:'困倦的昏昏欲睡的,不完全觉醒但能保持觉醒状态,对于声音刺激眼睛可以睁开或有目光接触≥10s',title2:'+4分', value2:'好斗的好战的:过于好斗,有暴力倾向,对医护人员有攻击行为'},
513
+            RASS:[{title:'-5分', value:'无法唤醒,对声音或物理刺激均无反应'},
514
+                  {title:'-4分', value:'深度镇静,对声音刺激无反应,但对物理刺激有运动或睁眼反应'},
515
+                  {title:'-3分', value:'中度镇静,对声音刺激有活动或睁眼动作(但无目光接触)'},
516
+                  {title:'-2分', value:'轻度镇静,对于声音刺激可以有简短的目光接触的觉醒,<10s'},
517
+                  {title:'-1分', value:'困倦的昏昏欲睡的,不完全觉醒但能保持觉醒状态,对于声音刺激眼睛可以睁开或有目光接触≥10s'},
518
+                ],
519
+            RASS1:[{title2:'0分', value2:'警觉的平静的'},
520
+                  {title2:'+1分', value2:'不安的焦虑的:焦虑但无强烈的攻击行为'},
521
+                  {title2:'+2分', value2:'焦虑的激动的:经常性的无目的活动,人机对抗'},
522
+                  {title2:'+3分', value2:'非常焦虑激动的:牵拉或拔除管道,容易焦虑不安'},
523
+                  {title2:'+4分', value2:'好斗的好战的:过于好斗,有暴力倾向,对医护人员有攻击行为'},
512 524
                 ],
513 525
             RassGJ:['NRS','表情法','视觉模拟法','语言描述法','行为学评估量表','其他'],
514 526
             yuyan:[{label:'0无痛',value:0},{label:'1微痛',value:1},{label:'2一般',value:2},{label:'4中度疼痛',value:4},{label:'6中重度疼痛',value:6},{label:'8重度疼痛',value:8},{label:'10无法忍受',value:10}],
@@ -534,6 +546,7 @@ export default {
534 546
         console.log('11111',e.target.value);
535 547
         const lent = this.LOS
536 548
         const len = this.RASS
549
+        const len2=this.RASS1
537 550
         for(let i=0;i<lent.length;i++){
538 551
           if(e.target.value == lent[i].value ){
539 552
             this.RASS_Totalpoints=lent[i].title.split('分')[0]
@@ -544,10 +557,14 @@ export default {
544 557
             console.log('2222',len[y].title.split('分')[0]);
545 558
             this.RASS_Totalpoints = len[y].title.split('分')[0]
546 559
           }
547
-          if(e.target.value == len[y].value2 ){
548
-            this.RASS_Totalpoints = len[y].title2.split('分')[0]
560
+          
561
+        }
562
+        for(let y=0;y<len2.length;y++){
563
+          if(e.target.value == len2[y].value2 ){
564
+            this.RASS_Totalpoints = len2[y].title2.split('分')[0]
549 565
           }
550 566
         }
567
+
551 568
       },
552 569
       radioclick(e,value){
553 570
         console.log('2222',e,value);

+ 4 - 4
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue Datei anzeigen

@@ -177,16 +177,16 @@ export default {
177 177
       age:[{value:4,lable:'>1岁~≤3岁',id:1},{value:3,lable:'>3岁~≤7岁',id:2},{value:2,lable:'>7岁~≤13岁',id:3},{value:1,lable:'>13岁',id:4}],
178 178
       sex:[{value:2,lable:'男'},{value:1,lable:'女'}],
179 179
       diagnosis:[{value:4,lable:'神经系统疾病:骨骼、关节系统疾病;眼科疾病'},
180
-                {value:3,lable:'氧合功能改变(呼吸系统疾病、心血管系统疾病、脱水、贫血、晕厥、头晕等);电解质紊乱'},
180
+                {value:3,lable:'氧合功能改变(呼吸系统疾病、心血管系统疾病、脱水、贫血、晕厥、头晕等);电解质紊乱'},
181 181
                 {value:2,lable:'心理/行为疾病'},
182 182
                 {value:1,lable:'其他疾病;疾病导致不能活动或移动'}
183 183
               ],
184 184
       cognize:[{value:3,lable:'没有意识到不能自我行动'},
185 185
                 {value:2,lable:'忘记有行动的限制'},
186 186
                 {value:1,lable:'能自我辨识方位;昏迷、无反应'}],
187
-      environment:[{value:4,lable:'住院期间有跌倒坠床史:患儿移动或活动时需要使用辅助工具(拐杖、助行器、转运床、轮椅等);婴幼儿放置在无护栏的成人床'},
188
-                {value:3,lable:'近1个月有跌倒坠床史婴幼儿放置在有护栏的成人床'},
189
-                {value:2,lable:'近3个月有跌倒坠床史婴幼儿放置在有护栏的婴儿床'},
187
+      environment:[{value:4,lable:'住院期间有跌倒坠床史:患儿移动或活动时需要使用辅助工具(拐杖、助行器、转运床、轮椅等);婴幼儿放置在无护栏的成人床'},
188
+                {value:3,lable:'近1个月有跌倒坠床史:婴幼儿放置在有护栏的成人床'},
189
+                {value:2,lable:'近3个月有跌倒坠床史:婴幼儿放置在有护栏的婴儿床'},
190 190
                 {value:1,lable:'>3个月有跌倒坠床史/无跌倒坠床史'}],
191 191
       medicine:[{value:3,lable:'联合用药:镇静剂、安眠药、巴比妥类药、吩噻嗪类药、抗抑郁药、利尿药、降压药、强心剂、麻醉药、化疗药、散瞳剂'},
192 192
                 {value:2,lable:'以上其中一种药物'},

+ 204 - 163
src/xt_pages/user/evaluationtool/pressuresore.vue Datei anzeigen

@@ -11,168 +11,209 @@
11 11
             </div>
12 12
           </div>
13 13
           <div style="margin: 20px 0px;">
14
-            <table class="table" border style="width: 100%;">
15
-              <thead>
16
-                <tr>
17
-                  <th  rowspan="2" style="width: 9%">项目/编码</th>
18
-                  <th  colspan="4" style="width: 68%;">分值</th>
19
-                  <th  rowspan="2" style="width: 9%">说明</th>
20
-                  <th  rowspan="2" style="width: 14%">护理措施</th>
21
-                </tr>
22
-                <tr>
23
-                  <th >1分</th>
24
-                  <th >2分</th>
25
-                  <th >3分</th>
26
-                  <th >4分</th>
27
-                </tr>
28
-              </thead>
29
-              <tbody>
30
-                <tr class="start">
31
-                  <td >
32
-                    <span class="bing">A.感知</span><br/>
33
-                    机体对压力所引起不适感的反应能力
34
-                  </td>
35
-                  <td >
36
-                    完全受限 <br>对疼痛刺激没有反应(没有呻吟,退缩或紧握)或者绝大部分机体对疼痛的感觉受限
37
-                  </td>
38
-                  <td >
39
-                    中度受限<br>只对疼痛刺激有反应,能通过呻吟、烦躁的方式表达机体不适。或者机体一半以上的部位对疼痛或不适感觉障碍
40
-                  </td>
41
-                  <td>
42
-                    轻微受限<br>对其讲话有反应,但不是所有时间都能用语言表达不适感。或者机体机体的一到两个肢体对疼痛或不适感感觉障碍
43
-                  </td>
44
-                  <td>
45
-                    没有改变<br>对其讲话有反应,机体没有对疼痛或不适的感觉确失
46
-                  </td>
47
-                  <td rowspan="6" style="vertical-align: middle;">
48
-                    <div style="text-align: center;">
49
-                      总分23分,<br>
50
-                      15~18分为低危;<br>
51
-                      13~14分为中危;<br>
52
-                      10~12分为高危;<br>
53
-                      ≤9分为极高危
54
-                    </div>
55
-                  </td>
56
-                  <td rowspan="6" style="position: relative;vertical-align: top;">
57
-                    <div class="jiange">
58
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;挂床头警示标识</label>
59
-                    </div>
60
-                    <div class="jiange">
61
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;保护受压皮肤,使用减压用具(气垫床/压疮床)</label>
62
-                    </div>
63
-                    <div class="jiange">
64
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;定时翻身,移动避免拖拉</label>
65
-                    </div>
66
-                    <div class="jiange">
67
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;加强营养</label>
68
-                    </div>
69
-                    <div class="jiange">
70
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;保持被衣物清洁舒适</label>
71
-                    </div>
72
-                    <div class="jiange">
73
-                      <label><input name="ball" type="checkbox" value="football" />&nbsp;其他</label>
74
-                    </div>
75
-                    <div class="tianjia" @click="add_press=true">
76
-                      <!--  style="position: absolute;bottom: 0px;font-size: 17px;color:#4579C5;line-height: 40px;" -->
77
-                      +添加
78
-                    </div>
79
-                  </td>
80
-                </tr>
81
-                <tr class="bg_color start">
82
-                  <td class="start">
83
-                    <span class="bing">B.湿度</span><br/>
84
-                    皮肤处于潮湿状态的程度
85
-                  </td>
86
-                  <td>
87
-                    持久潮湿<br>由于出汗、小便等原因皮肤一直处于潮湿状态,每当移动患者或者给患者翻身时就可以发现患者皮肤是湿的
88
-                  </td>
89
-                  <td>
90
-                    非常潮湿<br>皮肤经常但不总是处于潮湿状态,床单每天至少换一次
91
-                  </td>
92
-                  <td>
93
-                    偶尔潮湿<br>每天大概需要额外换一次床单
94
-                  </td>
95
-                  <td>
96
-                    很少潮湿<br>皮肤通常是干的,只是按照常规换床单即可
97
-                  </td>
98
-                </tr>
99
-                <tr class="start">
100
-                  <td>
101
-                    <span class="bing">C.活动能力</span><br>
102
-                    躯体活动的能力
103
-                  </td>
104
-                  <td>
105
-                    卧床不起<br>限制在床上
106
-                  </td>
107
-                  <td>
108
-                    局限于轮椅活动<br>行动能力严重受限或者没有行走能力
109
-                  </td>
110
-                  <td>
111
-                    可偶尔步行<br>白天在帮助或者无需帮助的情况下偶尔可以走一段路。每天大部分时间在床上或者椅子上度过
112
-                  </td>
113
-                  <td>
114
-                    经常步行<br>每天至少2次室外行走,白天醒着的时候至少每2h行走一次
115
-                  </td>
116
-                </tr>
117
-                <tr class="bg_color start">
118
-                  <td>
119
-                    <span class="bing">D.移动能力</span><br>
120
-                    改变/控制躯体位置的能力
121
-                  </td>
122
-                  <td>
123
-                    完全受限<br>没有帮助的情况下不能完成轻微的躯体 或者四肢的位置变动
124
-                  </td>
125
-                  <td>
126
-                    严重受限<br>偶尔能轻微地移动躯体或者四肢,但不能独立完成经常的或显著的躯体位置变动
127
-                  </td>
128
-                  <td>
129
-                    轻度受限<br>能经常独立地改变躯体或四肢的位置,但变动幅度不大
130
-                  </td>
131
-                  <td>
132
-                    不受限<br>能经常独立地改变躯体或四肢的位置,但变动幅度不大
133
-                  </td>
134
-                </tr>
135
-                <tr class="start">
136
-                  <td>
137
-                    <span class="bing">E.营养</span><br>
138
-                    平常的食物摄入模式
139
-                  </td>
140
-                  <td>
141
-                    重度营养摄入不足<br>
142
-                    从来不能吃完一餐饭,很少能摄入所给实物量的1/3。每天能摄入2份或以下的蛋白量(肉或者乳制品)很少摄入液体,没有摄入流质饮食。或者禁食和/或清流摄入或静脉输入大于5d
143
-                  </td>
144
-                  <td>
145
-                    营养摄入不足<br>
146
-                    很少能吃完一餐饭,通常只能摄入所给食物的1/2。每天蛋白摄入量是3份肉或者乳制品。偶尔能摄入规定实物量。或者可摄入略低于理想量的流质或者管饲
147
-                  </td>
148
-                  <td>
149
-                    营养摄入适当<br>
150
-                    可摄入提供量的一半以上。每天4份蛋白量(肉或乳制品),偶尔拒绝肉类,如果提供给食物通常会吃掉。或者管饲或TNP能达到绝大部分的营养所需
151
-                  </td>
152
-                  <td>
153
-                    营养摄入良好<br>每餐能摄入绝大部分食物从来不拒绝食物,通常吃4份或更多的肉和乳制品,两餐间偶尔进食。不需要其他补充食物
154
-                  </td>
155
-                </tr>
156
-                <tr class="bg_color start">
157
-                  <td>
158
-                    <span class="bing">F.摩擦力和剪切力</span><br>
159
-                  </td>
160
-                  <td>
161
-                    有此问题<br>
162
-                    移动时需要得到大量的帮助,不可能做到完全抬空而不碰到床单,在床上或椅子上时经常滑落。需要大力帮助下重摆体位。痉挛、挛缩或躁动不安通常导致摩擦
163
-                  </td>
164
-                  <td>
165
-                    有潜在问题<br>
166
-                    躯体移动乏力,或者需要一些帮助,在移动过程中,皮肤在一定程度上会碰到床单、椅子、约束带或者其他设施。在床上或椅子上可保持相对好的位置,偶尔会滑落下来
167
-                  </td>
168
-                  <td>
169
-                    无明显问题<br>
170
-                    能独立在床上或椅子上移动,并且有足够的肌肉力量在移动时完全抬空躯体。在床上和椅子上总是保持良好的位置
171
-                  </td>
172
-                  <td></td>
173
-                </tr>
174
-              </tbody>
175
-            </table>
14
+            <div style="display: flex;">
15
+              <div style="flex: 5;">
16
+                <table class="table" border style="width: 100%;">
17
+                  <thead>
18
+                    <tr>
19
+                      <th  rowspan="2" style="width: 9%">项目/编码</th>
20
+                      <th  colspan="4" style="width: 68%;">分值</th>
21
+                      <th  rowspan="2" style="width: 9%">说明</th>
22
+                      <!-- <th  rowspan="2" style="width: 14%">护理措施</th> -->
23
+                    </tr>
24
+                    <tr>
25
+                      <th >1分</th>
26
+                      <th >2分</th>
27
+                      <th >3分</th>
28
+                      <th >4分</th>
29
+                    </tr>
30
+                  </thead>
31
+                  <tbody>
32
+                    <tr class="start">
33
+                      <td >
34
+                        <span class="bing">A.感知</span><br/>
35
+                        机体对压力所引起不适感的反应能力
36
+                      </td>
37
+                      <td >
38
+                        完全受限 <br>对疼痛刺激没有反应(没有呻吟,退缩或紧握)或者绝大部分机体对疼痛的感觉受限
39
+                      </td>
40
+                      <td >
41
+                        中度受限<br>只对疼痛刺激有反应,能通过呻吟、烦躁的方式表达机体不适。或者机体一半以上的部位对疼痛或不适感觉障碍
42
+                      </td>
43
+                      <td>
44
+                        轻微受限<br>对其讲话有反应,但不是所有时间都能用语言表达不适感。或者机体机体的一到两个肢体对疼痛或不适感感觉障碍
45
+                      </td>
46
+                      <td>
47
+                        没有改变<br>对其讲话有反应,机体没有对疼痛或不适的感觉确失
48
+                      </td>
49
+                      <td rowspan="6" style="vertical-align: middle;">
50
+                        <div style="text-align: center;">
51
+                          总分23分,<br>
52
+                          15~18分为低危;<br>
53
+                          13~14分为中危;<br>
54
+                          10~12分为高危;<br>
55
+                          ≤9分为极高危
56
+                        </div>
57
+                      </td>
58
+                      <!-- <td rowspan="6" style="position: relative;vertical-align: top;">
59
+                        <div class="jiange">
60
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;挂床头警示标识</label>
61
+                        </div>
62
+                        <div class="jiange">
63
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;保护受压皮肤,使用减压用具(气垫床/压疮床)</label>
64
+                        </div>
65
+                        <div class="jiange">
66
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;定时翻身,移动避免拖拉</label>
67
+                        </div>
68
+                        <div class="jiange">
69
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;加强营养</label>
70
+                        </div>
71
+                        <div class="jiange">
72
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;保持被衣物清洁舒适</label>
73
+                        </div>
74
+                        <div class="jiange">
75
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;其他</label>
76
+                        </div>
77
+                        <div class="tianjia" @click="add_press=true">
78
+                          
79
+                          +添加
80
+                        </div>
81
+                      </td> -->
82
+                    </tr>
83
+                    <tr class="bg_color start">
84
+                      <td class="start">
85
+                        <span class="bing">B.湿度</span><br/>
86
+                        皮肤处于潮湿状态的程度
87
+                      </td>
88
+                      <td>
89
+                        持久潮湿<br>由于出汗、小便等原因皮肤一直处于潮湿状态,每当移动患者或者给患者翻身时就可以发现患者皮肤是湿的
90
+                      </td>
91
+                      <td>
92
+                        非常潮湿<br>皮肤经常但不总是处于潮湿状态,床单每天至少换一次
93
+                      </td>
94
+                      <td>
95
+                        偶尔潮湿<br>每天大概需要额外换一次床单
96
+                      </td>
97
+                      <td>
98
+                        很少潮湿<br>皮肤通常是干的,只是按照常规换床单即可
99
+                      </td>
100
+                    </tr>
101
+                    <tr class="start">
102
+                      <td>
103
+                        <span class="bing">C.活动能力</span><br>
104
+                        躯体活动的能力
105
+                      </td>
106
+                      <td>
107
+                        卧床不起<br>限制在床上
108
+                      </td>
109
+                      <td>
110
+                        局限于轮椅活动<br>行动能力严重受限或者没有行走能力
111
+                      </td>
112
+                      <td>
113
+                        可偶尔步行<br>白天在帮助或者无需帮助的情况下偶尔可以走一段路。每天大部分时间在床上或者椅子上度过
114
+                      </td>
115
+                      <td>
116
+                        经常步行<br>每天至少2次室外行走,白天醒着的时候至少每2h行走一次
117
+                      </td>
118
+                    </tr>
119
+                    <tr class="bg_color start">
120
+                      <td>
121
+                        <span class="bing">D.移动能力</span><br>
122
+                        改变/控制躯体位置的能力
123
+                      </td>
124
+                      <td>
125
+                        完全受限<br>没有帮助的情况下不能完成轻微的躯体 或者四肢的位置变动
126
+                      </td>
127
+                      <td>
128
+                        严重受限<br>偶尔能轻微地移动躯体或者四肢,但不能独立完成经常的或显著的躯体位置变动
129
+                      </td>
130
+                      <td>
131
+                        轻度受限<br>能经常独立地改变躯体或四肢的位置,但变动幅度不大
132
+                      </td>
133
+                      <td>
134
+                        不受限<br>能经常独立地改变躯体或四肢的位置,但变动幅度不大
135
+                      </td>
136
+                    </tr>
137
+                    <tr class="start">
138
+                      <td>
139
+                        <span class="bing">E.营养</span><br>
140
+                        平常的食物摄入模式
141
+                      </td>
142
+                      <td>
143
+                        重度营养摄入不足<br>
144
+                        从来不能吃完一餐饭,很少能摄入所给实物量的1/3。每天能摄入2份或以下的蛋白量(肉或者乳制品)很少摄入液体,没有摄入流质饮食。或者禁食和/或清流摄入或静脉输入大于5d
145
+                      </td>
146
+                      <td>
147
+                        营养摄入不足<br>
148
+                        很少能吃完一餐饭,通常只能摄入所给食物的1/2。每天蛋白摄入量是3份肉或者乳制品。偶尔能摄入规定实物量。或者可摄入略低于理想量的流质或者管饲
149
+                      </td>
150
+                      <td>
151
+                        营养摄入适当<br>
152
+                        可摄入提供量的一半以上。每天4份蛋白量(肉或乳制品),偶尔拒绝肉类,如果提供给食物通常会吃掉。或者管饲或TNP能达到绝大部分的营养所需
153
+                      </td>
154
+                      <td>
155
+                        营养摄入良好<br>每餐能摄入绝大部分食物从来不拒绝食物,通常吃4份或更多的肉和乳制品,两餐间偶尔进食。不需要其他补充食物
156
+                      </td>
157
+                    </tr>
158
+                    <tr class="bg_color start">
159
+                      <td>
160
+                        <span class="bing">F.摩擦力和剪切力</span><br>
161
+                      </td>
162
+                      <td>
163
+                        有此问题<br>
164
+                        移动时需要得到大量的帮助,不可能做到完全抬空而不碰到床单,在床上或椅子上时经常滑落。需要大力帮助下重摆体位。痉挛、挛缩或躁动不安通常导致摩擦
165
+                      </td>
166
+                      <td>
167
+                        有潜在问题<br>
168
+                        躯体移动乏力,或者需要一些帮助,在移动过程中,皮肤在一定程度上会碰到床单、椅子、约束带或者其他设施。在床上或椅子上可保持相对好的位置,偶尔会滑落下来
169
+                      </td>
170
+                      <td>
171
+                        无明显问题<br>
172
+                        能独立在床上或椅子上移动,并且有足够的肌肉力量在移动时完全抬空躯体。在床上和椅子上总是保持良好的位置
173
+                      </td>
174
+                      <td></td>
175
+                    </tr>
176
+                  </tbody>
177
+                </table>
178
+              </div>
179
+              <div style="flex: 1;">
180
+                <table class="table" border>
181
+                  <thead>
182
+                    <tr>
183
+                      <th  rowspan="2" style="width: 14%;height: 80px;">护理措施</th>
184
+                    </tr>
185
+                  </thead>
186
+                  <tbody>
187
+                    <tr>
188
+                      <td rowspan="6" style="position: relative;vertical-align: top;">
189
+                        <div class="jiange">
190
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;挂床头警示标识</label>
191
+                        </div>
192
+                        <div class="jiange">
193
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;保护受压皮肤,使用减压用具(气垫床/压疮床)</label>
194
+                        </div>
195
+                        <div class="jiange">
196
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;定时翻身,移动避免拖拉</label>
197
+                        </div>
198
+                        <div class="jiange">
199
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;加强营养</label>
200
+                        </div>
201
+                        <div class="jiange">
202
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;保持被衣物清洁舒适</label>
203
+                        </div>
204
+                        <div class="jiange">
205
+                          <label><input name="ball" type="checkbox" value="football" />&nbsp;其他</label>
206
+                        </div>
207
+                        <div class="tianjia" @click="add_press=true">
208
+                          +添加
209
+                        </div>
210
+                      </td>
211
+                    </tr>
212
+                  </tbody>
213
+                </table>
214
+              </div>
215
+            </div>
216
+            
176 217
             <table class="table" border style="width: 100%;">
177 218
               <thead>
178 219
                 <tr>
@@ -406,7 +447,7 @@ export default {
406 447
             padding-left: 5px;
407 448
         }
408 449
         .tianjia{
409
-          position: absolute;
450
+          position: relative;
410 451
           bottom: 0px;
411 452
           font-size: 17px;
412 453
           color:#4579C5;

+ 25 - 5
src/xt_pages/user/inspection.vue Datei anzeigen

@@ -788,10 +788,28 @@ export default {
788 788
           this.form.remind_cycle =""
789 789
         }
790 790
         console.log(this.form.remind_cycle)
791
-
791
+         
792
+       
792 793
         this.form.formItem = []
794
+        console.log("hhhhhhhhhhhhh",this.project.inspection_reference)
795
+        console.log("inspectionsMap",this.inspectionsMap)
793 796
         for (var index in this.project.inspection_reference) {
794
-          this.form.formItem.push({
797
+          if(this.org_id ==10278 || this.org_id ==10138 || this.org_id == 0){
798
+            this.form.formItem.push({
799
+              id: this.project.inspection_reference[index].id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].id].id : 0,
800
+              project_id: this.project.inspection_reference[index].project_id,
801
+              project_name: this.project.inspection_reference[index].project_name,
802
+              item_id: this.project.inspection_reference[index].id,
803
+              item: this.project.inspection_reference[index].item,
804
+              item_name: this.project.inspection_reference[index].item_name,
805
+              range_type: this.project.inspection_reference[index].range_type,
806
+              value: this.project.inspection_reference[index].item_id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].item_id].inspect_value : '',
807
+              select_options: this.project.inspection_reference[index].range_options.split(','),
808
+              unit: this.project.inspection_reference[index].unit,
809
+              item_id:parseInt(this.project.inspection_reference[index].item_id) ,
810
+            })
811
+          }else{
812
+            this.form.formItem.push({
795 813
             id: this.project.inspection_reference[index].id in this.inspectionsMap ? this.inspectionsMap[this.project.inspection_reference[index].id].id : 0,
796 814
             project_id: this.project.inspection_reference[index].project_id,
797 815
             project_name: this.project.inspection_reference[index].project_name,
@@ -803,6 +821,8 @@ export default {
803 821
             select_options: this.project.inspection_reference[index].range_options.split(','),
804 822
             unit: this.project.inspection_reference[index].unit
805 823
           })
824
+          }
825
+         
806 826
         }
807 827
         console.log(this.form.formItem)
808 828
         this.dialogFormVisible = true
@@ -1305,10 +1325,10 @@ export default {
1305 1325
                 //  console.log("item[key]",item[key])
1306 1326
                 item[key] = items[index][key]
1307 1327
               }
1308
-
1328
+              
1309 1329
               if (item.item_id > 0) {
1310 1330
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1311
-                  if(this.org_id == 10121 || this.org_id ==10278 || this.org_id ==10138){
1331
+                  if(this.org_id == 10121 || this.org_id ==10138){
1312 1332
                     item.value = inspectionsMap[items[index].id].inspect_value
1313 1333
                     item.item_name = inspectionsMap[items[index].id].item_name
1314 1334
                   }else{
@@ -1349,7 +1369,7 @@ export default {
1349 1369
               }
1350 1370
 
1351 1371
 
1352
-              console.log("items232232332wo",item.value.indexOf('http'))
1372
+             
1353 1373
 
1354 1374
               if(item.value.indexOf("http") <0){
1355 1375
                 this.isPic = true

+ 182 - 164
src/xt_pages/workforce/appointment.vue Datei anzeigen

@@ -90,167 +90,184 @@
90 90
         <!-- <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button> -->
91 91
       </div>
92 92
     </div>
93
-    <div class="app-container">
94
-      <div style="right:30px;position:absolute;z-index:99">
95
-        <span>导出周次:</span>
96
-        <el-date-picker
97
-            v-model="weekTime"
98
-            type="week"
99
-            format="yyyy 第 WW 周"
100
-            placeholder="选择周"
101
-            :picker-options="{'firstDayOfWeek': 1}"
102
-            @change="changeWeek"
103
-        >
104
-        </el-date-picker>
105
-      </div>
106
-      <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="handleClick">
107
-        <el-tab-pane name="historyWeek">
108
-          <span slot="label"><i class="el-icon-date"></i> 历史周期 ({{ theWeek.historyWeek }}) </span>
109
-        </el-tab-pane>
110
-        <el-tab-pane name="lastWeek">
111
-          <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
112
-        </el-tab-pane>
113
-        <el-tab-pane name="thisWeek">
114
-          <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
115
-        </el-tab-pane>
116
-        <el-tab-pane name="nextWeek">
117
-          <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
118
-        </el-tab-pane>
119
-        <el-tab-pane name="nextTwoWeek">
120
-          <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
121
-        </el-tab-pane>
122
-      </el-tabs>
123
-      <div v-if="!is_edit">
124
-        <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
125
-                    :schedule-zone-row-prop="scheduleZoneRow"
126
-                    :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
127
-                    @event2="changeSchedule"  @event3="changeWeekDay"  @guanliu_show="guanliu" @mode_name="touximoshi" v-show="showtableOne"  @event6="changeScheduleType">
128
-        </table-data>
129
-        <!-- @event6="changeScheduleType" -->
130
-      </div>
131
-      <!-- 编辑 -->
132
-       <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
133
-                        :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
134
-                         title="" @event1="changePartition"
135
-                         @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
136
-          <div class="position">
137
-            <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
138
-            <div>
139
-              <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
140
-                <el-tab-pane name="beforeWeek">
141
-                  <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
142
-                </el-tab-pane>
143
-                <el-tab-pane name="lastWeek">
144
-                  <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
145
-                </el-tab-pane>
146
-                <el-tab-pane name="thisWeek">
147
-                  <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
148
-                </el-tab-pane>
149
-                <el-tab-pane name="nextWeek">
150
-                  <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
151
-                </el-tab-pane>
152
-                <el-tab-pane name="nextTwoWeek">
153
-                  <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
154
-                </el-tab-pane>
155
-              </el-tabs>
93
+    <div>
94
+      
95
+      <div class="app-container" style="padding: 0 20px 20px 20px;">
96
+        <div>
97
+          <div style="position: relative;height: 57px">
98
+            <div style="position: fixed;width: 80%;z-index: 100;background: #fff;">
99
+              <div>
100
+                <div style="display: inline-block;">
101
+                  <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="handleClick">
102
+                    <el-tab-pane name="historyWeek">
103
+                      <span slot="label"><i class="el-icon-date"></i> 历史周期 ({{ theWeek.historyWeek }}) </span>
104
+                    </el-tab-pane>
105
+                    <el-tab-pane name="lastWeek">
106
+                      <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
107
+                    </el-tab-pane>
108
+                    <el-tab-pane name="thisWeek">
109
+                      <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
110
+                    </el-tab-pane>
111
+                    <el-tab-pane name="nextWeek">
112
+                      <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
113
+                    </el-tab-pane>
114
+                    <el-tab-pane name="nextTwoWeek">
115
+                      <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
116
+                    </el-tab-pane>
117
+                  </el-tabs>
118
+                </div>
119
+                <div style="display: inline-block;float:right;z-index:99">
120
+                  <span>导出周次:</span>
121
+                  <el-date-picker
122
+                      v-model="weekTime"
123
+                      type="week"
124
+                      format="yyyy 第 WW 周"
125
+                      placeholder="选择周"
126
+                      :picker-options="{'firstDayOfWeek': 1}"
127
+                      @change="changeWeek"
128
+                  >
129
+                  </el-date-picker>
130
+                </div>
131
+              </div>
156 132
             </div>
157
-            <div style="display:flex;align-items:center">
158
-              <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
159
-              <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
160
-              <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
161
-                导出排班333
162
-              </el-button>
163
-              <el-button
164
-                  @click="generateLog()"
165
-                  class="filter-item"
166
-                  type="primary"
167
-                  v-if="is_edit"
168
-                  size="small"
169
-              >下载日志
170
-              </el-button>
171
-              <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
172
-              </el-button>
173
-              <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
174
-              <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
175
-              <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
176
-              <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
133
+          </div>
134
+          <div >
135
+            <div v-if="!is_edit" >
136
+              <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
137
+                          :schedule-zone-row-prop="scheduleZoneRow"
138
+                          :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
139
+                          @event2="changeSchedule"  @event3="changeWeekDay"  @guanliu_show="guanliu" @mode_name="touximoshi" v-show="showtableOne"  @event6="changeScheduleType">
140
+              </table-data>
141
+              <!-- @event6="changeScheduleType" -->
177 142
             </div>
178 143
           </div>
179
-
180
-        </edit-table-data>
181
-        <!-- 编辑上上周 -->
182
-        <beforeweekTable ref="beforeweeks" v-show="beforeshow" :week-time="activeName" :partitions-prop="partitions"
183
-                  :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
184
-          <div class="position">
185
-            <div>
186
-              <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
187
-                <el-tab-pane name="beforeWeek">
188
-                  <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
189
-                </el-tab-pane>
190
-                <el-tab-pane name="lastWeek">
191
-                  <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
192
-                </el-tab-pane>
193
-                <el-tab-pane name="thisWeek">
194
-                  <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
195
-                </el-tab-pane>
196
-                <el-tab-pane name="nextWeek">
197
-                  <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
198
-                </el-tab-pane>
199
-                <el-tab-pane name="nextTwoWeek">
200
-                  <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
201
-                </el-tab-pane>
202
-              </el-tabs>
144
+          <!-- 编辑 -->
145
+        <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
146
+            :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
147
+            title="" @event1="changePartition"@event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
148
+            <div  style="position: relative;height: 50px">
149
+              <div style="position: fixed;height: 50px;width: 97%;background: #fff;z-index: 100;padding: 5px;">
150
+                <div style="position: relative;">
151
+                  <!-- style="position: fixed;" class="position"-->
152
+                    <div style="display: inline-block;">
153
+                      <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
154
+                        <el-tab-pane name="beforeWeek">
155
+                          <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
156
+                        </el-tab-pane>
157
+                        <el-tab-pane name="lastWeek">
158
+                          <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
159
+                        </el-tab-pane>
160
+                        <el-tab-pane name="thisWeek">
161
+                          <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
162
+                        </el-tab-pane>
163
+                        <el-tab-pane name="nextWeek">
164
+                          <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
165
+                        </el-tab-pane>
166
+                        <el-tab-pane name="nextTwoWeek">
167
+                          <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
168
+                        </el-tab-pane>
169
+                      </el-tabs>
170
+                    </div>
171
+                    <div style="display: inline-block;float: right;">
172
+                      <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
173
+                      <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
174
+                      <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
175
+                        导出排班
176
+                      </el-button>
177
+                      <el-button
178
+                          @click="generateLog()"
179
+                          class="filter-item"
180
+                          type="primary"
181
+                          v-if="is_edit"
182
+                          size="small"
183
+                      >下载日志
184
+                      </el-button>
185
+                      <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
186
+                      </el-button>
187
+                      <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
188
+                      <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
189
+                      <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
190
+                      <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
191
+                    </div>
192
+                </div>
193
+              </div>
203 194
             </div>
204
-            <div style="display:flex;align-items:center">
205
-              <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
206
-              <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
207
-                导出排班
208
-              </el-button>
209
-              <el-button
210
-                  @click="generateLog()"
211
-                  class="filter-item"
212
-                  type="primary"
213
-                  v-if="is_edit"
214
-                  size="small"
215
-              >下载日志
216
-              </el-button>
217
-              <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
218
-              </el-button>
219
-              <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
220
-              <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
221
-              <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
222
-              <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
195
+          </edit-table-data>
196
+          <!-- 编辑上上周 -->
197
+          <beforeweekTable ref="beforeweeks" v-show="beforeshow" :week-time="activeName" :partitions-prop="partitions"
198
+                    :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
199
+            <div class="position">
200
+              <div>
201
+                <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
202
+                  <el-tab-pane name="beforeWeek">
203
+                    <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
204
+                  </el-tab-pane>
205
+                  <el-tab-pane name="lastWeek">
206
+                    <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
207
+                  </el-tab-pane>
208
+                  <el-tab-pane name="thisWeek">
209
+                    <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
210
+                  </el-tab-pane>
211
+                  <el-tab-pane name="nextWeek">
212
+                    <span slot="label"><i class="el-icon-date"></i> 下一周 ({{ theWeek.nextWeek }})</span>
213
+                  </el-tab-pane>
214
+                  <el-tab-pane name="nextTwoWeek">
215
+                    <span slot="label"><i class="el-icon-date"></i> 下下周 ({{ theWeek.nextTwoWeek }})</span>
216
+                  </el-tab-pane>
217
+                </el-tabs>
218
+              </div>
219
+              <div style="display:flex;align-items:center">
220
+                <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
221
+                <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
222
+                  导出排班
223
+                </el-button>
224
+                <el-button
225
+                    @click="generateLog()"
226
+                    class="filter-item"
227
+                    type="primary"
228
+                    v-if="is_edit"
229
+                    size="small"
230
+                >下载日志
231
+                </el-button>
232
+                <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
233
+                </el-button>
234
+                <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
235
+                <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
236
+                <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
237
+                <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
238
+              </div>
223 239
             </div>
224
-          </div>
225
-        </beforeweekTable>
226
-        <!-- 历史 -->
227
-        <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
228
-                  :schedule-zone-row-prop="scheduleZoneRow"
229
-                  :schedule-zone-prop="scheduleZone" title="" >
230
-          </HistoryWeekTable>
231
-      <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
232
-        <el-form :model="form" ref="form" label-width="90px" :rules="rules">
233
-          <el-form-item label="周次:">
234
-            <el-radio v-model="form.lastweek" label="1">上周排班信息</el-radio>
235
-            <el-radio v-model="form.lastweek" label="2">本周排班信息</el-radio>
236
-          </el-form-item>
237
-          <el-form-item label="复制到 : " required prop="copyWeek">
238
-            <el-select v-model="form.copyWeek" placeholder="请选择">
239
-              <el-option
240
-                  v-for="item in typeOptions"
241
-                  :key="item.value"
242
-                  :label="item.label"
243
-                  :value="item.value">
244
-              </el-option>
245
-            </el-select>
246
-          </el-form-item>
247
-
248
-        </el-form>
249
-        <div slot="footer" class="dialog-footer">
250
-          <el-button @click="newVisible=false">取 消</el-button>
251
-          <el-button  v-loading="copySchLoading" type="primary" @click="submitAction('form')">保 存</el-button>
240
+          </beforeweekTable>
241
+          <!-- 历史 -->
242
+          <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
243
+                    :schedule-zone-row-prop="scheduleZoneRow"
244
+                    :schedule-zone-prop="scheduleZone" title="" >
245
+            </HistoryWeekTable>
246
+          <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
247
+            <el-form :model="form" ref="form" label-width="90px" :rules="rules">
248
+              <el-form-item label="周次:">
249
+                <el-radio v-model="form.lastweek" label="1">上周排班信息</el-radio>
250
+                <el-radio v-model="form.lastweek" label="2">本周排班信息</el-radio>
251
+              </el-form-item>
252
+              <el-form-item label="复制到 : " required prop="copyWeek">
253
+                <el-select v-model="form.copyWeek" placeholder="请选择">
254
+                  <el-option
255
+                      v-for="item in typeOptions"
256
+                      :key="item.value"
257
+                      :label="item.label"
258
+                      :value="item.value">
259
+                  </el-option>
260
+                </el-select>
261
+              </el-form-item>
262
+
263
+            </el-form>
264
+            <div slot="footer" class="dialog-footer">
265
+              <el-button @click="newVisible=false">取 消</el-button>
266
+              <el-button  v-loading="copySchLoading" type="primary" @click="submitAction('form')">保 存</el-button>
267
+            </div>
268
+          </el-dialog>
252 269
         </div>
253
-      </el-dialog>
270
+      </div>
254 271
     </div>
255 272
   </div>
256 273
 </template>
@@ -832,7 +849,7 @@ export default {
832 849
       // this.export_file_step_twos()
833 850
     },
834 851
     export_file_step_two: function(){
835
-     
852
+
836 853
       this.downloadLoading = true
837 854
       import('@/vendor/Export2Excel').then(excel => {
838 855
         const filterVal = [
@@ -873,12 +890,12 @@ export default {
873 890
           })
874 891
 
875 892
           console.log("tablelist",this.tableList)
876
-          
893
+
877 894
 
878 895
           const filename = '排班模版'
879 896
 
880 897
           console.log('333333333',multiHeader),
881
-          
898
+
882 899
           excel.export_json_to_excel({
883 900
 
884 901
             multiHeader,
@@ -1198,7 +1215,8 @@ export default {
1198 1215
             data.push(Object.values(item))
1199 1216
 
1200 1217
           })
1201
-
1218
+          console.log("tablesit",this.tableList)
1219
+          return
1202 1220
           const filename = '排班模版'
1203 1221
 
1204 1222
           if (this.$store.getters.xt_user.org.id == 10234) {
@@ -3223,7 +3241,7 @@ export default {
3223 3241
                     }
3224 3242
                     else{
3225 3243
                       list[i].shangwu5 = week[j].name+" "+this.getmode(week[j].mode_id)+" "+week[j].dialysis_machine_name
3226
-                     
3244
+
3227 3245
                     }
3228 3246
                   }
3229 3247
                   //周六下午
@@ -3637,7 +3655,7 @@ export default {
3637 3655
                     else{
3638 3656
                       list[i].xiawu14 = lastWeek[j].name+" "+this.getmode(lastWeek[j].mode_id)+" "+lastWeek[j].dialysis_machine_name
3639 3657
                     }
3640
-                   
3658
+
3641 3659
                   }
3642 3660
                   //周一晚上
3643 3661
                   if (lastWeek[j].schedule_week == 1 && lastWeek[j].schedule_type == 3) {
@@ -4706,7 +4724,7 @@ export default {
4706 4724
                       }
4707 4725
                       else{
4708 4726
                         list[i].shangwu5 = week[j].name+" "+this.getmode(week[j].mode_id)+" "+week[j].dialysis_machine_name
4709
-                      
4727
+
4710 4728
                       }
4711 4729
                     }
4712 4730
                     //周六下午
@@ -5050,7 +5068,7 @@ export default {
5050 5068
       //     return this.mode[i].name
5051 5069
       //   }
5052 5070
       // }
5053
-    
5071
+
5054 5072
       var mode_name =""
5055 5073
       for(let i=0;i<this.mode.length;i++){
5056 5074
         if(ids==this.mode[i].id){
@@ -5062,7 +5080,7 @@ export default {
5062 5080
     }
5063 5081
   },
5064 5082
   created() {
5065
-    
5083
+
5066 5084
     this.getlist()
5067 5085
     this.getPatientList()
5068 5086
     var start_time = moment().weekday(1).format('YYYY-MM-DD');

+ 162 - 150
src/xt_pages/workforce/components/editTableData.vue Datei anzeigen

@@ -6,140 +6,145 @@
6 6
     <div class="table_contain">
7 7
       <!-- 左侧 -->
8 8
       <div class="left_contain">
9
-        <div class="cell clearfix"
10
-            v-if="
11
-            weekTime == 'thisWeek' ||
12
-            weekTime == 'nextWeek' ||
13
-            weekTime == 'nextTwoWeek'
14
-          ">
15
-          <el-input
16
-              size="small"
17
-              style="width: 160px"
18
-              class="filter-item"
19
-              v-model.trim="keywords"
20
-              placeholder="病人名称/透析号"
21
-              @keyup.enter.native="search"
22
-          />
23
-          <el-button
24
-              size="small"
25
-              class="filter-item"
26
-              type="primary"
27
-              icon="el-icon-search"
28
-              @click="search"
29
-          >搜索</el-button>
9
+        <div style="position: fixed;width: 13%;">
10
+          <div class="cell clearfix"
11
+              v-if="
12
+              weekTime == 'thisWeek' ||
13
+              weekTime == 'nextWeek' ||
14
+              weekTime == 'nextTwoWeek'
15
+            ">
16
+            <el-input
17
+                size="small"
18
+                style="width: 160px"
19
+                class="filter-item"
20
+                v-model.trim="keywords"
21
+                placeholder="病人名称/透析号"
22
+                @keyup.enter.native="search"
23
+            />
24
+            <el-button
25
+                size="small"
26
+                class="filter-item"
27
+                type="primary"
28
+                icon="el-icon-search"
29
+                @click="search"
30
+            >搜索</el-button>
30 31
 
31
-        </div>
32
-        <div style="margin-bottom: 10px; display: flex">
33
-          <h3 style="line-height: 45px">
34
-            <span
35
-                style="margin-right: 10px; font-size: 16px; white-space: nowrap"
36
-            >当前选择</span
37
-            >
38
-          </h3>
39
-          <div style="line-height: 30px">
40
-            <!-- 拖拽dragstart -->
41
-            <div
42
-                draggable="true"
43
-                class="item_touz"
44
-                style="font-weight: bolder"
45
-                @dragstart="curInfoDragStart()"
46
-            >
47
-              <span>{{ cur_info.patient_name }}</span>
48
-              &nbsp;
49
-              <span>{{ cur_info.mode_name }}</span>
32
+          </div>
33
+          <div style="margin-bottom: 10px; display: flex">
34
+            <h3 style="line-height: 45px">
35
+              <span
36
+                  style="margin-right: 10px; font-size: 16px; white-space: nowrap"
37
+              >当前选择</span
38
+              >
39
+            </h3>
40
+            <div style="line-height: 30px">
41
+              <!-- 拖拽dragstart -->
42
+              <div
43
+                  draggable="true"
44
+                  class="item_touz"
45
+                  style="font-weight: bolder"
46
+                  @dragstart="curInfoDragStart()"
47
+              >
48
+                <span>{{ cur_info.patient_name }}</span>
49
+                &nbsp;
50
+                <span>{{ cur_info.mode_name }}</span>
51
+              </div>
50 52
             </div>
51 53
           </div>
52
-        </div>
53
-        <div class="patient_mode">
54
-          <el-table
55
-              :row-style="{ color: '#303133' }"
56
-              :header-cell-style="{
57
-                backgroundColor: 'rgb(245, 247, 250)',
58
-                color: '#606266',
59
-              }"
60
-              :data="patientList"
61
-              height='600'
62
-              border
63
-              @row-click="patientClick"
64
-              :cell-class-name="patientClass"
65
-              ref="patient_table"
66
-              style="width: 100%; margin-right: 14px ;"
67
-          >
68
-            <el-table-column
69
-                label="患者名称"
70
-                align="center"
54
+          <div class="patient_mode">
55
+            <el-table
56
+                :row-style="{ color: '#303133' }"
57
+                :header-cell-style="{
58
+                  backgroundColor: 'rgb(245, 247, 250)',
59
+                  color: '#606266',
60
+                }"
61
+                :data="patientList"
62
+                height='600'
63
+                border
64
+                @row-click="patientClick"
65
+                :cell-class-name="patientClass"
66
+                ref="patient_table"
67
+                style="width: 100%; margin-right: 14px ;"
71 68
             >
72
-             <template slot-scope="scope">
73
-                <span v-if="scope.row.is_infectious == 2" style="color: red;">{{scope.row.name  }}</span>
74
-                <span v-if="scope.row.is_infectious != 2" >
75
-                  {{scope.row.name  }}
76
-                </span>
77
-                <!-- <span class="touxi_cishu"  @click="chishuclick(scope.row.name)">
78
-                  0/4
79
-                </span> -->
80
-             </template>
81
-            </el-table-column>
82
-          </el-table>
83
-
84
-          <el-table
85
-              :row-style="{ color: '#303133' }"
86
-              :header-cell-style="{
87
-                backgroundColor: 'rgb(245, 247, 250)',
88
-                color: '#606266',
89
-              }"
90
-              :data="modes"
91
-              height="600"
92
-              :cell-class-name="dialysis_patient"
93
-              ref="mode_table"
94
-              @row-click="modeClick"
95
-              border
96
-              style="width: 100%;"
97
-          >
98
-            <el-table-column
99
-                prop="name"
100
-                label="透析模式"
101
-                align="center"
102
-            ></el-table-column>
103
-          </el-table>
69
+              <el-table-column
70
+                  label="患者名称"
71
+                  align="center"
72
+              >
73
+              <template slot-scope="scope">
74
+                  <span v-if="scope.row.is_infectious == 2" style="color: red;">{{scope.row.name  }}</span>
75
+                  <span v-if="scope.row.is_infectious != 2" >
76
+                    {{scope.row.name  }}
77
+                  </span>
78
+                  <!-- <span class="touxi_cishu"  @click="chishuclick(scope.row.name)">
79
+                    0/4
80
+                  </span> -->
81
+              </template>
82
+              </el-table-column>
83
+            </el-table>
84
+
85
+            <el-table
86
+                :row-style="{ color: '#303133' }"
87
+                :header-cell-style="{
88
+                  backgroundColor: 'rgb(245, 247, 250)',
89
+                  color: '#606266',
90
+                }"
91
+                :data="modes"
92
+                height="600"
93
+                :cell-class-name="dialysis_patient"
94
+                ref="mode_table"
95
+                @row-click="modeClick"
96
+                border
97
+                style="width: 100%;"
98
+            >
99
+              <el-table-column
100
+                  prop="name"
101
+                  label="透析模式"
102
+                  align="center"
103
+              ></el-table-column>
104
+            </el-table>
105
+          </div>
104 106
         </div>
105 107
       </div>
106 108
       <!-- 右侧 -->
107 109
       <div class="right_contain">
108
-        <span>日期:</span>
109
-        <el-select v-model="week_type" style="margin-bottom: 15px;" placeholder="请选择" multiple>
110
-          <el-option
111
-              @change="changeWeekDay"
112
-              v-for="(item, index) in week_zhongwens"
113
-              :key="index"
114
-              :label="item"
115
-              :value="item"
116
-          >
117
-          </el-option>
118
-        </el-select>
119
-
120
-        <span>分区:</span>
121
-        <!-- 下拉框 -->
122
-        <el-select
123
-            v-model="partition_id"
124
-            multiple
125
-            placeholder="请选择"
126
-            @change="changePartiton"
127
-        >
128
-          <el-option
129
-              v-for="item in this.zones"
130
-              :key="item.id"
131
-              :label="item.name"
132
-              :value="item.id"
133
-          >
134
-          </el-option>
135
-        </el-select>
136
-        <!-- 显示透析模式开关 -->
137
-        <el-switch
138
-          v-model="modename_value"
139
-          :active-value=true
140
-          active-text="显示透析模式"
141
-          @change="switchMode(modename_value)">
142
-        </el-switch>
110
+        <div style="position: relative;height: 50px;">
111
+          <div style="position: fixed; z-index: 100;width: 83%;background: #fff;">
112
+            <span>日期:</span>
113
+            <el-select v-model="week_type" style="margin-bottom: 15px;" placeholder="请选择" multiple>
114
+              <el-option
115
+                  @change="changeWeekDay"
116
+                  v-for="(item, index) in week_zhongwens"
117
+                  :key="index"
118
+                  :label="item"
119
+                  :value="item"
120
+              >
121
+              </el-option>
122
+            </el-select>
123
+            <span>分区:</span>
124
+            <!-- 下拉框 -->
125
+            <el-select
126
+                v-model="partition_id"
127
+                multiple
128
+                placeholder="请选择"
129
+                @change="changePartiton"
130
+            >
131
+              <el-option
132
+                  v-for="item in this.zones"
133
+                  :key="item.id"
134
+                  :label="item.name"
135
+                  :value="item.id"
136
+              >
137
+              </el-option>
138
+            </el-select>
139
+            <!-- 显示透析模式开关 -->
140
+            <el-switch
141
+              v-model="modename_value"
142
+              :active-value=true
143
+              active-text="显示透析模式"
144
+              @change="switchMode(modename_value)">
145
+            </el-switch>
146
+          </div>
147
+        </div>
143 148
         <!-- 编辑排班表格 -->
144 149
           <el-table id="eltable"
145 150
             :row-style="{ color: '#303133' }"
@@ -163,19 +168,18 @@
163 168
             :cell-class-name="cellClass"
164 169
             :cell-style ='cellstyle'
165 170
             :row-class-name="tableRowClassName"
171
+            :sticky-header="true"
166 172
             show-summary
167
-            height="calc(100% - 50px)"
173
+
168 174
             ref="table"
169 175
             style="table-layout: fixed;"
170
-
171
-        >
172
-        <!-- :cell-style ='cellstyle'    :height="tableContainHeight" calc(100% - 50px) 600-->
176
+          >
177
+          <!-- height="100%"  height="calc(100% - 50px)" -->
173 178
           <el-table-column
174 179
               prop="area"
175 180
               label="分区"
176 181
               min-width="60"
177 182
               align="center"
178
-              fixed
179 183
 
180 184
           ></el-table-column>
181 185
           <el-table-column
@@ -183,7 +187,7 @@
183 187
               label="机号"
184 188
               min-width="50"
185 189
               align="center"
186
-              fixed
190
+
187 191
 
188 192
           ></el-table-column>
189 193
           <el-table-column
@@ -568,7 +572,7 @@
568 572
                         scope.row
569 573
                       )
570 574
                     "
571
-                     @mouseover.native="
575
+                    @mouseover.native="
572 576
                       mouseoveinfo(
573 577
                         $event,
574 578
                         'Wed_M',
@@ -619,7 +623,7 @@
619 623
                         scope.row.Wed_A,
620 624
                         scope.row
621 625
                       )"
622
-                       @mouseover.native="
626
+                      @mouseover.native="
623 627
                         mouseoveinfo(
624 628
                           $event,
625 629
                           'Wed_A',
@@ -672,7 +676,7 @@
672 676
                         scope.row
673 677
                       )
674 678
                     "
675
-                     @mouseover.native="
679
+                    @mouseover.native="
676 680
                       mouseoveinfo(
677 681
                         $event,
678 682
                         'Wed_N',
@@ -845,7 +849,7 @@
845 849
                         'Thurs_N',
846 850
                         scope.row.index,
847 851
                         scope.row.Thurs_N,
848
-                           scope.row
852
+                          scope.row
849 853
                       )
850 854
                     "
851 855
                     @mouseover.native="
@@ -879,7 +883,7 @@
879 883
                       v-show="scope.row.Fri_M.patient_id== 0 ? false : true"
880 884
                   ></el-button>
881 885
                 </div>
882
-                 <div
886
+                <div
883 887
                 draggable="true"
884 888
                 @drop="
885 889
                   drop($event,
@@ -890,7 +894,7 @@
890 894
                 @dragover="allowDrop"
891 895
 
892 896
                   >
893
-                     <schedule-item
897
+                    <schedule-item
894 898
                       :schedule-detail="scope.row.Fri_M"
895 899
                       :draggable="isEditForDate('Fri_M')&&scope.row.Fri_M ? 'true' : 'false'"
896 900
                       class="contitem"
@@ -900,7 +904,7 @@
900 904
                         scope.row.index,
901 905
                         scope.row.Fri_M,
902 906
                         scope.row )"
903
-                       @mouseover.native="
907
+                      @mouseover.native="
904 908
                         mouseoveinfo(
905 909
                           $event,
906 910
                           'Fri_M',
@@ -1105,7 +1109,7 @@
1105 1109
                         scope.row.Sat_A,
1106 1110
                         scope.row
1107 1111
                       )"
1108
-                       @mouseover.native="
1112
+                      @mouseover.native="
1109 1113
                         mouseoveinfo(
1110 1114
                           $event,
1111 1115
                           'Sat_A',
@@ -1157,7 +1161,7 @@
1157 1161
                         scope.row
1158 1162
                       )
1159 1163
                     "
1160
-                     @mouseover.native="
1164
+                    @mouseover.native="
1161 1165
                         mouseoveinfo(
1162 1166
                           $event,
1163 1167
                           'Sat_N',
@@ -1220,7 +1224,7 @@
1220 1224
                         scope.row.Sun_M,
1221 1225
                         scope.row
1222 1226
                       )"
1223
-                       @mouseover.native="
1227
+                      @mouseover.native="
1224 1228
                         mouseoveinfo(
1225 1229
                           $event,
1226 1230
                           'Sun_M',
@@ -1277,7 +1281,7 @@
1277 1281
                         scope.row
1278 1282
                       )
1279 1283
                     "
1280
-                     @mouseover.native="
1284
+                    @mouseover.native="
1281 1285
                         mouseoveinfo(
1282 1286
                           $event,
1283 1287
                           'Sun_A',
@@ -1334,7 +1338,7 @@
1334 1338
                         scope.row
1335 1339
                       )
1336 1340
                     "
1337
-                     @mouseover.native="
1341
+                    @mouseover.native="
1338 1342
                         mouseoveinfo(
1339 1343
                           $event,
1340 1344
                           'Sun_N',
@@ -4143,7 +4147,7 @@ export default {
4143 4147
       //   // console.log('这是row',subslice);
4144 4148
       //   if(row.zone_id==subslice[0].zone_id && row.jihao_id == subslice[0].id ){
4145 4149
       //     // console.log('33333333333',subslice);
4146
-      if(this.org_id!=10503 && this.org_id!=10447 && this.org_id!=0){
4150
+      if(this.org_id!=10503 && this.org_id!=10447 && this.org_id!=0 && this.org_id !=10471){
4147 4151
         return 'border: 1px solid #707174;border-collapse: collapse;'
4148 4152
       }
4149 4153
       //   }
@@ -6224,7 +6228,7 @@ textarea{
6224 6228
   overflow: auto;
6225 6229
   margin: 0;
6226 6230
   background: #fff;
6227
-  padding: 20px;
6231
+  padding:0 20px 20px 20px;
6228 6232
   z-index:2000;
6229 6233
   height: 100%;
6230 6234
 }
@@ -6254,10 +6258,7 @@ textarea{
6254 6258
   // color: #3a8ee6;
6255 6259
 }
6256 6260
 #edit_table_data {
6257
-// .el-table__body tr.current-row  {
6258
-//   background-color: #ecf5ff !important;
6259
-//   color: #3a8ee6;
6260
-// }
6261
+
6261 6262
 .el-table__body tr > td:hover {
6262 6263
   background-color: #3a8ee6 !important;
6263 6264
   color: #fff;
@@ -6307,6 +6308,17 @@ textarea{
6307 6308
 }
6308 6309
 }
6309 6310
 }
6311
+// 固定表头
6312
+#eltable{
6313
+  .el-table__header-wrapper{
6314
+    position: relative;
6315
+    height: 68px;
6316
+    .el-table__header{
6317
+      position: fixed;
6318
+      z-index: 100;
6319
+    }
6320
+  }
6321
+}
6310 6322
 
6311 6323
 </style>
6312 6324
 

+ 107 - 95
src/xt_pages/workforce/components/tableData.vue Datei anzeigen

@@ -1,94 +1,97 @@
1 1
 <template>
2 2
   <div id="table_data">
3
+    <div style="position: relative;height: 48px;padding-bottom:12px ">
4
+      <div style="position: fixed;z-index: 100;background: #fff;width: 80%;">
5
+        <div class="cell clearfix" v-if="weekTime == 'thisWeek' || weekTime == 'nextWeek'  || weekTime == 'nextTwoWeek' ">
6
+          <div class="select_list">
3 7
 
4
-    <div class="cell clearfix" v-if="weekTime == 'thisWeek' || weekTime == 'nextWeek'  || weekTime == 'nextTwoWeek' ">
5
-      <div class="select_list">
8
+            <span>日期:</span>
9
+            <el-select
10
+                v-model="week_type"
11
+                placeholder="请选择"
12
+                multiple
13
+              @change="changeWeekDay"
14
+              style="width: 120px;"
15
+            >
16
+              <el-option
17
+                  v-for="(item,index) in weeks"
18
+                  :key="index"
19
+                  :label="item"
20
+                  :value="item"
21
+              >
22
+              </el-option>
23
+            </el-select>
6 24
 
7
-        <span>日期:</span>
8
-        <el-select
9
-            v-model="week_type"
10
-            placeholder="请选择"
11
-            multiple
12
-           @change="changeWeekDay"
13
-           style="width: 120px;"
14
-        >
15
-          <el-option
16
-              v-for="(item,index) in weeks"
17
-              :key="index"
18
-              :label="item"
19
-              :value="item"
20
-          >
21
-          </el-option>
22
-        </el-select>
23
-
24
-        <span>分区:</span>
25
-        <el-select
26
-            v-model="partition_id"
27
-            multiple
28
-            placeholder="请选择"
29
-            @change="changePartiton"
30
-            style="width: 120px;"
31
-        >
32
-          <el-option
33
-              v-for="item in this.zones"
34
-              :key="item.id"
35
-              :label="item.name"
36
-              :value="item.id"
37
-          >
38
-          </el-option>
39
-        </el-select>
40
-
41
-        <span>班次:</span>
42
-        <el-select
43
-            v-model="scheduleType_val"
44
-            clearable
45
-            placeholder="请选择"
46
-            @change="scheduleType_change"
47
-            style="width: 120px;"
48
-        >
49
-          <!-- <el-option value=0 label="请选择"></el-option>   multiple-->
50
-          <el-option
51
-              v-for="item in this.scheduleType"
52
-              :key="item.id"
53
-              :label="item.name"
54
-              :value="item.id"
55
-          >
56
-          </el-option>
57
-        </el-select>
25
+            <span>分区:</span>
26
+            <el-select
27
+                v-model="partition_id"
28
+                multiple
29
+                placeholder="请选择"
30
+                @change="changePartiton"
31
+                style="width: 120px;"
32
+            >
33
+              <el-option
34
+                  v-for="item in this.zones"
35
+                  :key="item.id"
36
+                  :label="item.name"
37
+                  :value="item.id"
38
+              >
39
+              </el-option>
40
+            </el-select>
58 41
 
59
-      </div>
60
-      <el-input
61
-          size="small"
62
-          style="width: 120px;margin-left: 20px"
63
-          class="filter-item"
64
-          v-model.trim="keywords"
65
-          placeholder="病人名称/透析号"
66
-          @keyup.enter.native='search'
67
-      />
68
-      <el-button
69
-          size="small"
70
-          class="filter-item"
71
-          type="primary"
72
-          icon="el-icon-search"
73
-          @click="search"
74
-
75
-      >搜索</el-button>
76
-      <div class="switch">
77
-        <el-switch
78
-          v-model="value1"
79
-          :active-value=true
80
-          active-text="显示透析器/灌流器"
81
-          @change="switchThis(value1)">
82
-
83
-        </el-switch>
84
-      </div>
85
-      <div class="switch">
86
-        <el-switch
87
-          v-model="modename_value"
88
-          :active-value=true
89
-          active-text="显示透析模式"
90
-          @change="switchMode(modename_value)">
91
-        </el-switch>
42
+            <span>班次:</span>
43
+            <el-select
44
+                v-model="scheduleType_val"
45
+                clearable
46
+                placeholder="请选择"
47
+                @change="scheduleType_change"
48
+                style="width: 120px;"
49
+            >
50
+              <!-- <el-option value=0 label="请选择"></el-option>   multiple-->
51
+              <el-option
52
+                  v-for="item in this.scheduleType"
53
+                  :key="item.id"
54
+                  :label="item.name"
55
+                  :value="item.id"
56
+              >
57
+              </el-option>
58
+            </el-select>
59
+
60
+          </div>
61
+          <el-input
62
+              size="small"
63
+              style="width: 120px;margin-left: 20px"
64
+              class="filter-item"
65
+              v-model.trim="keywords"
66
+              placeholder="病人名称/透析号"
67
+              @keyup.enter.native='search'
68
+          />
69
+          <el-button
70
+              size="small"
71
+              class="filter-item"
72
+              type="primary"
73
+              icon="el-icon-search"
74
+              @click="search"
75
+
76
+          >搜索</el-button>
77
+          <div class="switch">
78
+            <el-switch
79
+              v-model="value1"
80
+              :active-value=true
81
+              active-text="显示透析器/灌流器"
82
+              @change="switchThis(value1)">
83
+
84
+            </el-switch>
85
+          </div>
86
+          <div class="switch">
87
+            <el-switch
88
+              v-model="modename_value"
89
+              :active-value=true
90
+              active-text="显示透析模式"
91
+              @change="switchMode(modename_value)">
92
+            </el-switch>
93
+          </div>
94
+        </div>
92 95
       </div>
93 96
     </div>
94 97
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%" class="eldialog">
@@ -242,9 +245,8 @@
242 245
       </div>
243 246
     </el-dialog>
244 247
 
245
-    <div class="center-tab">
246
-
247
-      <el-table
248
+    <div class="center-tab" style="position: relative;height: 70vh;overflow: overlay;">
249
+      <el-table class="eltables"
248 250
         :row-style="{ color: '#303133' }"
249 251
         :header-cell-style="{
250 252
           backgroundColor: 'rgb(245, 247, 250)',
@@ -261,17 +263,17 @@
261 263
         show-summary
262 264
         :cell-class-name="cellClass"
263 265
         sum-text="总数"
264
-        height="calc(100vh - 200px)"
266
+        
265 267
         ref="table"
266 268
         style="table-layout: fixed;"
267 269
       >
268
-      <!-- :height="tableContainHeight" -->
270
+      <!-- :height="tableContainHeight" height="calc(100vh - 200px)"-->
269 271
         <el-table-column
270 272
           prop="area"
271 273
           label="分区"
272 274
           width="50"
273 275
           align="center"
274
-          fixed
276
+          
275 277
         >
276 278
         </el-table-column>
277 279
         <el-table-column
@@ -279,7 +281,7 @@
279 281
           label="机号"
280 282
           align="center"
281 283
           min-width="40"
282
-          fixed
284
+          
283 285
 
284 286
         ></el-table-column>
285 287
         <el-table-column
@@ -787,7 +789,7 @@ export default {
787 789
   },
788 790
   data() {
789 791
     return {
790
-      // tableContainHeight:null,
792
+      tableContainHeight:null,
791 793
       value1:false,
792 794
       modename_value:true,
793 795
       weeks:weekOptions,
@@ -1458,7 +1460,7 @@ export default {
1458 1460
       // return 'border-bottom: 1px solid #707174;'
1459 1461
 
1460 1462
       // console.log('555555',this.subzone);
1461
-      if(this.org_id!=10503 && this.org_id!=10447 && this.org_id!=0){
1463
+      if(this.org_id!=10503 && this.org_id!=10447 && this.org_id!=0 && this.org_id !=10471){
1462 1464
         return 'border: 1px solid #707174;border-collapse: collapse;'
1463 1465
       }
1464 1466
       
@@ -4312,6 +4314,16 @@ textarea{
4312 4314
     z-index: 3 !important;
4313 4315
 }
4314 4316
 }
4317
+.eltables{
4318
+  .el-table__header-wrapper{
4319
+    position: relative;
4320
+    height: 68px;
4321
+    .el-table__header{
4322
+      position: fixed;
4323
+      z-index: 100;
4324
+    }
4325
+  }
4326
+}
4315 4327
 
4316 4328
 // .el-table td .cell{
4317 4329
 //   padding: 0px 0px !important;