Browse Source

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

XMLWAN 1 year ago
parent
commit
76b690811c
100 changed files with 8875 additions and 955 deletions
  1. 1 1
      build/cdn.json
  2. 19 1
      src/api/device.js
  3. 24 2
      src/api/inspection.js
  4. 93 1
      src/api/patient.js
  5. 1 0
      src/lang/en.js
  6. 5 2
      src/lang/zh.js
  7. 5 2
      src/router/index.js
  8. 3 2
      src/router/index_路由未分离前.js
  9. 16 1
      src/router/modules/device.js
  10. 9 0
      src/router/modules/dialysis.js
  11. 52 2
      src/router/modules/patient.js
  12. 1 0
      src/store/getters.js
  13. 38 0
      src/store/modules/globalConfig.js
  14. 17 7
      src/xt_pages/data/components/addInspection.vue
  15. 15 5
      src/xt_pages/data/components/diagnoseOther.vue
  16. 8 1
      src/xt_pages/data/components/diagnoseOtherDialog.vue
  17. 4 0
      src/xt_pages/data/components/diagnosis.vue
  18. 13 3
      src/xt_pages/data/components/editInspection.vue
  19. 5 0
      src/xt_pages/data/components/inspection.vue
  20. 2 2
      src/xt_pages/data/components/templateTable.vue
  21. 2 0
      src/xt_pages/data/template.vue
  22. 402 74
      src/xt_pages/device/airDisinfectTwo.vue
  23. 475 83
      src/xt_pages/device/objectTableDisinfectTwo.vue
  24. 2 0
      src/xt_pages/dialysis/PatientBox.vue
  25. 31 13
      src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue
  26. 320 338
      src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue
  27. 58 6
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  28. 44 4
      src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue
  29. 4 0
      src/xt_pages/dialysis/components/consumablesDialog.vue
  30. 4 0
      src/xt_pages/dialysis/components/dialysisDrugsDialog.vue
  31. 4 0
      src/xt_pages/dialysis/components/dialysisParametersDialog.vue
  32. 36 26
      src/xt_pages/dialysis/details/consumable/dialysisDrug.vue
  33. 33 23
      src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue
  34. 1 0
      src/xt_pages/dialysis/details/consumable/dialysisGood.vue
  35. 1 1
      src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue
  36. 93 9
      src/xt_pages/dialysis/details/consumable/dialysisParameter.vue
  37. 48 2
      src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue
  38. 41 38
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  39. 11 9
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue
  40. 3 6
      src/xt_pages/dialysis/details/dialog/finish_dialog.vue
  41. 84 10
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  42. 1 2
      src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue
  43. 4 4
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  44. 179 128
      src/xt_pages/dialysis/details/index.vue
  45. 998 0
      src/xt_pages/dialysis/dialysisFlow.vue
  46. 68 13
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  47. 10 4
      src/xt_pages/dialysis/signPrint.vue
  48. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue
  49. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue
  50. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue
  51. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue
  52. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue
  53. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue
  54. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue
  55. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue
  56. 37 17
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue
  57. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue
  58. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftySix.vue
  59. 82 45
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue
  60. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThreeAdvice.vue
  61. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyTwo.vue
  62. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFiftyfive.vue
  63. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue
  64. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue
  65. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue
  66. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue
  67. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue
  68. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue
  69. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue
  70. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue
  71. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue
  72. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue
  73. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue
  74. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue
  75. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue
  76. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue
  77. 20 3
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  78. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue
  79. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue
  80. 50 7
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  81. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue
  82. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue
  83. 4051 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue
  84. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyOne.vue
  85. 1 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyThree.vue
  86. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue
  87. 1223 0
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  88. 24 4
      src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue
  89. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue
  90. 4 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue
  91. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue
  92. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue
  93. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue
  94. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue
  95. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue
  96. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue
  97. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue
  98. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyThree.vue
  99. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue
  100. 0 0
      src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "1.0.5"
2
+  "version": "1.0.6"
3
 }
3
 }

+ 19 - 1
src/api/device.js View File

265
   
265
   
266
   return request({
266
   return request({
267
     url:"/api/manage/updatenewairdisinfect",
267
     url:"/api/manage/updatenewairdisinfect",
268
-    method:post,
268
+    method:"post",
269
     data:data,
269
     data:data,
270
   })
270
   })
271
 }
271
 }
322
     method:"get",
322
     method:"get",
323
     params:params
323
     params:params
324
   })
324
   })
325
+}
326
+
327
+export function getAirDisinfectLongTime(params){
328
+  
329
+  return request({
330
+    url:"/api/manage/getairdisinfectionlongtime",
331
+    method:"get",
332
+    params:params
333
+  })
334
+}
335
+
336
+export function getObjectTableDisinfectLongTime(params){
337
+  
338
+  return request({
339
+    url:"/api/manage/getobjcttabledisinfectlongtime",
340
+    method:"get",
341
+    params:params,
342
+  })
325
 }
343
 }

+ 24 - 2
src/api/inspection.js View File

3
   fromTextArea
3
   fromTextArea
4
 } from 'codemirror'
4
 } from 'codemirror'
5
 
5
 
6
-export function fetchInspectionReference(id) {
6
+export function fetchInspectionReference(id,type) {
7
   return request({
7
   return request({
8
-    url: '/api/patient/inspection/reference?patient=' + id,
8
+    url: '/api/patient/inspection/reference?patient=' + id+"&type=" + type,
9
     method: 'get'
9
     method: 'get'
10
   })
10
   })
11
 }
11
 }
59
     params: params
59
     params: params
60
   })
60
   })
61
 }
61
 }
62
+
63
+
64
+export function CreatePatientPICInspection(id, data) {
65
+  return request({
66
+    url: '/api/patient/pic_inspection/create?patient=' + id,
67
+    method: 'post',
68
+    data: data
69
+  })
70
+}
71
+
72
+export function editPatientPICInspection(id, data) {
73
+  return request({
74
+    url: '/api/patient/pic_inspection/edit?patient=' + id,
75
+    method: 'post',
76
+    data: data
77
+  })
78
+}
79
+
80
+
81
+
82
+
83
+

+ 93 - 1
src/api/patient.js View File

509
 }
509
 }
510
 
510
 
511
 export function saveCreation(data) {
511
 export function saveCreation(data) {
512
- 
512
+
513
   return request({
513
   return request({
514
     url: '/api/patient/savecreationinspection',
514
     url: '/api/patient/savecreationinspection',
515
     method: 'post',
515
     method: 'post',
652
     params: params
652
     params: params
653
   })
653
   })
654
 }
654
 }
655
+
656
+export function createSickHistoryRecord(params) {
657
+  return request({
658
+    url: '/api/patient/sickhistory/create',
659
+    method: 'get',
660
+    params: params
661
+  })
662
+}
663
+
664
+
665
+export function deleteSickHistoryRecords(params) {
666
+  return request({
667
+    url: '/api/patient/sickhistory/delete',
668
+    method: 'post',
669
+    params: params
670
+  })
671
+}
672
+
673
+ export function ModifySickHistoryRecord(params) {
674
+  return request({
675
+    url: '/api/patient/sickhistory/modify',
676
+    method: 'get',
677
+    params: params
678
+  })
679
+}
680
+
681
+export function GetSickHistoryRecords(params) {
682
+  return request({
683
+    url: '/api/patient/sickhistory',
684
+    method: 'get',
685
+    params: params
686
+  })
687
+}
688
+
689
+
690
+
691
+export function getPhysiqueCheckRecords(patient_id, start_time_ymd, end_time_ymd) {
692
+  var params = {
693
+    patient_id: patient_id,
694
+    start_time: start_time_ymd,
695
+    end_time: end_time_ymd
696
+  }
697
+  return request({
698
+    url: '/api/patient/physiquecheck',
699
+    method: 'get',
700
+    params: params
701
+  })
702
+}
703
+export function createPhysiqueCheckRecord(params) {
704
+  return request({
705
+    url: '/api/patient/physiquecheck/create',
706
+    method: 'get',
707
+    params: params
708
+  })
709
+}
710
+
711
+export function modifyPhysiqueCheckRecord(params) {
712
+  return request({
713
+    url: '/api/patient/physiquecheck/modify',
714
+    method: 'get',
715
+    params: params
716
+  })
717
+}
718
+
719
+
720
+export function deletePhysiqueCheckRecords(params) {
721
+  return request({
722
+    url: '/api/patient/physiquecheck/delete',
723
+    method: 'post',
724
+    params: params
725
+  })
726
+}
727
+
728
+
729
+export function getPhysiqueCheckRecordsPrint(params) {
730
+  return request({
731
+    url: '/api/patient/physiquecheck/print',
732
+    method: 'get',
733
+    params: params
734
+  })
735
+}
736
+
737
+
738
+export function getSickhistoryCheckRecordsPrint(params) {
739
+  return request({
740
+    url: '/api/patient/sickhistory/print',
741
+    method: 'get',
742
+    params: params
743
+  })
744
+}
745
+
746
+

+ 1 - 0
src/lang/en.js View File

78
     dialysisSolution: 'dialysisSolution',
78
     dialysisSolution: 'dialysisSolution',
79
     inspection: 'Inspection',
79
     inspection: 'Inspection',
80
     home: 'home',
80
     home: 'home',
81
+    infor:'infor',
81
     weight: 'weight',
82
     weight: 'weight',
82
     dialysisRecord: 'dialysisRecord',
83
     dialysisRecord: 'dialysisRecord',
83
     scheduling: 'scheduling',
84
     scheduling: 'scheduling',

+ 5 - 2
src/lang/zh.js View File

81
     template: '数据模版',
81
     template: '数据模版',
82
     druguse: '医嘱模版',
82
     druguse: '医嘱模版',
83
     watch: '透析监测',
83
     watch: '透析监测',
84
+    flow:'透析流程',
84
     addAdmin: '新增用户',
85
     addAdmin: '新增用户',
85
     editAdmin: '编辑用户信息',
86
     editAdmin: '编辑用户信息',
86
     setupPerview: '设置权限',
87
     setupPerview: '设置权限',
92
     dialysisSolution: '透析处方',
93
     dialysisSolution: '透析处方',
93
     inspection: '检验检查',
94
     inspection: '检验检查',
94
     home: '透析首页',
95
     home: '透析首页',
96
+    infor:'信息归档',
95
     weight: '干体重',
97
     weight: '干体重',
96
     dialysisRecord: '透析记录',
98
     dialysisRecord: '透析记录',
97
     scheduling: '排班信息',
99
     scheduling: '排班信息',
102
     deviceManage: '院感管理',
104
     deviceManage: '院感管理',
103
     modemanagement: '型号配置',
105
     modemanagement: '型号配置',
104
     dialysisMachineManage: '设备管理',
106
     dialysisMachineManage: '设备管理',
107
+    
105
     workforce: '患者排班',
108
     workforce: '患者排班',
106
     appointment: '排班管理',
109
     appointment: '排班管理',
107
     sign: '治疗签到',
110
     sign: '治疗签到',
393
     config_value: '字段值',
396
     config_value: '字段值',
394
     remark: '备注',
397
     remark: '备注',
395
     course_disease: '病程',
398
     course_disease: '病程',
399
+    sick_history: '病史',
396
     rescue_record: '抢救记录',
400
     rescue_record: '抢救记录',
397
     manage_ment: '设备管理',
401
     manage_ment: '设备管理',
398
     nursing_record: '透析护理记录',
402
     nursing_record: '透析护理记录',
399
     special_record: '特殊记录',
403
     special_record: '特殊记录',
400
-    template_summary: '治疗小结',
404
+    template_summary: '阶段小结',
401
     template_plan: '个性化方案',
405
     template_plan: '个性化方案',
402
     admitting_diagnosis: '入院诊断',
406
     admitting_diagnosis: '入院诊断',
403
     discharge_diagnosis: '出院诊断',
407
     discharge_diagnosis: '出院诊断',
413
     diagnostic_basis: '诊断依据',
417
     diagnostic_basis: '诊断依据',
414
     differential_diagnosis: '鉴别诊断',
418
     differential_diagnosis: '鉴别诊断',
415
     treatment_plan: '诊疗计划'
419
     treatment_plan: '诊疗计划'
416
-
417
   }
420
   }
418
 }
421
 }

+ 5 - 2
src/router/index.js View File

12
 import stock from './modules/stock'
12
 import stock from './modules/stock'
13
 import weight_sign from './modules/weight_sign'
13
 import weight_sign from './modules/weight_sign'
14
 import workforce from './modules/workforce'
14
 import workforce from './modules/workforce'
15
+
15
 import service from './modules/service'
16
 import service from './modules/service'
16
 import org from './modules/org'
17
 import org from './modules/org'
17
 import systems from './modules/systems'
18
 import systems from './modules/systems'
59
 import dictionaryManagement from './modules/dictionaryManagement'
60
 import dictionaryManagement from './modules/dictionaryManagement'
60
 import templateManagement from './modules/templateManagement'
61
 import templateManagement from './modules/templateManagement'
61
 import DepartManage from './modules/DepartManage'
62
 import DepartManage from './modules/DepartManage'
62
-import basicConfig from './modules/basicConfig'
63
+import basicConfig from './modules/basicConfig' 
63
 
64
 
64
 Vue.use(Router)
65
 Vue.use(Router)
65
 
66
 
119
     }
120
     }
120
   }]
121
   }]
121
 },
122
 },
123
+
122
 {
124
 {
123
   path: '/kuyiShopping',
125
   path: '/kuyiShopping',
124
   component: Layout,
126
   component: Layout,
199
   hisTool,
201
   hisTool,
200
   integration,
202
   integration,
201
   basicConfig,
203
   basicConfig,
202
-  supply
204
+  supply,
205
+ 
203
 ]
206
 ]
204
 
207
 
205
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证
208
 var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证

+ 3 - 2
src/router/index_路由未分离前.js View File

40
       meta: { title: 'home', icon: 'dashboard', noCache: true }
40
       meta: { title: 'home', icon: 'dashboard', noCache: true }
41
     }]
41
     }]
42
   },
42
   },
43
+ 
43
   {
44
   {
44
     path: '/service',
45
     path: '/service',
45
     component: Layout,
46
     component: Layout,
638
         meta: { title: 'inspection', noCache: true }
639
         meta: { title: 'inspection', noCache: true }
639
       },
640
       },
640
       {
641
       {
641
-        path: '/patients/course',
642
+        path: '/',
642
         component: () => import('@/xt_pages/user/courseOfDisease'),
643
         component: () => import('@/xt_pages/user/courseOfDisease'),
643
         hidden: true,
644
         hidden: true,
644
         is_menu: false,
645
         is_menu: false,
978
       { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
979
       { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
979
       { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
980
       { path: '/role/admin/specialpermission', component: () => import('@/xt_pages/role/special_permission'), name: 'special_permission_manage', meta: { title: 'special_permission_manage' }}
980
     ]
981
     ]
981
-  }
982
+  },
982
 ]
983
 ]

+ 16 - 1
src/router/modules/device.js View File

88
 
88
 
89
       }
89
       }
90
     },
90
     },
91
+
92
+
93
+    {
94
+      path: '/infor/index',
95
+      component: () => import('@/xt_pages/infor/index'),
96
+      name: 'infor',
97
+     
98
+      meta: {
99
+        title: 'infor',
100
+        noCache: true,
101
+      }
102
+    },
103
+
91
     {
104
     {
92
       path: '/device/waterformprint',
105
       path: '/device/waterformprint',
93
       component: () => import('@/xt_pages/management/components/waterFormPrint'),
106
       component: () => import('@/xt_pages/management/components/waterFormPrint'),
99
         noCache: true,
112
         noCache: true,
100
         
113
         
101
       }
114
       }
102
-    }
115
+    },
116
+
117
+  
103
 
118
 
104
   ]
119
   ]
105
 }
120
 }

+ 9 - 0
src/router/modules/dialysis.js View File

815
         noCache: true
815
         noCache: true
816
       }
816
       }
817
     },
817
     },
818
+    {
819
+      path: '/dialysis/flow',
820
+      component: () => import('@/xt_pages/dialysis/dialysisFlow'),
821
+      name: 'flow',
822
+      meta: {
823
+        title: 'flow',
824
+        noCache: true
825
+      }
826
+    },
818
   ]
827
   ]
819
 }
828
 }

+ 52 - 2
src/router/modules/patient.js View File

181
       title: 'CourseOfDiseaseManage',
181
       title: 'CourseOfDiseaseManage',
182
       noCache: true
182
       noCache: true
183
     }
183
     }
184
-  },
184
+  }, {
185
+      path: '/patients/sickhistory',
186
+      component: () => import('@/xt_pages/user/sickHistory'),
187
+      hidden: true,
188
+      is_menu: false,
189
+      name: 'sickHistory',
190
+      meta: { title: 'sickHistory', noCache: true }
191
+    }, {
192
+      path: '/patients/inspection_check',
193
+      component: () => import('@/xt_pages/user/inspectionCheck'),
194
+      hidden: true,
195
+      is_menu: false,
196
+      name: 'inspectionCheck',
197
+      meta: { title: 'inspectionCheck', noCache: true }
198
+    },{
199
+      path: '/patients/ktv',
200
+      component: () => import('@/xt_pages/user/ktv'),
201
+      hidden: true,
202
+      is_menu: false,
203
+      name: 'ktv',
204
+      meta: { title: 'ktv', noCache: true }
205
+    },{
206
+      path: '/patients/physicalexamination',
207
+      component: () => import('@/xt_pages/user/Physicalexamination'),
208
+      hidden: true,
209
+      is_menu: false,
210
+      name: 'physicalexamination',
211
+      meta: { title: 'physicalexamination', noCache: true }
212
+    },
185
   {
213
   {
186
     path: '/patients/rescue',
214
     path: '/patients/rescue',
187
     component: () => import('@/xt_pages/user/rescueRecord'),
215
     component: () => import('@/xt_pages/user/rescueRecord'),
205
     }
233
     }
206
   },
234
   },
207
   {
235
   {
208
-    path: '/course/print',
236
+    path: '/course/print',//coursePrint
209
     component: () => import('@/xt_pages/user/coursePrint'),
237
     component: () => import('@/xt_pages/user/coursePrint'),
210
     hidden: true,
238
     hidden: true,
211
     is_menu: false,
239
     is_menu: false,
215
       noCache: true
243
       noCache: true
216
     }
244
     }
217
   },
245
   },
246
+  {
247
+    path: '/sickhistory/print',
248
+    component: () => import('@/xt_pages/user/physiqueprinting'),
249
+    hidden: true,
250
+    is_menu: false,
251
+    name: 'physiquePrinting',
252
+    meta: {
253
+      title: 'physiquePrinting',
254
+      noCache: true
255
+    }
256
+  },
257
+    {
258
+      path: '/physique/print',
259
+      component: () => import('@/xt_pages/user/physiqueprintingtwo'),
260
+      hidden: true,
261
+      is_menu: false,
262
+      name: 'physiqueprintingtwo',
263
+      meta: {
264
+        title: 'physiqueprintingtwo',
265
+        noCache: true
266
+      }
267
+    },
218
   {
268
   {
219
     path: '/patient/patient/templateSummary/print',
269
     path: '/patient/patient/templateSummary/print',
220
     component: () => import('@/xt_pages/user/templateSummaryPrint'),
270
     component: () => import('@/xt_pages/user/templateSummaryPrint'),

+ 1 - 0
src/store/getters.js View File

2
   sidebar: state => state.app.sidebar,
2
   sidebar: state => state.app.sidebar,
3
   language: state => state.app.language,
3
   language: state => state.app.language,
4
   device: state => state.app.device,
4
   device: state => state.app.device,
5
+  information:state => state.app.information,
5
   visitedViews: state => state.tagsView.visitedViews,
6
   visitedViews: state => state.tagsView.visitedViews,
6
   cachedViews: state => state.tagsView.cachedViews,
7
   cachedViews: state => state.tagsView.cachedViews,
7
   token: state => state.user.token,
8
   token: state => state.user.token,

+ 38 - 0
src/store/modules/globalConfig.js View File

179
       {
179
       {
180
         id: 10,
180
         id: 10,
181
         name: '无业'
181
         name: '无业'
182
+      },
183
+      {
184
+        id: 11,
185
+        name: '灵活就业人员'
186
+      },
187
+      {
188
+        id: 12,
189
+        name: '退休人员'
182
       }
190
       }
183
     ],
191
     ],
184
     induction_options: [ // 诱导期
192
     induction_options: [ // 诱导期
886
         zongliang_unit: 'mg',
894
         zongliang_unit: 'mg',
887
         gaimingcheng_unit: '',
895
         gaimingcheng_unit: '',
888
         gaijiliang_unit: ''
896
         gaijiliang_unit: ''
897
+      },
898
+      14: {
899
+        id: 14,
900
+        name: '肝素钙注射液',
901
+        type: 1,
902
+        shouji: 1,
903
+        weichi: 1,
904
+        zongliang: 1,
905
+        gaimingcheng: -1,
906
+        gaijiliang: -1,
907
+        shouji_unit: 'mg',
908
+        weichi_unit: 'mg/h',
909
+        zongliang_unit: 'mg',
910
+        gaimingcheng_unit: '',
911
+        gaijiliang_unit: ''
912
+      },
913
+      15: {
914
+        id: 15,
915
+        name: '甲磺酸萘莫司他',
916
+        type: 1,
917
+        shouji: 1,
918
+        weichi: 1,
919
+        zongliang: 1,
920
+        gaimingcheng: -1,
921
+        gaijiliang: -1,
922
+        shouji_unit: 'mg',
923
+        weichi_unit: 'mg/h',
924
+        zongliang_unit: 'mg',
925
+        gaimingcheng_unit: '',
926
+        gaijiliang_unit: ''
889
       }
927
       }
890
     },
928
     },
891
     anticoagulants_set: {
929
     anticoagulants_set: {

+ 17 - 7
src/xt_pages/data/components/addInspection.vue View File

79
             </el-option>
79
             </el-option>
80
           </el-select>
80
           </el-select>
81
         </el-form-item>
81
         </el-form-item>
82
+        <el-form-item label="排序 : " prop="sort" style="width: 50%">
83
+          <el-input
84
+            v-model="form.sort"
85
+            placeholder=""
86
+            maxlength="30"
87
+          ></el-input>
88
+        </el-form-item>
82
         <el-form-item label="备注 : " prop="name" style="width: 100%">
89
         <el-form-item label="备注 : " prop="name" style="width: 100%">
83
           <el-input
90
           <el-input
84
             type="textarea"
91
             type="textarea"
219
         remark: "",
226
         remark: "",
220
         project_detail: "",
227
         project_detail: "",
221
         number: "1",
228
         number: "1",
229
+        sort:0,
222
       },
230
       },
223
       options: [
231
       options: [
224
         { value: 1, label: "是" },
232
         { value: 1, label: "是" },
306
           tube_color: this.form.tube_color,
314
           tube_color: this.form.tube_color,
307
           team_type: this.form.team_type,
315
           team_type: this.form.team_type,
308
           remark: this.form.remark,
316
           remark: this.form.remark,
317
+          sort:parseInt(this.form.sort),
309
         };
318
         };
310
         let data = {
319
         let data = {
311
           info: this.tableData,
320
           info: this.tableData,
316
            
325
            
317
             this.$message.success("保存成功");
326
             this.$message.success("保存成功");
318
             this.visible = false;
327
             this.visible = false;
319
-            (this.form.project_team = ""),
320
-              (this.form.price = ""),
321
-              (this.form.pinyin = ""),
322
-              (this.form.wubi = ""),
323
-              (this.form.tube_color = ""),
324
-              (this.form.team_type = ""),
325
-              (this.form.remark = "");
328
+            this.form.project_team = "",
329
+            this.form.price = "",
330
+            this.form.pinyin = "",
331
+            this.form.wubi = "",
332
+            this.form.tube_color = "",
333
+            this.form.team_type = "",
334
+            this.form.remark = "";
326
             this.tableData = [];
335
             this.tableData = [];
327
             this.form.number = "";
336
             this.form.number = "";
337
+            this.form.sort = ""
328
             this.$parent.getlist();
338
             this.$parent.getlist();
329
           } else {
339
           } else {
330
             this.$message.error("项目组套名称已存在!");
340
             this.$message.error("项目组套名称已存在!");

+ 15 - 5
src/xt_pages/data/components/diagnoseOther.vue View File

64
               </template>
64
               </template>
65
             </el-table-column>
65
             </el-table-column>
66
 
66
 
67
+            <el-table-column label="排序" align="center">
68
+              <template slot-scope="scope">
69
+                {{ scope.row.sort }}
70
+              </template>
71
+            </el-table-column>
72
+
67
             <el-table-column label="备注" align="center">
73
             <el-table-column label="备注" align="center">
68
               <template slot-scope="scope">
74
               <template slot-scope="scope">
69
                 {{ scope.row.remark }}
75
                 {{ scope.row.remark }}
164
             country_content_name: '',
170
             country_content_name: '',
165
             remark: '',
171
             remark: '',
166
             pinyin: '',
172
             pinyin: '',
167
-            wubi: ''
173
+            wubi: '',
174
+            sort:0,
168
 
175
 
169
           },
176
           },
170
           resetForm: {
177
           resetForm: {
205
               response.data.data.sick.pinyin
212
               response.data.data.sick.pinyin
206
             this.Dialog.formValue.wubi =
213
             this.Dialog.formValue.wubi =
207
               response.data.data.sick.wubi
214
               response.data.data.sick.wubi
208
-
215
+            this.Dialog.formValue.sort = response.data.data.sick.sort
209
             this.Dialog.isCreated = 2
216
             this.Dialog.isCreated = 2
210
             this.$refs.dialog.show()
217
             this.$refs.dialog.show()
211
 
218
 
258
               response.data.data.sick.pinyin
265
               response.data.data.sick.pinyin
259
             this.Dialog.formValue.wubi =
266
             this.Dialog.formValue.wubi =
260
               response.data.data.sick.wubi
267
               response.data.data.sick.wubi
261
-
268
+            this.Dialog.formValue.sort =
269
+              response.data.data.sick.sort
262
             this.Dialog.isCreated = 3
270
             this.Dialog.isCreated = 3
263
             this.Dialog.isVisibility = true
271
             this.Dialog.isVisibility = true
264
           }
272
           }
277
             remark: val.remark,
285
             remark: val.remark,
278
             id: this.editId,
286
             id: this.editId,
279
             pinyin: val.pinyin,
287
             pinyin: val.pinyin,
280
-            wubi: val.wubi
281
-
288
+            wubi: val.wubi,
289
+            sort:parseInt(val.sort)
282
           }
290
           }
283
           modifyDiagnose(params).then(response => {
291
           modifyDiagnose(params).then(response => {
284
             if (response.data.state == 0) {
292
             if (response.data.state == 0) {
301
                 response.data.data.sick.pinyin
309
                 response.data.data.sick.pinyin
302
               this.manufacturerData[this.editIndex].wubi =
310
               this.manufacturerData[this.editIndex].wubi =
303
                 response.data.data.sick.wubi
311
                 response.data.data.sick.wubi
312
+              this.manufacturerData[this.editIndex].sort =
313
+                response.data.data.sick.sort
304
 
314
 
305
               this.$message.success('修改成功')
315
               this.$message.success('修改成功')
306
             }
316
             }

+ 8 - 1
src/xt_pages/data/components/diagnoseOtherDialog.vue View File

41
             <el-input v-model="formValue.country_content_name"></el-input>
41
             <el-input v-model="formValue.country_content_name"></el-input>
42
           </el-form-item>
42
           </el-form-item>
43
         </el-col>
43
         </el-col>
44
+
45
+        <el-col :span="8">
46
+          <el-form-item label="排序" prop="">
47
+            <el-input v-model="formValue.sort"></el-input>
48
+          </el-form-item>
49
+        </el-col>
44
       </el-row>
50
       </el-row>
45
 
51
 
46
       <el-col>
52
       <el-col>
78
           country_content_name: '',
84
           country_content_name: '',
79
           remark: '',
85
           remark: '',
80
           pinyin: '',
86
           pinyin: '',
81
-          wubi: ''
87
+          wubi: '',
88
+          sort:0,
82
 
89
 
83
         },
90
         },
84
         resetForm: {
91
         resetForm: {

+ 4 - 0
src/xt_pages/data/components/diagnosis.vue View File

72
                 {{ scope.row.country_content_name }}
72
                 {{ scope.row.country_content_name }}
73
               </template>
73
               </template>
74
             </el-table-column>
74
             </el-table-column>
75
+            
76
+           
77
+
78
+        
75
 
79
 
76
             <el-table-column label="备注" align="center">
80
             <el-table-column label="备注" align="center">
77
               <template slot-scope="scope">
81
               <template slot-scope="scope">

+ 13 - 3
src/xt_pages/data/components/editInspection.vue View File

41
                         </el-option>
41
                         </el-option>
42
                     </el-select>
42
                     </el-select>
43
                 </el-form-item>
43
                 </el-form-item>
44
+                <el-form-item label="排序 : " prop="sort" style="width: 50%">
45
+                  <el-input
46
+                    v-model="form.sort"
47
+                    placeholder=""
48
+                    maxlength="30"
49
+                  ></el-input>
50
+                </el-form-item>
44
                 <el-form-item label="备注 : " prop="name" style="width:100%;">
51
                 <el-form-item label="备注 : " prop="name" style="width:100%;">
45
                     <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
52
                     <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
46
                 </el-form-item>
53
                 </el-form-item>
145
           remark: '',
152
           remark: '',
146
           project_detail: '',
153
           project_detail: '',
147
           number: '',
154
           number: '',
148
-          item_id: ''
155
+          item_id: '',
156
+          sort:'',
149
         },
157
         },
150
         options: [{
158
         options: [{
151
           value: 1,
159
           value: 1,
285
             this.form.pinyin = projectTeamDetail.pinyin
293
             this.form.pinyin = projectTeamDetail.pinyin
286
             this.form.wubi = projectTeamDetail.wubi
294
             this.form.wubi = projectTeamDetail.wubi
287
             this.form.tube_color = projectTeamDetail.tube_color
295
             this.form.tube_color = projectTeamDetail.tube_color
296
+            this.form.sort = projectTeamDetail.sort
288
             if (projectTeamDetail.tube_color == 0) {
297
             if (projectTeamDetail.tube_color == 0) {
289
               this.form.tube_color = ''
298
               this.form.tube_color = ''
290
             }
299
             }
316
               wubi: this.form.wubi,
325
               wubi: this.form.wubi,
317
               tube_color: this.form.tube_color,
326
               tube_color: this.form.tube_color,
318
               team_type: this.form.team_type,
327
               team_type: this.form.team_type,
319
-              remark: this.form.remark
328
+              remark: this.form.remark,
329
+              sort:parseInt(this.form.sort)
320
             }
330
             }
321
             let data = {
331
             let data = {
322
               'info': arr
332
               'info': arr
327
                 this.$message.success('保存成功')
337
                 this.$message.success('保存成功')
328
                 this.visible = false
338
                 this.visible = false
329
                 this.projectList = []
339
                 this.projectList = []
330
-                // this.$parent.getlist()
340
+                this.$parent.getlist()
331
               }
341
               }
332
             })
342
             })
333
           }
343
           }

+ 5 - 0
src/xt_pages/data/components/inspection.vue View File

42
                    {{scope.row.price}}
42
                    {{scope.row.price}}
43
                 </template>
43
                 </template>
44
             </el-table-column>
44
             </el-table-column>
45
+            <el-table-column label="排序" width="100" align="center">
46
+                <template slot-scope="scope">
47
+                   {{scope.row.sort}}
48
+                </template>
49
+            </el-table-column>
45
             <el-table-column prop="date" label="备注" align="center">
50
             <el-table-column prop="date" label="备注" align="center">
46
                 <template slot-scope="scope">
51
                 <template slot-scope="scope">
47
                    {{scope.row.remark}}
52
                    {{scope.row.remark}}

+ 2 - 2
src/xt_pages/data/components/templateTable.vue View File

91
           ></el-input>
91
           ></el-input>
92
         </el-form-item>
92
         </el-form-item>
93
 
93
 
94
-        <el-form-item label="内容" v-if="type == 'course_disease'">
94
+        <el-form-item label="内容" v-if="type == 'course_disease' || type == 'sick_history'">
95
           <keep-alive>
95
           <keep-alive>
96
             <editor
96
             <editor
97
               ref="editor"
97
               ref="editor"
350
     },
350
     },
351
     createData() {
351
     createData() {
352
       this.$refs["dataForm"].validate(valid => {
352
       this.$refs["dataForm"].validate(valid => {
353
-        if (this.type == "course_disease") {
353
+        if (this.type == "course_disease" || this.type == "sick_history") {
354
           this.temp.content = this.$refs.editor.content;
354
           this.temp.content = this.$refs.editor.content;
355
         }
355
         }
356
 
356
 

+ 2 - 0
src/xt_pages/data/template.vue View File

62
         { label: this.$t("data_config.diagnostic_basis"), key:"diagnostic_basis"},
62
         { label: this.$t("data_config.diagnostic_basis"), key:"diagnostic_basis"},
63
         { label: this.$t("data_config.differential_diagnosis"), key:"differential_diagnosis"},
63
         { label: this.$t("data_config.differential_diagnosis"), key:"differential_diagnosis"},
64
         { label: this.$t("data_config.treatment_plan"), key:"treatment_plan"},
64
         { label: this.$t("data_config.treatment_plan"), key:"treatment_plan"},
65
+        { label: this.$t("data_config.sick_history"), key:"sick_history"},
66
+
65
       ],
67
       ],
66
       activeName: "education",
68
       activeName: "education",
67
       createdTimes: 0
69
       createdTimes: 0

+ 402 - 74
src/xt_pages/device/airDisinfectTwo.vue View File

28
           </div>
28
           </div>
29
           <div style="float:right;margin-bottom:10px;">
29
           <div style="float:right;margin-bottom:10px;">
30
             <el-button type="primary" @click="printCard">打印</el-button>
30
             <el-button type="primary" @click="printCard">打印</el-button>
31
-            <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
31
+            <el-button type="primary" @click="AddCard">新增</el-button>
32
 
32
 
33
           </div>
33
           </div>
34
           <div class="tab_air">
34
           <div class="tab_air">
44
                 </el-table-column>
44
                 </el-table-column>
45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
46
                     <template slot-scope="scope">
46
                     <template slot-scope="scope">
47
-                      {{ getTimeTwo(scope.row.first_start_time)}} - {{ getTimeTwo(scope.row.first_end_time) }}
47
+                      {{getTimeTwo(scope.row.first_start_time)}} - {{ getTimeTwo(scope.row.first_end_time) }}
48
                     </template>
48
                     </template>
49
                 </el-table-column>
49
                 </el-table-column>
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
54
                 </el-table-column>
54
                 </el-table-column>
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
56
                     <template slot-scope="scope">
56
                     <template slot-scope="scope">
57
-                      {{getName(scope.row.first_creator)}}
57
+                        {{getName(scope.row.first_creator)}}
58
+
58
                     </template>
59
                     </template>
59
                 </el-table-column>
60
                 </el-table-column>
60
 
61
 
70
                 </el-table-column>
71
                 </el-table-column>
71
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
72
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
72
                     <template slot-scope="scope">
73
                     <template slot-scope="scope">
73
-                        {{getName(scope.row.first_creator)}}
74
+                        {{getName(scope.row.sencond_creator)}}
75
+                   
74
                    </template>
76
                    </template>
75
                 </el-table-column>
77
                 </el-table-column>
76
 
78
 
86
                 </el-table-column>
88
                 </el-table-column>
87
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
89
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
88
                     <template slot-scope="scope">
90
                     <template slot-scope="scope">
89
-                        {{getName(scope.row.sencond_creator)}}
91
+                        {{getName(scope.row.third_creator)}}
92
+                    
90
                     </template>
93
                     </template>
91
                 </el-table-column>
94
                 </el-table-column>
92
 
95
 
97
                 </el-table-column>
100
                 </el-table-column>
98
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
101
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
99
                     <template slot-scope="scope">
102
                     <template slot-scope="scope">
100
-                        {{getName(scope.row.third_creator)}}
103
+                        {{getName(scope.row.last_creator)}}
104
+                        
101
                     </template>
105
                     </template>
102
                 </el-table-column>
106
                 </el-table-column>
103
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
107
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
123
               @size-change="handleSizeChange"
127
               @size-change="handleSizeChange"
124
               @current-change="handleCurrentChange"
128
               @current-change="handleCurrentChange"
125
           >
129
           >
126
-           
130
+
127
           </el-pagination>
131
           </el-pagination>
128
          </div>
132
          </div>
129
 
133
 
146
                   </div>
150
                   </div>
147
                   <div class="form_title"><span >透析室</span></div>
151
                   <div class="form_title"><span >透析室</span></div>
148
                   <el-form-item label="消毒液" label-width="110px">
152
                   <el-form-item label="消毒液" label-width="110px">
149
-                      <el-input v-model="form.first_disinfection_water"></el-input>
153
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
154
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
155
+                          <el-option
156
+                          v-for="(item,index) in disInfectionWaterList"
157
+                          :key="index"
158
+                          :label="item.name"
159
+                          :value="item.name">
160
+                          </el-option>
161
+                      </el-select>
150
                   </el-form-item>
162
                   </el-form-item>
151
                   <el-form-item label="消毒方式" label-width="110px">
163
                   <el-form-item label="消毒方式" label-width="110px">
152
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
164
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
165
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
166
+                          <el-option
167
+                          v-for="(item,index) in DisinfectionMode"
168
+                          :key="index"
169
+                          :label="item.name"
170
+                          :value="item.name">
171
+                          </el-option>
172
+                      </el-select>
153
                   </el-form-item>
173
                   </el-form-item>
154
                   <el-form-item label="消毒时间(h)" label-width="110px">
174
                   <el-form-item label="消毒时间(h)" label-width="110px">
155
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
175
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
156
                   </el-form-item>
176
                   </el-form-item>
157
                   <el-form-item label="开始时间" label-width="110px">
177
                   <el-form-item label="开始时间" label-width="110px">
158
                     <el-date-picker
178
                     <el-date-picker
161
                         value-format="yyyy-MM-dd HH:mm"
181
                         value-format="yyyy-MM-dd HH:mm"
162
                         placeholder="选择时间"
182
                         placeholder="选择时间"
163
                         v-model="form.first_start_time"
183
                         v-model="form.first_start_time"
184
+                        @change="firststartime"
164
                         style="width:100%;"
185
                         style="width:100%;"
165
                     ></el-date-picker>
186
                     ></el-date-picker>
166
                   </el-form-item>
187
                   </el-form-item>
171
                         value-format="yyyy-MM-dd HH:mm"
192
                         value-format="yyyy-MM-dd HH:mm"
172
                         placeholder="选择时间"
193
                         placeholder="选择时间"
173
                         v-model="form.first_end_time"
194
                         v-model="form.first_end_time"
195
+                        @change="firstendtime"
174
                         style="width:100%;"
196
                         style="width:100%;"
175
                      ></el-date-picker>
197
                      ></el-date-picker>
176
                   </el-form-item>
198
                   </el-form-item>
204
                       </el-select>
226
                       </el-select>
205
                   </el-form-item>
227
                   </el-form-item>
206
 
228
 
207
-
208
                   <div class="form_title"><span >治疗室</span></div>
229
                   <div class="form_title"><span >治疗室</span></div>
209
                   <el-form-item label="消毒液" label-width="110px">
230
                   <el-form-item label="消毒液" label-width="110px">
210
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
231
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
232
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
233
+                          <el-option
234
+                          v-for="(item,index) in disInfectionWaterList"
235
+                          :key="index"
236
+                          :label="item.name"
237
+                          :value="item.name">
238
+                          </el-option>
239
+                      </el-select>
211
                   </el-form-item>
240
                   </el-form-item>
212
                   <el-form-item label="消毒方式" label-width="110px">
241
                   <el-form-item label="消毒方式" label-width="110px">
213
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
242
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
243
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
244
+                          <el-option
245
+                          v-for="(item,index) in DisinfectionMode"
246
+                          :key="index"
247
+                          :label="item.name"
248
+                          :value="item.name">
249
+                          </el-option>
250
+                      </el-select>
214
                   </el-form-item>
251
                   </el-form-item>
215
                   <el-form-item label="消毒时间(h)" label-width="110px">
252
                   <el-form-item label="消毒时间(h)" label-width="110px">
216
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
253
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
217
                   </el-form-item>
254
                   </el-form-item>
218
                   <el-form-item label="开始时间" label-width="110px">
255
                   <el-form-item label="开始时间" label-width="110px">
219
                     <el-date-picker
256
                     <el-date-picker
220
                         type="datetime"
257
                         type="datetime"
221
-                        format="yyyy-MM-dd HH:mm"
258
+                        format="yyyy-MM-dd HH:mm:ss"
222
                         value-format="yyyy-MM-dd HH:mm"
259
                         value-format="yyyy-MM-dd HH:mm"
223
                         placeholder="选择时间"
260
                         placeholder="选择时间"
224
                         v-model="form.sencond_start_time"
261
                         v-model="form.sencond_start_time"
262
+                        @change="sencondstarttime"
225
                         style="width:100%;"
263
                         style="width:100%;"
226
                     ></el-date-picker>
264
                     ></el-date-picker>
227
                   </el-form-item>
265
                   </el-form-item>
232
                         value-format="yyyy-MM-dd HH:mm"
270
                         value-format="yyyy-MM-dd HH:mm"
233
                         placeholder="选择时间"
271
                         placeholder="选择时间"
234
                         v-model="form.sencond_end_time"
272
                         v-model="form.sencond_end_time"
273
+                        @change="sencondendtime"
235
                         style="width:100%;"
274
                         style="width:100%;"
236
                     ></el-date-picker>
275
                     ></el-date-picker>
237
                   </el-form-item>
276
                   </el-form-item>
268
 
307
 
269
                   <div class="form_title"><span >水处理、库房</span></div>
308
                   <div class="form_title"><span >水处理、库房</span></div>
270
                   <el-form-item label="消毒液" label-width="110px">
309
                   <el-form-item label="消毒液" label-width="110px">
271
-                      <el-input v-model="form.third_disinfection_water"></el-input>
310
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
311
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
312
+                          <el-option
313
+                          v-for="(item,index) in disInfectionWaterList"
314
+                          :key="index"
315
+                          :label="item.name"
316
+                          :value="item.name">
317
+                          </el-option>
318
+                      </el-select>
272
                   </el-form-item>
319
                   </el-form-item>
273
                   <el-form-item label="消毒方式" label-width="110px">
320
                   <el-form-item label="消毒方式" label-width="110px">
274
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
321
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
322
+                      <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
323
+                          <el-option
324
+                          v-for="(item,index) in DisinfectionMode"
325
+                          :key="index"
326
+                          :label="item.name"
327
+                          :value="item.name">
328
+                          </el-option>
329
+                      </el-select>
275
                   </el-form-item>
330
                   </el-form-item>
276
                   <el-form-item label="消毒时间(h)" label-width="110px">
331
                   <el-form-item label="消毒时间(h)" label-width="110px">
277
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
332
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
278
                   </el-form-item>
333
                   </el-form-item>
279
                   <el-form-item label="开始时间"  label-width="110px">
334
                   <el-form-item label="开始时间"  label-width="110px">
280
                     <el-date-picker
335
                     <el-date-picker
283
                         value-format="yyyy-MM-dd HH:mm"
338
                         value-format="yyyy-MM-dd HH:mm"
284
                         placeholder="选择时间"
339
                         placeholder="选择时间"
285
                         v-model="form.third_start_time"
340
                         v-model="form.third_start_time"
341
+                        @change="thirdstarttime"
286
                         style="width:100%;"
342
                         style="width:100%;"
287
                     ></el-date-picker>
343
                     ></el-date-picker>
288
                   </el-form-item>
344
                   </el-form-item>
293
                         value-format="yyyy-MM-dd HH:mm"
349
                         value-format="yyyy-MM-dd HH:mm"
294
                         placeholder="选择时间"
350
                         placeholder="选择时间"
295
                         v-model="form.third_end_time"
351
                         v-model="form.third_end_time"
352
+                        @change="thirdendtime"
296
                         style="width:100%;"
353
                         style="width:100%;"
297
                     ></el-date-picker>
354
                     ></el-date-picker>
298
                   </el-form-item>
355
                   </el-form-item>
335
                         value-format="yyyy-MM-dd HH:mm"
392
                         value-format="yyyy-MM-dd HH:mm"
336
                         placeholder="选择时间"
393
                         placeholder="选择时间"
337
                         v-model="form.last_start_time"
394
                         v-model="form.last_start_time"
395
+                        @change="laststarttime"
338
                         style="width:100%;"
396
                         style="width:100%;"
339
                     ></el-date-picker>
397
                     ></el-date-picker>
340
                   </el-form-item>
398
                   </el-form-item>
345
                         value-format="yyyy-MM-dd HH:mm"
403
                         value-format="yyyy-MM-dd HH:mm"
346
                         placeholder="选择时间"
404
                         placeholder="选择时间"
347
                         v-model="form.last_end_time"
405
                         v-model="form.last_end_time"
406
+                        @change="lastendtime"
348
                         style="width:100%;"
407
                         style="width:100%;"
349
                     ></el-date-picker>
408
                     ></el-date-picker>
350
                   </el-form-item>
409
                   </el-form-item>
404
                   </div>
463
                   </div>
405
                   <div class="form_title"><span >透析室</span></div>
464
                   <div class="form_title"><span >透析室</span></div>
406
                   <el-form-item label="消毒液" label-width="110px">
465
                   <el-form-item label="消毒液" label-width="110px">
407
-                      <el-input v-model="form.first_disinfection_water"></el-input>
466
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
467
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
468
+                          <el-option
469
+                          v-for="(item,index) in disInfectionWaterList"
470
+                          :key="index"
471
+                          :label="item.name"
472
+                          :value="item.name">
473
+                          </el-option>
474
+                      </el-select>
408
                   </el-form-item>
475
                   </el-form-item>
409
                   <el-form-item label="消毒方式" label-width="110px">
476
                   <el-form-item label="消毒方式" label-width="110px">
410
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
477
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
478
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
479
+                          <el-option
480
+                          v-for="(item,index) in DisinfectionMode"
481
+                          :key="index"
482
+                          :label="item.name"
483
+                          :value="item.name">
484
+                          </el-option>
485
+                      </el-select>
411
                   </el-form-item>
486
                   </el-form-item>
412
                   <el-form-item label="消毒时间(h)" label-width="110px">
487
                   <el-form-item label="消毒时间(h)" label-width="110px">
413
-                      <el-input v-model="form.first_disinfection_time " ></el-input>
488
+                      <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
414
                   </el-form-item>
489
                   </el-form-item>
415
                   <el-form-item label="开始时间" label-width="110px">
490
                   <el-form-item label="开始时间" label-width="110px">
416
                     <el-date-picker
491
                     <el-date-picker
419
                         value-format="yyyy-MM-dd HH:mm"
494
                         value-format="yyyy-MM-dd HH:mm"
420
                         placeholder="选择时间"
495
                         placeholder="选择时间"
421
                         v-model="form.first_start_time"
496
                         v-model="form.first_start_time"
497
+                        @change="firststartime"
422
                         style="width:100%;"
498
                         style="width:100%;"
423
                     ></el-date-picker>
499
                     ></el-date-picker>
424
                   </el-form-item>
500
                   </el-form-item>
429
                         value-format="yyyy-MM-dd HH:mm"
505
                         value-format="yyyy-MM-dd HH:mm"
430
                         placeholder="选择时间"
506
                         placeholder="选择时间"
431
                         v-model="form.first_end_time"
507
                         v-model="form.first_end_time"
508
+                        @change="firstendtime"
432
                         style="width:100%;"
509
                         style="width:100%;"
433
                     ></el-date-picker>
510
                     ></el-date-picker>
434
                   </el-form-item>
511
                   </el-form-item>
461
                           </el-option>
538
                           </el-option>
462
                       </el-select>
539
                       </el-select>
463
                   </el-form-item>
540
                   </el-form-item>
541
+
464
                   <div class="form_title"><span >治疗室</span></div>
542
                   <div class="form_title"><span >治疗室</span></div>
465
                   <el-form-item label="消毒液" label-width="110px">
543
                   <el-form-item label="消毒液" label-width="110px">
466
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
544
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
545
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
546
+                          <el-option
547
+                          v-for="(item,index) in disInfectionWaterList"
548
+                          :key="index"
549
+                          :label="item.name"
550
+                          :value="item.name">
551
+                          </el-option>
552
+                      </el-select>
467
                   </el-form-item>
553
                   </el-form-item>
468
                   <el-form-item label="消毒方式" label-width="110px">
554
                   <el-form-item label="消毒方式" label-width="110px">
469
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
555
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
556
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
557
+                          <el-option
558
+                          v-for="(item,index) in DisinfectionMode"
559
+                          :key="index"
560
+                          :label="item.name"
561
+                          :value="item.name">
562
+                          </el-option>
563
+                      </el-select>
470
                   </el-form-item>
564
                   </el-form-item>
471
                   <el-form-item label="消毒时间(h)" label-width="110px">
565
                   <el-form-item label="消毒时间(h)" label-width="110px">
472
-                      <el-input v-model="form.sencond_disinfection_time " ></el-input>
566
+                      <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
473
                   </el-form-item>
567
                   </el-form-item>
474
                   <el-form-item label="开始时间" required label-width="110px">
568
                   <el-form-item label="开始时间" required label-width="110px">
475
                     <el-date-picker
569
                     <el-date-picker
488
                         value-format="yyyy-MM-dd HH:mm"
582
                         value-format="yyyy-MM-dd HH:mm"
489
                         placeholder="选择时间"
583
                         placeholder="选择时间"
490
                         v-model="form.sencond_end_time"
584
                         v-model="form.sencond_end_time"
585
+                        @change="sencondendtime"
491
                         style="width:100%;"
586
                         style="width:100%;"
492
                     ></el-date-picker>
587
                     ></el-date-picker>
493
                   </el-form-item>
588
                   </el-form-item>
522
                   </el-form-item>
617
                   </el-form-item>
523
                   <div class="form_title"><span >水处理、库房</span></div>
618
                   <div class="form_title"><span >水处理、库房</span></div>
524
                   <el-form-item label="消毒液" label-width="110px">
619
                   <el-form-item label="消毒液" label-width="110px">
525
-                      <el-input v-model="form.third_disinfection_water"></el-input>
620
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
621
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
622
+                          <el-option
623
+                          v-for="(item,index) in disInfectionWaterList"
624
+                          :key="index"
625
+                          :label="item.name"
626
+                          :value="item.name">
627
+                          </el-option>
628
+                      </el-select>
526
                   </el-form-item>
629
                   </el-form-item>
527
                   <el-form-item label="消毒方式" label-width="110px">
630
                   <el-form-item label="消毒方式" label-width="110px">
528
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
631
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
632
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
633
+                          <el-option
634
+                          v-for="(item,index) in DisinfectionMode"
635
+                          :key="index"
636
+                          :label="item.name"
637
+                          :value="item.name">
638
+                          </el-option>
639
+                      </el-select>
529
                   </el-form-item>
640
                   </el-form-item>
530
                   <el-form-item label="消毒时间(h)" label-width="110px">
641
                   <el-form-item label="消毒时间(h)" label-width="110px">
531
-                      <el-input v-model="form.third_disinfection_time " ></el-input>
642
+                      <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
532
                   </el-form-item>
643
                   </el-form-item>
533
                   <el-form-item label="开始时间"  label-width="110px">
644
                   <el-form-item label="开始时间"  label-width="110px">
534
                     <el-date-picker
645
                     <el-date-picker
537
                         value-format="yyyy-MM-dd HH:mm"
648
                         value-format="yyyy-MM-dd HH:mm"
538
                         placeholder="选择时间"
649
                         placeholder="选择时间"
539
                         v-model="form.third_start_time"
650
                         v-model="form.third_start_time"
651
+                        @change="thirdstarttime"
540
                         style="width:100%;"
652
                         style="width:100%;"
541
                     ></el-date-picker>
653
                     ></el-date-picker>
542
                   </el-form-item>
654
                   </el-form-item>
547
                         value-format="yyyy-MM-dd HH:mm"
659
                         value-format="yyyy-MM-dd HH:mm"
548
                         placeholder="选择时间"
660
                         placeholder="选择时间"
549
                         v-model="form.third_end_time"
661
                         v-model="form.third_end_time"
662
+                         @change="thirdendtime"
550
                         style="width:100%;"
663
                         style="width:100%;"
551
                     ></el-date-picker>
664
                     ></el-date-picker>
552
                   </el-form-item>
665
                   </el-form-item>
579
                           </el-option>
692
                           </el-option>
580
                       </el-select>
693
                       </el-select>
581
                   </el-form-item>
694
                   </el-form-item>
695
+
582
                   <div class="form_title"><span >通风</span></div>
696
                   <div class="form_title"><span >通风</span></div>
583
                   <el-form-item label="开始时间"  label-width="110px">
697
                   <el-form-item label="开始时间"  label-width="110px">
584
                     <el-date-picker
698
                     <el-date-picker
587
                         value-format="yyyy-MM-dd HH:mm"
701
                         value-format="yyyy-MM-dd HH:mm"
588
                         placeholder="选择时间"
702
                         placeholder="选择时间"
589
                         v-model="form.last_start_time"
703
                         v-model="form.last_start_time"
704
+                        @change="laststarttime"
590
                         style="width:100%;"
705
                         style="width:100%;"
591
                     ></el-date-picker>
706
                     ></el-date-picker>
592
                   </el-form-item>
707
                   </el-form-item>
597
                         value-format="yyyy-MM-dd HH:mm"
712
                         value-format="yyyy-MM-dd HH:mm"
598
                         placeholder="选择时间"
713
                         placeholder="选择时间"
599
                         v-model="form.last_end_time"
714
                         v-model="form.last_end_time"
715
+                        @change="lastendtime"
600
                         style="width:100%;"
716
                         style="width:100%;"
601
                     ></el-date-picker>
717
                     ></el-date-picker>
602
                   </el-form-item>
718
                   </el-form-item>
649
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
765
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
650
 
766
 
651
                                     <span style="position: absolute; display: block; top: 0; left: 46px; width: 100px;
767
                                     <span style="position: absolute; display: block; top: 0; left: 46px; width: 100px;
652
-                                    border-bottom:1px solid black ;transform: rotate(52deg); 
768
+                                    border-bottom:1px solid black ;transform: rotate(52deg);
653
                                     transform-origin: top left;"></span>
769
                                     transform-origin: top left;"></span>
654
 
770
 
655
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
771
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
656
                                     <span style="position: absolute; display: block; top: 46px; left: 0; width: 113px;
772
                                     <span style="position: absolute; display: block; top: 46px; left: 0; width: 113px;
657
-                                    border-bottom:1px solid black ;transform: rotate(17deg); 
773
+                                    border-bottom:1px solid black ;transform: rotate(17deg);
658
                                     transform-origin: top left;"></span>
774
                                     transform-origin: top left;"></span>
659
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
775
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
660
                                 </td>
776
                                 </td>
671
                                 <td>负责人</td>
787
                                 <td>负责人</td>
672
                             </tr>
788
                             </tr>
673
                             <tr v-for="(item,index) in tableData" :key="index">
789
                             <tr v-for="(item,index) in tableData" :key="index">
674
-                               <td>{{getTimes(item.record_date) }}</td> 
790
+                               <td>{{getTimes(item.record_date) }}</td>
675
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
791
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
676
                                <td>{{item.first_total_time }}</td>
792
                                <td>{{item.first_total_time }}</td>
677
-                               <td>{{getName(item.first_creator)}}</td>
793
+                               <td>
794
+                                <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
795
+                                   {{getName(item.first_creator)}}
796
+                                  </span>
797
+                                <span v-else>
798
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
799
+                                </span>
800
+                               </td>
678
                                <td>{{ getTimeTwo(item.sencond_start_time)}} - {{ getTimeTwo(item.sencond_end_time) }}</td>
801
                                <td>{{ getTimeTwo(item.sencond_start_time)}} - {{ getTimeTwo(item.sencond_end_time) }}</td>
679
                                <td>{{item.sencond_total_time }}</td>
802
                                <td>{{item.sencond_total_time }}</td>
680
-                               <td>{{getName(item.sencond_creator)}}</td>
803
+                               <td>
804
+                                <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
805
+                                   {{getName(item.sencond_creator)}}
806
+                                  </span>
807
+                                <span v-else>
808
+                                    <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
809
+                                </span>
810
+                               </td>
681
                                <td>{{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
811
                                <td>{{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
682
                                <td>{{item.third_total_time }}</td>
812
                                <td>{{item.third_total_time }}</td>
683
-                               <td>{{getName(item.third_creator)}}</td>
813
+                               <td>
814
+                                <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
815
+                                   {{getName(item.third_creator)}}
816
+                                  </span>
817
+                                <span v-else>
818
+                                    <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
819
+                                </span>
820
+                              </td>
684
                                <td> {{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
821
                                <td> {{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
685
-                               <td>{{getName(item.last_creator)}}</td>
822
+                               <td>
823
+                                <span v-if="setAdminUserES(item.last_creator?item.last_creator:item.last_creator) == ''">
824
+                                   {{getName(item.last_creator)}}
825
+                                  </span>
826
+                                <span v-else>
827
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
828
+                                </span>
829
+                               </td>
686
                             </tr>
830
                             </tr>
687
                         </table>
831
                         </table>
688
                     </div>
832
                     </div>
696
   <script>
840
   <script>
697
     import print from "print-js";
841
     import print from "print-js";
698
     import BreadCrumb from '@/xt_pages/components/bread-crumb'
842
     import BreadCrumb from '@/xt_pages/components/bread-crumb'
699
-    import { getAllDoctorList,saveNewAirDisinfect,getNewAirDisinfectList,getNewAirDisinfectByIdList,updateAirDisinfect,deleteNewAirDisInfect} from "@/api/device"
843
+    import { getAllDoctorList,saveNewAirDisinfect,getNewAirDisinfectList,getNewAirDisinfectByIdList,updateNewAirDisinfect,deleteNewAirDisInfect,getAirDisinfectLongTime} from "@/api/device"
700
     import { uParseTime } from '@/utils/tools'
844
     import { uParseTime } from '@/utils/tools'
701
     const moment = require('moment')
845
     const moment = require('moment')
702
     export default {
846
     export default {
720
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
864
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
721
             first_disinfection_water:"",// 消毒液
865
             first_disinfection_water:"",// 消毒液
722
             first_disinfection_methods:"",//消毒方式
866
             first_disinfection_methods:"",//消毒方式
723
-            first_disinfection_time:"",//消毒时长
724
-            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
725
-            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
867
+            first_disinfection_time:'',//消毒时长
868
+            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
869
+            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
726
             first_total_time:"",//累计时间
870
             first_total_time:"",//累计时间
727
             first_is_check:"1",//检验合格
871
             first_is_check:"1",//检验合格
728
             first_modifications:"",//修改标志
872
             first_modifications:"",//修改标志
731
             sencond_disinfection_water:"",// 消毒液
875
             sencond_disinfection_water:"",// 消毒液
732
             sencond_disinfection_methods:"",//消毒方式
876
             sencond_disinfection_methods:"",//消毒方式
733
             sencond_disinfection_time:"",//消毒时长
877
             sencond_disinfection_time:"",//消毒时长
734
-            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
735
-            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
878
+            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
879
+            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
736
             sencond_total_time:"",//累计时间
880
             sencond_total_time:"",//累计时间
737
             sencond_is_check:"1",//检验合格
881
             sencond_is_check:"1",//检验合格
738
             sencond_modifications:"",//修改标志
882
             sencond_modifications:"",//修改标志
740
 
884
 
741
             third_disinfection_water:"",// 消毒液
885
             third_disinfection_water:"",// 消毒液
742
             third_disinfection_methods:"",//消毒方式
886
             third_disinfection_methods:"",//消毒方式
743
-            third_disinfection_time:"",//消毒时长
744
-            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
745
-            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
887
+            third_disinfection_time:'',//消毒时长
888
+            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
889
+            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
746
             third_total_time:"",//累计时间
890
             third_total_time:"",//累计时间
747
             third_is_check:"1",//检验合格
891
             third_is_check:"1",//检验合格
748
             third_modifications:"",//修改标志
892
             third_modifications:"",//修改标志
749
             third_creator:this.$store.getters.xt_user.user.id,//第一责任人
893
             third_creator:this.$store.getters.xt_user.user.id,//第一责任人
750
 
894
 
751
-            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
752
-            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
895
+            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
896
+            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
897
+            last_disinfection_time:"",//消毒时长
753
             last_total_time:"",//累计时间
898
             last_total_time:"",//累计时间
754
             last_is_check:"1",//检验合格
899
             last_is_check:"1",//检验合格
755
             last_modifications:"",//修改标志
900
             last_modifications:"",//修改标志
765
           start_time:[{required:true,message:"请选择开始时间",trigger:"blur"}],
910
           start_time:[{required:true,message:"请选择开始时间",trigger:"blur"}],
766
           end_time:[{required:true,message:"请选择结束时间",trigger:"blur"}]
911
           end_time:[{required:true,message:"请选择结束时间",trigger:"blur"}]
767
          },
912
          },
768
-         limit:20,
913
+         limit:10,
769
          page:1,
914
          page:1,
770
          total:0,
915
          total:0,
771
          tableData: [],
916
          tableData: [],
772
          hiddenShow:false,
917
          hiddenShow:false,
918
+         disInfectionWaterList:[
919
+         { id: 1, name: "0.22%季铵盐" },
920
+         { id: 2, name: "500mg/l含氯消毒剂" },
921
+         { id: 3, name: "1000mg/l含氯消毒剂" },
922
+         { id: 4, name: "1500mg/l含氯消毒剂" },
923
+         { id: 5, name: "消毒湿巾" },
924
+         { id:6, name:"75%酒精"}
925
+         ],
926
+         DisinfectionMode: [
927
+            { id: 1, name: "紫外线" },
928
+            { id: 2, name: "等离子" },
929
+            { id: 3, name: "臭氧" },
930
+            {id:4,name:"含氯剂喷洒500mg/L"},
931
+            {id:5,name:"含氯剂喷洒1000mg/L"},
932
+            {id:6,name:"通风"}
933
+         ],
934
+         operators: [],
935
+         operatorMaps:{},
936
+         firststart:'',
937
+         firstend:'',
938
+
939
+         first_total_time:0,
940
+         sencond_total_time:0,
941
+         third_total_time:0,
942
+         last_total_time:0,
773
         }
943
         }
774
       },
944
       },
775
       created(){
945
       created(){
776
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
946
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
777
         this.getAllDoctorList()
947
         this.getAllDoctorList()
778
         this.getNewAirDisinfectList()
948
         this.getNewAirDisinfectList()
949
+        var time=moment(this.form.first_start_time).format("HH:mm");
950
+        console.log('sdfgsdfsdsddf',time,this.form.first_start_time);
951
+
952
+      },
953
+      computed:{
954
+        firstdisinfection_time (){
955
+            let firststart= Date.parse(new Date(this.form.first_start_time))
956
+            console.log('开始时间',firststart);
957
+            let firstend= Date.parse(new Date(this.form.first_end_time))
958
+            console.log('结束时间',firstend);
959
+            let time_interval = ((firstend - firststart)/(60*60*1000)).toFixed(1)
960
+            console.log('结束时间',((firstend - firststart)/(60*60*1000)).toFixed(1));
961
+            return time_interval
962
+        },
963
+        senconddisinfection_time (){
964
+            const sencondstart= Date.parse(new Date(this.form.sencond_start_time))
965
+            console.log('开始时间',sencondstart);
966
+            const sencondend= Date.parse(new Date(this.form.sencond_end_time))
967
+            console.log('结束时间',sencondstart);
968
+            const time_interval = ((sencondend - sencondstart)/(60*60*1000)).toFixed(1)
969
+            console.log('结束时间',time_interval);
970
+            return time_interval
971
+        },
972
+        thirddisinfection_time (){
973
+            const thirdstart= Date.parse(new Date(this.form.third_start_time))
974
+            console.log('开始时间',thirdstart);
975
+            const thirdend= Date.parse(new Date(this.form.third_end_time))
976
+            console.log('结束时间',thirdend);
977
+            const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
978
+            console.log('结束时间',time_interval);
979
+            return time_interval
980
+        },
981
+        lastdisinfection_time(){
982
+            const lasttart= Date.parse(new Date(this.form.last_start_time))
983
+            console.log('开始时间',lasttart);
984
+            const lastend= Date.parse(new Date(this.form.last_end_time))
985
+            console.log('结束时间',lastend);
986
+            const time_interval = ((lastend - lasttart)/(60*60*1000)).toFixed(1)
987
+            console.log('结束时间',time_interval);
988
+            return time_interval    
989
+        }
779
       },
990
       },
780
       methods:{
991
       methods:{
992
+      AddCard(){
993
+        getAirDisinfectLongTime().then(response=>{
994
+          if(response.data.state == 1){
995
+            var list = response.data.data.list
996
+            console.log("累计2323322323我",list)
997
+            var first_total_time = 0
998
+            var sencond_total_time = 0
999
+            var third_total_time = 0
1000
+            var last_total_time = 0
1001
+            if(list!=null && list.length>0){
1002
+               for(let i=0;i<list.length;i++){
1003
+                 first_total_time += parseFloat(list[i].first_total_time)
1004
+                 sencond_total_time +=parseFloat(list[i].sencond_total_time)
1005
+                 third_total_time +=parseFloat(list[i].third_total_time)
1006
+                 last_total_time +=parseFloat(list[i].last_total_time)
1007
+               }
1008
+            
1009
+           
1010
+            this.form.first_total_time = ""
1011
+            this.form.first_total_time = first_total_time
1012
+            this.first_total_time = first_total_time
1013
+            this.form.sencond_total_time = ""
1014
+            this.form.sencond_total_time = sencond_total_time
1015
+            this.sencond_total_time = sencond_total_time
1016
+            this.form.third_total_time =""
1017
+            this.form.third_total_time = third_total_time
1018
+            this.third_total_time = third_total_time
1019
+            this.form.last_total_time =""
1020
+            this.form.last_total_time = last_total_time
1021
+            this.last_total_time = last_total_time
1022
+           
1023
+          }
1024
+          this.dialogFormVisible =  true
1025
+         }
1026
+        })
1027
+      },
781
       handleSizeChange(val) {
1028
       handleSizeChange(val) {
782
         this.limit = val;
1029
         this.limit = val;
783
         this.getNewAirDisinfectList()
1030
         this.getNewAirDisinfectList()
787
         this.getNewAirDisinfectList()
1034
         this.getNewAirDisinfectList()
788
       },
1035
       },
789
         changeStartime(val){
1036
         changeStartime(val){
790
-          
791
           this.getNewAirDisinfectList()
1037
           this.getNewAirDisinfectList()
792
         },
1038
         },
793
         changeEndtime(){
1039
         changeEndtime(){
799
                var list = response.data.data.list
1045
                var list = response.data.data.list
800
                console.log("list222222",list)
1046
                console.log("list222222",list)
801
                this.docList = list
1047
                this.docList = list
1048
+               this.operators = response.data.data.operators
1049
+            if (this.operators.length > 0) {
1050
+                var operatorsLen = this.operators.length
1051
+                for (var index = 0; index < operatorsLen; index++) {
1052
+                this.$set(
1053
+                    this.operatorMaps,
1054
+                    this.operators[index].id,
1055
+                    this.operators[index]
1056
+                )
1057
+                }
802
             }
1058
             }
803
-          })  
1059
+           }
1060
+          })
804
         },
1061
         },
805
         saveNewAirDisinfect(formName){
1062
         saveNewAirDisinfect(formName){
806
           this.$refs[formName].validate((valid)=>{
1063
           this.$refs[formName].validate((valid)=>{
810
                 }else{
1067
                 }else{
811
                   this.form.first_is_check = 0
1068
                   this.form.first_is_check = 0
812
                 }
1069
                 }
813
-                
1070
+
814
                 if( this.form.sencond_is_check!=""){
1071
                 if( this.form.sencond_is_check!=""){
815
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
1072
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
816
                 }else{
1073
                 }else{
817
                     this.form.sencond_is_check = ""
1074
                     this.form.sencond_is_check = ""
818
                 }
1075
                 }
819
-                
1076
+
820
                 if( this.form.third_is_check!=""){
1077
                 if( this.form.third_is_check!=""){
821
                    this.form.third_is_check = parseInt(this.form.third_is_check)
1078
                    this.form.third_is_check = parseInt(this.form.third_is_check)
822
                 }else{
1079
                 }else{
827
                 }else{
1084
                 }else{
828
                   this.form.last_is_check = 0
1085
                   this.form.last_is_check = 0
829
                 }
1086
                 }
830
-                
1087
+
831
                 if(this.form.first_modifications!=""){
1088
                 if(this.form.first_modifications!=""){
832
                   this.form.first_modifications = parseInt(this.form.first_modifications)
1089
                   this.form.first_modifications = parseInt(this.form.first_modifications)
833
                 }else{
1090
                 }else{
834
-                    this.form.first_modifications =0  
1091
+                    this.form.first_modifications =0
835
                 }
1092
                 }
836
 
1093
 
837
                 if(this.form.sencond_modifications!=""){
1094
                 if(this.form.sencond_modifications!=""){
838
-                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
1095
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
839
                 }else{
1096
                 }else{
840
                     this.form.sencond_modifications =0
1097
                     this.form.sencond_modifications =0
841
                 }
1098
                 }
842
-                
1099
+
843
                 if(this.form.third_modifications!=""){
1100
                 if(this.form.third_modifications!=""){
844
                    this.form.third_modifications = parseInt(this.form.third_modifications)
1101
                    this.form.third_modifications = parseInt(this.form.third_modifications)
845
                 }else{
1102
                 }else{
846
-                    this.form.third_modifications= 0   
1103
+                    this.form.third_modifications= 0
847
                 }
1104
                 }
848
-                
1105
+
849
                 if(this.form.last_modifications!=""){
1106
                 if(this.form.last_modifications!=""){
850
                     this.form.last_modifications = parseInt(this.form.last_modifications)
1107
                     this.form.last_modifications = parseInt(this.form.last_modifications)
851
                 }else{
1108
                 }else{
852
                     this.form.last_modifications= 0
1109
                     this.form.last_modifications= 0
853
                 }
1110
                 }
854
-            
855
-            
856
-            
857
-              
1111
+
1112
+                this.form.first_total_time = this.form.first_total_time.toString()
1113
+                this.form.sencond_total_time =this.form.sencond_total_time.toString()
1114
+                this.form.third_total_time = this.form.third_total_time.toString()
1115
+                this.form.last_total_time = this.form.last_total_time.toString()
858
               console.log("this232322323",this.form)
1116
               console.log("this232322323",this.form)
859
               saveNewAirDisinfect(this.form).then(response=>{
1117
               saveNewAirDisinfect(this.form).then(response=>{
860
                  if(response.data.state == 1 ){
1118
                  if(response.data.state == 1 ){
862
                    this.$message.success("保存成功!")
1120
                    this.$message.success("保存成功!")
863
                    this.dialogFormVisible = false
1121
                    this.dialogFormVisible = false
864
                    this.getNewAirDisinfectList()
1122
                    this.getNewAirDisinfectList()
1123
+                   this.$refs[formName].resetFields();
865
                  }
1124
                  }
866
               })
1125
               })
867
             }
1126
             }
1127
+
868
           })
1128
           })
869
 
1129
 
870
         },
1130
         },
944
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
1204
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
945
               this.form.last_creator = list.last_creator
1205
               this.form.last_creator = list.last_creator
946
               this.editDialogFormVisible = true
1206
               this.editDialogFormVisible = true
947
-             
1207
+
948
             }
1208
             }
949
          })
1209
          })
950
        },
1210
        },
951
        updateAirDisinfect(formName){
1211
        updateAirDisinfect(formName){
952
-        
1212
+
953
          this.$refs[formName].validate((valid)=>{
1213
          this.$refs[formName].validate((valid)=>{
954
             if(valid){
1214
             if(valid){
955
                 if(this.form.first_is_check!=""){
1215
                 if(this.form.first_is_check!=""){
957
                 }else{
1217
                 }else{
958
                   this.form.first_is_check = 0
1218
                   this.form.first_is_check = 0
959
                 }
1219
                 }
960
-                
1220
+
961
                 if( this.form.sencond_is_check!=""){
1221
                 if( this.form.sencond_is_check!=""){
962
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
1222
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
963
                 }else{
1223
                 }else{
964
                     this.form.sencond_is_check = ""
1224
                     this.form.sencond_is_check = ""
965
                 }
1225
                 }
966
-                
1226
+
967
                 if( this.form.third_is_check!=""){
1227
                 if( this.form.third_is_check!=""){
968
                    this.form.third_is_check = parseInt(this.form.third_is_check)
1228
                    this.form.third_is_check = parseInt(this.form.third_is_check)
969
                 }else{
1229
                 }else{
974
                 }else{
1234
                 }else{
975
                   this.form.last_is_check = 0
1235
                   this.form.last_is_check = 0
976
                 }
1236
                 }
977
-                
1237
+
978
                 if(this.form.first_modifications!=""){
1238
                 if(this.form.first_modifications!=""){
979
                   this.form.first_modifications = parseInt(this.form.first_modifications)
1239
                   this.form.first_modifications = parseInt(this.form.first_modifications)
980
                 }else{
1240
                 }else{
981
-                    this.form.first_modifications =0  
1241
+                    this.form.first_modifications =0
982
                 }
1242
                 }
983
 
1243
 
984
                 if(this.form.sencond_modifications!=""){
1244
                 if(this.form.sencond_modifications!=""){
985
-                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)  
1245
+                  this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
986
                 }else{
1246
                 }else{
987
                     this.form.sencond_modifications =0
1247
                     this.form.sencond_modifications =0
988
                 }
1248
                 }
989
-                
1249
+
990
                 if(this.form.third_modifications!=""){
1250
                 if(this.form.third_modifications!=""){
991
                    this.form.third_modifications = parseInt(this.form.third_modifications)
1251
                    this.form.third_modifications = parseInt(this.form.third_modifications)
992
                 }else{
1252
                 }else{
993
-                    this.form.third_modifications= 0   
1253
+                    this.form.third_modifications= 0
994
                 }
1254
                 }
995
-                
1255
+
996
                 if(this.form.last_modifications!=""){
1256
                 if(this.form.last_modifications!=""){
997
                     this.form.last_modifications = parseInt(this.form.last_modifications)
1257
                     this.form.last_modifications = parseInt(this.form.last_modifications)
998
                 }else{
1258
                 }else{
999
                     this.form.last_modifications= 0
1259
                     this.form.last_modifications= 0
1000
                 }
1260
                 }
1001
-            
1002
-              updateAirDisinfect(this.form).then(response=>{
1261
+
1262
+                updateNewAirDisinfect(this.form).then(response=>{
1003
                 if(response.data.state == 1){
1263
                 if(response.data.state == 1){
1004
                   var disinfect =  response.data.data.disinfect
1264
                   var disinfect =  response.data.data.disinfect
1005
                   this.editDialogFormVisible = false
1265
                   this.editDialogFormVisible = false
1006
                   this.getNewAirDisinfectList()
1266
                   this.getNewAirDisinfectList()
1267
+                  this.$refs[formName].resetFields()
1007
                 }
1268
                 }
1008
              })
1269
              })
1009
             }
1270
             }
1010
-           
1271
+
1011
          })
1272
          })
1273
+
1012
        },
1274
        },
1013
        handleDelete(id){
1275
        handleDelete(id){
1014
          deleteNewAirDisInfect(id).then(response=>{
1276
          deleteNewAirDisInfect(id).then(response=>{
1037
               });
1299
               });
1038
             }, 1);
1300
             }, 1);
1039
          },
1301
          },
1040
-      }
1302
+         setAdminUserES(id) {
1303
+           
1304
+            if (id === 0) {
1305
+            return ''
1306
+            }
1307
+            var user_name = ""
1308
+            for(let i=0;i<this.operators.length;i++){
1309
+               if(id == this.operators[i].admin_user_id){
1310
+                  user_name = this.operators[i].url
1311
+               }
1312
+            }
1313
+            return user_name
1314
+            // if (id in this.operatorMaps) {
1315
+
1316
+            // return this.operatorMaps[id].url
1317
+
1318
+            // } else {
1319
+            // return ''
1320
+            // }
1321
+        },
1322
+      
1323
+        
1324
+        firststartime(val){
1325
+            this.form.first_start_time = val
1326
+            this.form.first_disinfection_time = this.firstdisinfection_time
1327
+           
1328
+        },
1329
+        firstendtime(val){
1330
+            this.form.first_disinfection_time = this.firstdisinfection_time
1331
+            this.form.first_end_time = val
1332
+           
1333
+            this.form.first_total_time = parseFloat(this.first_total_time ) + parseFloat(this.form.first_disinfection_time)
1334
+        },
1335
+        sencondstarttime(val){
1336
+            this.form.sencond_start_time = val
1337
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1338
+        },
1339
+         sencondendtime(val){
1340
+            this.form.sencond_end_time = val
1341
+            this.form.sencond_disinfection_time = this.senconddisinfection_time
1342
+
1343
+            this.form.sencond_total_time = parseFloat(this.sencond_total_time ) + parseFloat(this.form.sencond_disinfection_time)
1344
+        },
1345
+        thirdstarttime(val){
1346
+            this.form.third_start_time = val
1347
+            this.form.third_disinfection_time = this.thirddisinfection_time
1348
+
1349
+          
1350
+        },
1351
+        thirdendtime(val){
1352
+            this.form.third_end_time = val
1353
+            this.form.third_disinfection_time = this.thirddisinfection_time
1354
+            this.form.third_total_time = parseFloat(this.third_total_time ) + parseFloat(this.form.third_disinfection_time)
1355
+        },
1356
+        laststarttime(val){
1357
+          this.form.last_start_time = val
1358
+          this.form.last_disinfection_time = this.lastdisinfection_time
1359
+        },
1360
+        lastendtime(val){
1361
+          this.form.last_end_time = val
1362
+          this.form.last_disinfection_time = this.lastdisinfection_time   
1363
+
1364
+          this.form.last_total_time = parseFloat(this.last_total_time ) + parseFloat(this.form.last_disinfection_time)
1365
+        }
1366
+
1367
+      },
1368
+
1041
     }
1369
     }
1042
   </script>
1370
   </script>
1043
 
1371
 

File diff suppressed because it is too large
+ 475 - 83
src/xt_pages/device/objectTableDisinfectTwo.vue


+ 2 - 0
src/xt_pages/dialysis/PatientBox.vue View File

136
                 <span v-if="schedule.prescription.anticoagulant == 11">那屈肝素</span>
136
                 <span v-if="schedule.prescription.anticoagulant == 11">那屈肝素</span>
137
                 <span v-if="schedule.prescription.anticoagulant == 12">无抗凝剂</span>
137
                 <span v-if="schedule.prescription.anticoagulant == 12">无抗凝剂</span>
138
                 <span v-if="schedule.prescription.anticoagulant == 13">那屈肝素钙</span>
138
                 <span v-if="schedule.prescription.anticoagulant == 13">那屈肝素钙</span>
139
+                <span v-if="schedule.prescription.anticoagulant == 14">肝素钙注射液</span>
140
+                <span v-if="schedule.prescription.anticoagulant == 15">甲磺酸萘莫司他</span>
139
              </span>
141
              </span>
140
           </span>
142
           </span>
141
         </p>
143
         </p>

+ 31 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

2397
                             v-if="!record.check"
2397
                             v-if="!record.check"
2398
                           ></div>
2398
                           ></div>
2399
                         </div> -->
2399
                         </div> -->
2400
-                        <div class="inline_block" style="flex: 1">
2400
+                        <!-- <div class="inline_block" style="flex: 1">
2401
                           下机护士:
2401
                           下机护士:
2402
                           <div
2402
                           <div
2403
                             class="under_line"
2403
                             class="under_line"
2436
                               style="height: 40px"
2436
                               style="height: 40px"
2437
                             />
2437
                             />
2438
                           </div>
2438
                           </div>
2439
-                        </div>
2440
-                          <!-- <div class="inline_block" style="flex: 1">
2439
+                        </div> -->
2440
+                          <div class="inline_block" style="flex: 1">
2441
                           患者签名:
2441
                           患者签名:
2442
                           <div
2442
                           <div
2443
                             class="under_line"
2443
                             class="under_line"
2444
-                            style="width: 80px; text-align: center"
2444
+                            style="width: 70px; text-align: center"
2445
                           >
2445
                           >
2446
                            
2446
                            
2447
                             <img
2447
                             <img
2453
                               style="height: 40px"
2453
                               style="height: 40px"
2454
                             />
2454
                             />
2455
                           </div>
2455
                           </div>
2456
-                        </div> -->
2456
+                        </div>
2457
                         <div class="inline_block" style="flex: 1">
2457
                         <div class="inline_block" style="flex: 1">
2458
                           治疗医生:
2458
                           治疗医生:
2459
                           <div
2459
                           <div
2973
           return record[key] == target_value;
2973
           return record[key] == target_value;
2974
         }
2974
         }
2975
       },
2975
       },
2976
+      // getAge: function (val) {
2977
+      //   if (val.age == 0) {
2978
+      //     if (val.birthday == 0) {
2979
+      //       return "";
2980
+      //     }
2981
+      //     return jsGetAge(uParseTime(val.birthday, "{y}-{m}-{d}"), "-");
2982
+      //   } else {
2983
+      //     return val.age;
2984
+      //   }
2985
+      // },
2976
       getAge: function (val) {
2986
       getAge: function (val) {
2977
-        if (val.age == 0) {
2978
-          if (val.birthday == 0) {
2979
-            return "";
2980
-          }
2981
-          return jsGetAge(uParseTime(val.birthday, "{y}-{m}-{d}"), "-");
2982
-        } else {
2983
-          return val.age;
2984
-        }
2987
+            var thisLen = val.id_card_no.length;
2988
+            var birth = "";
2989
+            if (thisLen == 15) {
2990
+                birth = "19" + val.id_card_no.substr(6, 6);
2991
+            } else {
2992
+                birth = val.id_card_no.substr(6, 8);
2993
+            }
2994
+            var birthtwo =
2995
+                birth.substr(0, 4) +
2996
+                "-" +
2997
+                birth.substr(4, 2) +
2998
+                "-" +
2999
+                birth.substr(6, 2);
3000
+
3001
+            var age = jsGetAge(birthtwo, "-");
3002
+            return age;
2985
       },
3003
       },
2986
       newAdviceGroupObject: function () {
3004
       newAdviceGroupObject: function () {
2987
         return Object.assign(
3005
         return Object.assign(

+ 320 - 338
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue View File

204
                       colspan="2"
204
                       colspan="2"
205
                     >
205
                     >
206
                       治疗方式:
206
                       治疗方式:
207
-                      <label-box
208
-                        :isChecked="record&&record.prescription.mode_id == 1 ? true : false"
209
-                        showValue="HD"
207
+                     
208
+                      <check-box
209
+                        text="HD" 
210
+                        :checked="record&&record.prescription.mode_id == 1"
210
                       >
211
                       >
211
-                      </label-box>
212
-                      <label-box
213
-                        :isChecked="record&&record.prescription.mode_id == 2 ? true : false"
214
-                        showValue="HDF"
215
-                      ></label-box>
216
-                      (<label-box
217
-                        :isChecked="
218
-                          record&&record.prescription.mode_id == 2 &&
219
-                          record&&record.prescription.displace_liqui_part == 1
220
-                            ? true
221
-                            : false
222
-                        "
223
-                        showValue="前稀释"
224
-                      ></label-box>
225
-                      <label-box
226
-                        :isChecked="
227
-                          record&&record.prescription.mode_id == 2 &&
228
-                          record&&record.prescription.displace_liqui_part == 2
229
-                            ? true
230
-                            : false
231
-                        "
232
-                        showValue="后稀释"
233
-                      ></label-box>
212
+                     
213
+                      </check-box>
214
+
215
+                      <check-box
216
+                       :checked="record&&record.prescription.mode_id == 2"
217
+                        text="HDF"
218
+                      ></check-box>
219
+
220
+                      (<check-box
221
+                      :checked="record&&record.prescription.mode_id == 2 &&  record&&record.prescription.displace_liqui_part == 1"
222
+                        text="前稀释"
223
+                      ></check-box>
224
+                      <check-box
225
+                      :checked="record&&record.prescription.mode_id == 2 &&  record&&record.prescription.displace_liqui_part == 2"
226
+                        text="后稀释"
227
+                      ></check-box>
234
                       , 置换量:&nbsp;{{
228
                       , 置换量:&nbsp;{{
235
                         record&&record.prescription.displace_liqui_value
229
                         record&&record.prescription.displace_liqui_value
236
                           ? record&&record.prescription.displace_liqui_value
230
                           ? record&&record.prescription.displace_liqui_value
237
                           : "/"
231
                           : "/"
238
                       }}L&nbsp; )
232
                       }}L&nbsp; )
239
 
233
 
240
-                      <label-box
241
-                        :isChecked="record&&record.prescription.mode_id > 2 ? true : false"
242
-                        showValue="其他:"
243
-                      ></label-box>
234
+                      <check-box
235
+                       :checked="record&&record.prescription.mode_id > 2" 
236
+                        text="其他"
237
+                      ></check-box>
244
                       &nbsp;
238
                       &nbsp;
245
                       <span v-if="record&&record.prescription.mode_id > 2">
239
                       <span v-if="record&&record.prescription.mode_id > 2">
246
                         {{ record&&record.prescription.mode }}
240
                         {{ record&&record.prescription.mode }}
264
 
258
 
265
                     <td colspan="12" style="padding-left: 10px">
259
                     <td colspan="12" style="padding-left: 10px">
266
                       治疗抗凝:
260
                       治疗抗凝:
267
-                      <label-box
268
-                        v-if="record&&record.prescription.anticoagulant == 3"
269
-                        :isChecked="
270
-                          record&&record.prescription.anticoagulant == 3 ? true : false
271
-                        "
272
-                        showValue="低分子肝素:"
273
-                      ></label-box>
274
-                      <label-box
261
+                      <check-box
262
+                       :checked="record&&record.prescription.anticoagulant == 3" 
263
+                        text="低分子肝素"
264
+                      ></check-box>
265
+                     
266
+                      <check-box
275
                         v-if="record&&record.prescription.anticoagulant == 6"
267
                         v-if="record&&record.prescription.anticoagulant == 6"
276
-                        :isChecked="
277
-                          record&&record.prescription.anticoagulant == 6 ? true : false
278
-                        "
279
-                        showValue="低分子肝素钙:"
280
-                      ></label-box>
281
-                      <label-box
268
+                        :checked="record&&record.prescription.anticoagulant == 6" 
269
+                        text="低分子肝素钙:"
270
+                      ></check-box>
271
+                  
272
+                      <check-box
282
                         v-if="record&&record.prescription.anticoagulant == 7"
273
                         v-if="record&&record.prescription.anticoagulant == 7"
283
-                        :isChecked="
284
-                          record&&record.prescription.anticoagulant == 7 ? true : false
285
-                        "
286
-                        showValue="低分子肝素钠:"
287
-                      ></label-box>
274
+                        :checked="record&&record.prescription.anticoagulant == 7" 
275
+                        text="低分子肝素钠:"
276
+                      ></check-box>
288
 
277
 
289
                       &nbsp;&nbsp;{{
278
                       &nbsp;&nbsp;{{
290
                         record&&record.prescription.anticoagulant_zongliang &&
279
                         record&&record.prescription.anticoagulant_zongliang &&
294
                           ? record&&record.prescription.anticoagulant_zongliang
283
                           ? record&&record.prescription.anticoagulant_zongliang
295
                           : ""
284
                           : ""
296
                       }}iu;&nbsp;&nbsp;
285
                       }}iu;&nbsp;&nbsp;
297
-                      <label-box
298
-                        :isChecked="
299
-                          record&&record.prescription.anticoagulant == 2 ? true : false
300
-                        "
301
-                        showValue="普通肝素:"
302
-                      ></label-box
303
-                      >首剂 &nbsp;&nbsp;<span
286
+                    
287
+                      <check-box
288
+                        v-if="record&&record.prescription.anticoagulant == 2"
289
+                        :checked="record&&record.prescription.anticoagulant == 2" 
290
+                        text="普通肝素:"
291
+                      ></check-box>
292
+                      首剂 &nbsp;&nbsp;<span
304
                         ><span style="width: 35px; display: inline-block">
293
                         ><span style="width: 35px; display: inline-block">
305
                           {{
294
                           {{
306
                             record&&record.prescription.anticoagulant_shouji &&
295
                             record&&record.prescription.anticoagulant_shouji &&
309
                               ? record&&record.prescription.anticoagulant_shouji
298
                               ? record&&record.prescription.anticoagulant_shouji
310
                               : ""
299
                               : ""
311
                           }}
300
                           }}
312
-                        </span></span
313
-                      >
301
+                        </span></span>
314
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
302
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
315
                         record&&record.prescription.anticoagulant_weichi &&
303
                         record&&record.prescription.anticoagulant_weichi &&
316
                         record&&record.prescription.anticoagulant == 2
304
                         record&&record.prescription.anticoagulant == 2
324
                           : ""
312
                           : ""
325
                       }}</span
313
                       }}</span
326
                       >&nbsp;&nbsp;mg;
314
                       >&nbsp;&nbsp;mg;
327
-                      <label-box
328
-                        :isChecked="
329
-                          record&&record.prescription.anticoagulant == 1 ? true : false
330
-                        "
331
-                        showValue="无肝素"
332
-                      ></label-box
333
-                      >&nbsp;&nbsp;
334
-                      <label-box
335
-                        :isChecked="
336
-                          record&&record.prescription.anticoagulant != 1 &&
337
-                          record&&record.prescription.anticoagulant != 2 &&
338
-                          record&&record.prescription.anticoagulant != 3 &&
339
-                          record&&record.prescription.anticoagulant != 6 &&
340
-                          record&&record.prescription.anticoagulant != 7 &&
341
-                          record&&record.prescription.anticoagulant != 0
342
-                            ? true
343
-                            : false
344
-                        "
345
-                        showValue="其他"
346
-                      ></label-box>
315
+                    
316
+                      <check-box
317
+                        v-if="record&&record.prescription.anticoagulant == 1"
318
+                        :checked="record&&record.prescription.anticoagulant == 1" 
319
+                        text="无肝素"
320
+                      ></check-box>&nbsp;&nbsp;
321
+                      <check-box
322
+                        v-if="record&&record.prescription.anticoagulant == 1"
323
+                        :checked=" record&&record.prescription.anticoagulant != 1 && 
324
+                        record&&record.prescription.anticoagulant != 2 &&
325
+                        record&&record.prescription.anticoagulant != 3 &&
326
+                        record&&record.prescription.anticoagulant != 6&&
327
+                        record&&record.prescription.anticoagulant != 7 &&
328
+                        record&&record.prescription.anticoagulant != 0" 
329
+                        text="其他"
330
+                      ></check-box>&nbsp;&nbsp;
331
+                     
347
                       <span style="padding-left: 10px">
332
                       <span style="padding-left: 10px">
348
                         <span
333
                         <span
349
                           style="
334
                           style="
488
                       <div style="display: flex; justify-content: flex-start">
473
                       <div style="display: flex; justify-content: flex-start">
489
                         <div style="width: 100%">
474
                         <div style="width: 100%">
490
                           血管通路: &nbsp;
475
                           血管通路: &nbsp;
491
-                          <label-box
492
-                            :isChecked="
493
-                              record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
494
-                                '自体内瘘'
495
-                              ) > -1
496
-                                ? true
497
-                                : false
498
-                            "
499
-                            showValue="自体内瘘"
500
-                          ></label-box>
476
+                        
477
+
478
+                          <check-box
479
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1" 
480
+                            text="自体内瘘"
481
+                          ></check-box>
501
                           &nbsp;
482
                           &nbsp;
502
-                          <label-box
503
-                            :isChecked="
504
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
505
-                                '人造血管'
506
-                              ) > -1
507
-                                ? true
508
-                                : false
509
-                            "
510
-                            showValue="人造血管"
511
-                          ></label-box>
512
-                          &nbsp; &nbsp;
513
-                          <label-box
514
-                            :isChecked="
515
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
516
-                                '直穿'
517
-                              ) > -1
518
-                                ? true
519
-                                : false
520
-                            "
521
-                            showValue="直穿"
522
-                          ></label-box>
483
+                          <check-box
484
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('人造血管') > -1" 
485
+                            text="人造血管"
486
+                          ></check-box>
523
                           &nbsp;
487
                           &nbsp;
524
-                          <label-box
525
-                            :isChecked="
526
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
527
-                                '颈内静脉'
528
-                              ) > -1
529
-                                ? true
530
-                                : false
531
-                            "
532
-                            showValue="颈内静脉"
533
-                          ></label-box>
488
+                          <check-box
489
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('直穿') > -1" 
490
+                            text="直穿"
491
+                          ></check-box>
534
                           &nbsp;
492
                           &nbsp;
535
-                          <label-box
536
-                            :isChecked="
537
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
538
-                                '股静脉'
539
-                              ) > -1
540
-                                ? true
541
-                                : false
542
-                            "
543
-                            showValue="股静脉"
544
-                          ></label-box>
493
+
494
+                          <check-box
495
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1" 
496
+                            text="颈内静脉"
497
+                          ></check-box>
545
                           &nbsp;
498
                           &nbsp;
546
-                          <label-box
547
-                            :isChecked="
548
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
549
-                                '锁骨下'
550
-                              ) > -1
551
-                                ? true
552
-                                : false
553
-                            "
554
-                            showValue="锁骨下"
555
-                          ></label-box>
499
+                       
500
+
501
+                          
502
+                          <check-box
503
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('股静脉') > -1" 
504
+                            text="股静脉"
505
+                          ></check-box>
556
                           &nbsp;
506
                           &nbsp;
557
-                          <label-box
558
-                            :isChecked="
559
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
560
-                                '锁骨下'
561
-                              ) == -1 &&
562
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
563
-                                '股静脉'
564
-                              ) == -1 &&
565
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
566
-                                '颈内静脉'
567
-                              ) == -1 &&
568
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
569
-                                '人造血管'
570
-                              ) == -1 &&
571
-                               record&&record.assessment_before_dislysis.blood_access_part_id.indexOf(
572
-                                '自体内瘘'
573
-                              ) == -1 &&
574
-                               record&&record.assessment_before_dislysis.blood_access_part_id != ''
575
-                                ? true
576
-                                : false
577
-                            "
578
-                            showValue="其他"
579
-                          ></label-box>
580
-                          <span style="padding-left: 20px">
507
+
508
+                          <check-box
509
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('锁骨下') > -1" 
510
+                            text="锁骨下"
511
+                          ></check-box>
512
+                          &nbsp;
513
+
514
+
515
+                          
516
+                          <check-box
517
+                            :checked="record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('锁骨下') == -1
518
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('股静脉') == -1
519
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('颈内静脉') == -1
520
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('人造血管') == -1
521
+                            && record&&record.assessment_before_dislysis.blood_access_part_opera_name.indexOf('自体内瘘') == -1
522
+                            " 
523
+                             
524
+                             text="其他"
525
+                          ></check-box>
526
+                          &nbsp;
527
+                         
528
+                    
529
+                          <span style="padding-left:10px">
581
                             <span
530
                             <span
582
                               style="
531
                               style="
583
                                 display: inline-block;
532
                                 display: inline-block;
828
             </tr>
777
             </tr>
829
             <tr style="transform: translateY(4px)">
778
             <tr style="transform: translateY(4px)">
830
                 <td colspan="11">
779
                 <td colspan="11">
831
-                <table  class="inside_table" border="1" style="text-align: center">
832
-                    <tr>
833
-                    <td style="height: 20px" width="60">
834
-                        <p style="height: 20px; line-height: 20px">时间</p>
780
+                  <table  class="inside_table" border="1" style="text-align: center">
781
+                      <tr>
782
+                      <td style="height: 20px" width="60">
783
+                          <p style="height: 20px; line-height: 20px">时间</p>
784
+                      </td>
785
+                    
786
+                      <td style="height: 20px" width="344">
787
+                          <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
788
+                      </td>
789
+                  
790
+                  
791
+                      <td style="height: 20px" width="90">
792
+                          <p style="height: 20px; line-height: 20px">执行</p>
793
+                      </td>
794
+                      <td style="height: 20px" width="90">
795
+                          <p style="height: 20px; line-height: 20px">核对</p>
796
+                      </td>
797
+                      <td style="height: 20px" width="144">
798
+                          <p style="height: 20px; line-height: 20px">上次透后体重</p>
799
+                      </td>
800
+                      <td style="height: 20px" width="60">
801
+                          {{
802
+                          record.patient.total_dialysis +
803
+                              record.patient.user_sys_before_count >
804
+                          0
805
+                              ? record.assessment_after_dislysis.weight_after
806
+                              : "/"
807
+                          }}kg
808
+                      </td>
809
+                      </tr>
810
+                      <tr v-for="(advice, advice_index) in record.advices" :key="advice_index" style="transform: translateY(3px)">
811
+            
812
+                    <td width="60">
813
+                     <span v-if="advice[0]!=undefined">{{ getTime(advice[0].start_time, "{h}:{i}") }}</span>  
835
                     </td>
814
                     </td>
836
-                   
837
-                    <td style="height: 20px" width="344">
838
-                        <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
815
+                  
816
+                    <td style="text-align: left; padding-left: 5px" width="340">
817
+                      <span v-if="advice[0]&&advice[0].parent_id > 0">---></span>
818
+                      <span>{{advice[0]&& advice[0].advice_name }}</span>
819
+                      <span v-if="advice[0] && advice[0].advice_desc"
820
+                        >({{ advice[0]&&advice[0].advice_desc
821
+                        }}{{advice[0]&& advice[0].drug_spec_unit }})</span
822
+                      >
823
+                      <span v-if="advice[0]&&advice[0].prescribing_number"
824
+                        >&nbsp;&nbsp; {{advice[0]&& advice[0].prescribing_number
825
+                        }}{{advice[0]&& advice[0].prescribing_number_unit }}</span
826
+                      >
827
+                      <span v-if="advice[0]&&advice[0].single_dose != 0"
828
+                        >{{advice[0]&& advice[0].single_dose
829
+                        }}{{advice[0]&& advice[0].single_dose_unit }}</span
830
+                      >
831
+
832
+                      <span v-if="advice[0]&&advice[0].parent_id == 0">{{
833
+                        advice[0]&&advice[0].delivery_way
834
+                      }}</span>
835
+                      <span v-if="advice[0]&&advice[0].parent_id == 0">{{
836
+                        advice[0]&&advice[0].execution_frequency
837
+                      }}</span>
838
+                      <span>{{advice[0]&&advice[0].remark }}</span>
839
                     </td>
839
                     </td>
840
-                 
841
                 
840
                 
842
-                    <td style="height: 20px" width="90">
843
-                        <p style="height: 20px; line-height: 20px">执行</p>
841
+                  
842
+                    <td style="line-height: 10px" width="90">
843
+                      <span v-if="setAdminUserES(advice[0]&&advice[0].execution_staff) == ''">{{
844
+                        getAdminUser(advice[0]&&advice[0].execution_staff)
845
+                      }}</span>
846
+                      <img
847
+                        style="height: 30px"
848
+                        :src="setAdminUserES(advice[0]&&advice[0].execution_staff)"
849
+                        alt=""
850
+                        srcset=""
851
+                      />
844
                     </td>
852
                     </td>
845
-                    <td style="height: 20px" width="90">
846
-                        <p style="height: 20px; line-height: 20px">核对</p>
853
+                    <td style="line-height: 30px" width="90">
854
+                      <span v-if="setAdminUserES(advice[0]&&advice[0].checker) == ''">{{
855
+                        getAdminUser(advice[0]&&advice[0].checker)
856
+                      }}</span>
857
+                      <img
858
+                        style="height: 30px"
859
+                        :src="setAdminUserES(advice[0]&&advice[0].checker)"
860
+                        alt=""
861
+                        srcset=""
862
+                        v-else
863
+                      />
847
                     </td>
864
                     </td>
848
-                    <td style="height: 20px" width="144">
849
-                        <p style="height: 20px; line-height: 20px">上次透后体重</p>
865
+
866
+                    <td v-if="advice_index === 0" width="145">透前体重:</td>
867
+                    <td v-if="advice_index === 0" width="60">
868
+                      {{record.patient.total_dialysis +record.patient.user_sys_before_count>0? record.assessment_before_dislysis.weight_before: "/"}}kg
850
                     </td>
869
                     </td>
851
-                    <td style="height: 20px" width="60">
852
-                        {{
870
+                    <td v-if="advice_index === 1" width="145">体重增加量:</td>
871
+                    <td v-if="advice_index === 1" width="60">
872
+                      {{
873
+                        record.assessment_after_dislysis.weight_after == 0 ||
874
+                        record.assessment_before_dislysis.weight_before == 0
875
+                          ? 0
876
+                          : (
877
+                              record.assessment_before_dislysis.weight_before -
878
+                              record.assessment_after_dislysis.weight_after
879
+                            ).toFixed(2)
880
+                      }}kg
881
+                    </td>
882
+                    <td v-if="advice_index === 2" width="145">干体重(DW):</td>
883
+                    <td v-if="advice_index === 2" width="60">
884
+                      {{
853
                         record.patient.total_dialysis +
885
                         record.patient.total_dialysis +
854
-                            record.patient.user_sys_before_count >
886
+                          record.patient.user_sys_before_count >
855
                         0
887
                         0
856
-                            ? record.assessment_after_dislysis.weight_after
857
-                            : "/"
858
-                        }}kg
888
+                          ? record.assessment_before_dislysis.dry_weight
889
+                          : "/"
890
+                      }}kg
859
                     </td>
891
                     </td>
860
-                    </tr>
861
-                    
862
-                </table>
892
+                    <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
893
+                    <td v-if="advice_index === 3" width="60">
894
+                      {{
895
+                        record.patient.total_dialysis +
896
+                          record.patient.user_sys_before_count >
897
+                          0 && record.assessment_after_dislysis.weight_after != 0
898
+                          ? (
899
+                              record.assessment_after_dislysis.weight_after - record.assessment_before_dislysis.dry_weight
900
+                            ).toFixed(2)
901
+                          : 0
902
+                      }}kg
903
+                    </td>
904
+                    <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
905
+                    <td v-if="advice_index === 4" width="60">
906
+                      {{
907
+                        record.patient.total_dialysis +
908
+                          record.patient.user_sys_before_count >
909
+                        0
910
+                          ? record.assessment_after_dislysis.actual_ultrafiltration
911
+                          : "/"
912
+                      }}ml
913
+                    </td>
914
+                    <td v-if="advice_index === 5" width="145">透后体重:</td>
915
+                    <td v-if="advice_index === 5" width="60">
916
+                      {{
917
+                        record.patient.total_dialysis +
918
+                          record.patient.user_sys_before_count >
919
+                        0
920
+                          ? record.assessment_after_dislysis.weight_after
921
+                          : "/"
922
+                      }}kg
923
+                    </td>
924
+                    <td v-if="advice_index === 6" width="145">
925
+                      本次透析体重下降量:
926
+                    </td>
927
+                    <td v-if="advice_index === 6" width="60">
928
+                      {{
929
+                        record.assessment_after_dislysis.weight_after == 0 ||
930
+                        record.assessment_before_dislysis.weight_before == 0
931
+                          ? 0
932
+                          : (
933
+                              record.assessment_before_dislysis.weight_before -
934
+                              record.assessment_after_dislysis.weight_after
935
+                            ).toFixed(2)
936
+                      }}kg
937
+                    </td>
938
+                    <td v-if="advice_index > 6" width="145"></td>
939
+                    <td v-if="advice_index > 6" width="60"></td>
940
+                
941
+                  </tr>
942
+                  </table>
863
                 </td>
943
                 </td>
864
             </tr>
944
             </tr>
865
          
945
          
866
-          <tr v-for="(advice, advice_index) in record.advices" :key="advice_index" style="transform: translateY(3px)">
867
-            <td colspan="11">
868
-              <table class="inside_table" border="1">
869
-                <tr>
870
-                  <td width="60">
871
-                    {{ getTime(advice[0].start_time, "{h}:{i}") }}
872
-                  </td>
873
-                
874
-                  <td style="text-align: left; padding-left: 5px" width="340">
875
-                    <span v-if="advice[0].parent_id > 0">---></span>
876
-                    <span>{{ advice[0].advice_name }}</span>
877
-                    <span v-if="advice && advice[0].advice_desc"
878
-                      >({{ advice[0].advice_desc
879
-                      }}{{ advice[0].drug_spec_unit }})</span
880
-                    >
881
-                    <span v-if="advice[0].prescribing_number"
882
-                      >&nbsp;&nbsp; {{ advice[0].prescribing_number
883
-                      }}{{ advice[0].prescribing_number_unit }}</span
884
-                    >
885
-                    <span v-if="advice[0].single_dose != 0"
886
-                      >{{ advice[0].single_dose
887
-                      }}{{ advice[0].single_dose_unit }}</span
888
-                    >
889
-
890
-                    <span v-if="advice[0].parent_id == 0">{{
891
-                      advice[0].delivery_way
892
-                    }}</span>
893
-                    <span v-if="advice[0].parent_id == 0">{{
894
-                      advice[0].execution_frequency
895
-                    }}</span>
896
-                    <span>{{ advice[0].remark }}</span>
897
-                  </td>
898
-              
899
-                
900
-                  <td style="line-height: 10px" width="90">
901
-                    <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
902
-                      getAdminUser(advice[0].execution_staff)
903
-                    }}</span>
904
-                    <img
905
-                      style="height: 30px"
906
-                      :src="setAdminUserES(advice[0].execution_staff)"
907
-                      alt=""
908
-                      srcset=""
909
-                    />
910
-                  </td>
911
-                  <td style="line-height: 30px" width="90">
912
-                    <span v-if="setAdminUserES(advice[0].checker) == ''">{{
913
-                      getAdminUser(advice[0].checker)
914
-                    }}</span>
915
-                    <img
916
-                      style="height: 30px"
917
-                      :src="setAdminUserES(advice[0].checker)"
918
-                      alt=""
919
-                      srcset=""
920
-                      v-else
921
-                    />
922
-                  </td>
923
-
924
-                  <td v-if="advice_index === 0" width="145">透前体重:</td>
925
-                  <td v-if="advice_index === 0" width="60">
926
-                    {{record.patient.total_dialysis +record.patient.user_sys_before_count>0? record.assessment_before_dislysis.weight_before: "/"}}kg
927
-                  </td>
928
-                  <td v-if="advice_index === 1" width="145">体重增加量:</td>
929
-                  <td v-if="advice_index === 1" width="60">
930
-                    {{
931
-                      record.assessment_after_dislysis.weight_after == 0 ||
932
-                      record.assessment_before_dislysis.weight_before == 0
933
-                        ? 0
934
-                        : (
935
-                            record.assessment_before_dislysis.weight_before -
936
-                            record.assessment_after_dislysis.weight_after
937
-                          ).toFixed(2)
938
-                    }}kg
939
-                  </td>
940
-                  <td v-if="advice_index === 2" width="145">干体重(DW):</td>
941
-                  <td v-if="advice_index === 2" width="60">
942
-                    {{
943
-                      record.patient.total_dialysis +
944
-                        record.patient.user_sys_before_count >
945
-                      0
946
-                        ? record.assessment_before_dislysis.dry_weight
947
-                        : "/"
948
-                    }}kg
949
-                  </td>
950
-                  <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
951
-                  <td v-if="advice_index === 3" width="60">
952
-                    {{
953
-                      record.patient.total_dialysis +
954
-                        record.patient.user_sys_before_count >
955
-                        0 && record.assessment_after_dislysis.weight_after != 0
956
-                        ? (
957
-                            record.assessment_after_dislysis.weight_after - record.assessment_before_dislysis.dry_weight
958
-                          ).toFixed(2)
959
-                        : 0
960
-                    }}kg
961
-                  </td>
962
-                  <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
963
-                  <td v-if="advice_index === 4" width="60">
964
-                    {{
965
-                      record.patient.total_dialysis +
966
-                        record.patient.user_sys_before_count >
967
-                      0
968
-                        ? record.assessment_after_dislysis.actual_ultrafiltration
969
-                        : "/"
970
-                    }}ml
971
-                  </td>
972
-                  <td v-if="advice_index === 5" width="145">透后体重:</td>
973
-                  <td v-if="advice_index === 5" width="60">
974
-                    {{
975
-                      record.patient.total_dialysis +
976
-                        record.patient.user_sys_before_count >
977
-                      0
978
-                        ? record.assessment_after_dislysis.weight_after
979
-                        : "/"
980
-                    }}kg
981
-                  </td>
982
-                  <td v-if="advice_index === 6" width="145">
983
-                    本次透析体重下降量:
984
-                  </td>
985
-                  <td v-if="advice_index === 6" width="60">
986
-                    {{
987
-                      record.assessment_after_dislysis.weight_after == 0 ||
988
-                      record.assessment_before_dislysis.weight_before == 0
989
-                        ? 0
990
-                        : (
991
-                            record.assessment_before_dislysis.weight_before -
992
-                            record.assessment_after_dislysis.weight_after
993
-                          ).toFixed(2)
994
-                    }}kg
995
-                  </td>
996
-                  <td v-if="advice_index > 6" width="145"></td>
997
-                  <td v-if="advice_index > 6" width="60"></td>
998
-                </tr>
999
-              </table>
1000
-            </td>
1001
-          </tr>
946
+      
1002
         <tr style="transform: translateY(1px)">
947
         <tr style="transform: translateY(1px)">
1003
             <td colspan="11">  
948
             <td colspan="11">  
1004
             <table class="inside_table" border="1">
949
             <table class="inside_table" border="1">
1009
                     }}
954
                     }}
1010
                 </td>
955
                 </td>
1011
                 </tr>
956
                 </tr>
1012
-                <tr style="height: 50px; text-align: left" v-if="org_id==10430||org_id==9675">
957
+                <tr style="height: 50px; text-align: left" v-if="org_id==10430||org_id==9675 || org_id == 0">
1013
                 <td style="padding-left: 5px; border-bottom: none;border-top: none;">
958
                 <td style="padding-left: 5px; border-bottom: none;border-top: none;">
1014
                     透析护理记录:{{
959
                     透析护理记录:{{
1015
                     record.summer&&record.summer.nursing_record ? record.summer&&record.summer.nursing_record : ""
960
                     record.summer&&record.summer.nursing_record ? record.summer&&record.summer.nursing_record : ""
1131
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1076
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1132
   import print from 'print-js'
1077
   import print from 'print-js'
1133
 export default {
1078
 export default {
1134
-  name: "BatchPrintOrderSix",
1079
+  name: "BatchPrintOrderFiftyThree",
1135
   components: {
1080
   components: {
1136
     CheckBox,
1081
     CheckBox,
1137
     BreadCrumb,
1082
     BreadCrumb,
1167
       loading: false,
1112
       loading: false,
1168
       orgname: "",
1113
       orgname: "",
1169
       bloodAccessParOpera: {},
1114
       bloodAccessParOpera: {},
1115
+      bloodAccessParOperaList:[],
1170
       anticoagulantsConfit: {},
1116
       anticoagulantsConfit: {},
1171
       dialysateFormulationOptions: {},
1117
       dialysateFormulationOptions: {},
1172
       operatorMaps: {},
1118
       operatorMaps: {},
1197
       "hemodialysis",
1143
       "hemodialysis",
1198
       "vascular_access_desc"
1144
       "vascular_access_desc"
1199
     );
1145
     );
1146
+    this.bloodAccessParOperaList = getDataConfig(
1147
+      "hemodialysis",
1148
+      "vascular_access_desc"
1149
+    );
1150
+    console.log("z=============",this.bloodAccessParOperaList)
1200
     this.way_arr = getDataConfig("hemodialysis", "way");
1151
     this.way_arr = getDataConfig("hemodialysis", "way");
1201
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1152
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1202
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
1153
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
1260
         var resp = rs.data;
1211
         var resp = rs.data;
1261
         if (resp.state == 1) {
1212
         if (resp.state == 1) {
1262
           this.records = this.records.concat(resp.data.schedules);
1213
           this.records = this.records.concat(resp.data.schedules);
1214
+          console.log("记录233333333333333333",this.records)
1215
+          for(let i = 0 ; i < this.records.length ; i++){
1216
+            console.log("进来",this.records[i].assessment_before_dislysis.blood_access_part_opera_id)
1217
+            this.records[i].assessment_before_dislysis.blood_access_part_opera_name = ""
1218
+            this.records[i].assessment_before_dislysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.records[i].assessment_before_dislysis.blood_access_part_opera_id)
1219
+            console.log("232332",this.records[i].assessment_before_dislysis.blood_access_part_opera_name)
1220
+          }
1221
+          console.log("中uo",this.records)
1263
           var tempmonitorflag = true;
1222
           var tempmonitorflag = true;
1264
           for(let i=0;i<this.records.length;i++){
1223
           for(let i=0;i<this.records.length;i++){
1265
             for(let j=0;j<this.records[i].monitor_records.length;j++){
1224
             for(let j=0;j<this.records[i].monitor_records.length;j++){
1453
         scanStyles: false,
1412
         scanStyles: false,
1454
       });
1413
       });
1455
     },
1414
     },
1456
-
1457
     complicationsOther: function (record) {
1415
     complicationsOther: function (record) {
1458
       if (record == null || typeof record === "undefined") {
1416
       if (record == null || typeof record === "undefined") {
1459
         return "";
1417
         return "";
1490
       return "";
1448
       return "";
1491
     },
1449
     },
1492
     bloodAccessParOperaName(id) {
1450
     bloodAccessParOperaName(id) {
1493
-      console.log(tihs.records, "hhh");
1494
-      if (id in this.bloodAccessParOpera) {
1495
-        return this.bloodAccessParOpera[id].name;
1451
+     console.log("233333333333333",id)
1452
+      // if (id in this.bloodAccessParOpera) {
1453
+      //   return this.bloodAccessParOpera[id].name;
1454
+      // }
1455
+      var name = ""
1456
+      for(let i=0;i<this.bloodAccessParOperaList.length;i++){
1457
+        if(id== this.bloodAccessParOperaList[i].id){
1458
+           name = this.bloodAccessParOperaList[i].name
1459
+        }
1496
       }
1460
       }
1497
-      return "";
1461
+      return name;
1498
     },
1462
     },
1499
     isBbloodAccessParOperaCheck(key, value) {
1463
     isBbloodAccessParOperaCheck(key, value) {
1500
       if (key == null || typeof key === "undefined") {
1464
       if (key == null || typeof key === "undefined") {
1602
         return record[key] == target_value;
1566
         return record[key] == target_value;
1603
       }
1567
       }
1604
     },
1568
     },
1569
+    // getAge: function (val) {
1570
+    //   if (val.age == 0) {
1571
+    //     if (val.birthday == 0) {
1572
+    //       return "";
1573
+    //     }
1574
+    //     return jsGetAge(uParseTime(val.birthday, "{y}-{m}-{d}"), "-");
1575
+    //   } else {
1576
+    //     return val.age;
1577
+    //   }
1578
+    // },
1605
     getAge: function (val) {
1579
     getAge: function (val) {
1606
-      if (val.age == 0) {
1607
-        if (val.birthday == 0) {
1608
-          return "";
1609
-        }
1610
-        return jsGetAge(uParseTime(val.birthday, "{y}-{m}-{d}"), "-");
1611
-      } else {
1612
-        return val.age;
1613
-      }
1614
-    },
1580
+            var thisLen = val.id_card_no.length;
1581
+            var birth = "";
1582
+            if (thisLen == 15) {
1583
+                birth = "19" + val.id_card_no.substr(6, 6);
1584
+            } else {
1585
+                birth = val.id_card_no.substr(6, 8);
1586
+            }
1587
+            var birthtwo =
1588
+                birth.substr(0, 4) +
1589
+                "-" +
1590
+                birth.substr(4, 2) +
1591
+                "-" +
1592
+                birth.substr(6, 2);
1593
+
1594
+            var age = jsGetAge(birthtwo, "-");
1595
+            return age;
1596
+      },
1615
     newAdviceGroupObject: function () {
1597
     newAdviceGroupObject: function () {
1616
       return Object.assign(
1598
       return Object.assign(
1617
         {},
1599
         {},

+ 58 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

894
                       style="padding: 2px 0; line-height: 23px; display: flex"
894
                       style="padding: 2px 0; line-height: 23px; display: flex"
895
                     >
895
                     >
896
                       <div class="inline_block" style="flex: 1"
896
                       <div class="inline_block" style="flex: 1"
897
-                        v-if="org_id!=10440 && org_id !=0">
897
+                        v-if="org_id!=10440 && org_id!=0 && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495">
898
                         上次透后体重:
898
                         上次透后体重:
899
                         <div
899
                         <div
900
                           class="under_line"
900
                           class="under_line"
918
                         </div>
918
                         </div>
919
                         kg
919
                         kg
920
                       </div>
920
                       </div>
921
+
922
+                      <div class="inline_block" style="flex: 1"
923
+                        v-if="org_id==10440 && org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495">
924
+                        上次透后体重:
925
+                        <div
926
+                          class="under_line"
927
+                          style="width: 100px; text-align: center"
928
+                        >
929
+                          <span>{{
930
+                            record.lastafterweight.weight_after
931
+                          }}</span>
932
+                       
933
+                        </div>
934
+                        kg
935
+                      </div>
921
                       <div class="inline_block" style="flex: 1">
936
                       <div class="inline_block" style="flex: 1">
922
                         透前体重:
937
                         透前体重:
923
                         <div
938
                         <div
938
                         </div>
953
                         </div>
939
                         kg
954
                         kg
940
                       </div>
955
                       </div>
941
-                      <div class="inline_block" style="flex: 1">
956
+                      <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10469">
942
                         计划超滤量:
957
                         计划超滤量:
943
                         <div
958
                         <div
944
                           class="under_line"
959
                           class="under_line"
954
                          <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
969
                          <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
955
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
970
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
956
                       </div>
971
                       </div>
972
+
973
+                      <div class="inline_block" style="flex: 1" v-if="org_id==0 || org_id == 10469">
974
+                        处方脱水量:
975
+                        <div
976
+                          class="under_line"
977
+                          style="width: 100px; text-align: center"
978
+                        >
979
+                          {{
980
+                            record.prescription &&
981
+                            record.prescription.prescription_water
982
+                              ? record.prescription.prescription_water
983
+                              : "/"
984
+                          }}
985
+                        </div>
986
+                        ml
987
+                      </div>
957
                       <div class="inline_block" style="flex: 1">
988
                       <div class="inline_block" style="flex: 1">
958
                         干体重:
989
                         干体重:
959
                         <div
990
                         <div
1295
                           <td
1326
                           <td
1296
                             width="50"
1327
                             width="50"
1297
                             v-if="
1328
                             v-if="
1298
-                              org_id == 10121 || org_id == 9675 || org_id == 0
1329
+                              org_id == 10121 || org_id == 9675 
1299
                             "
1330
                             "
1300
                           >
1331
                           >
1301
                             SpO₂<br />(%)
1332
                             SpO₂<br />(%)
1302
                           </td>
1333
                           </td>
1334
+                          <td
1335
+                            width="50"
1336
+                            v-if="
1337
+                              org_id == 0 || org_id ==  10469
1338
+                            "
1339
+                          >
1340
+                            钠浓度<br />(mmol/L)
1341
+                          </td>
1303
                           <td width="50" v-if="org_id != 0 && org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1342
                           <td width="50" v-if="org_id != 0 && org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1304
                           <td width="50" v-if="org_id ==0 || org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1343
                           <td width="50" v-if="org_id ==0 || org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1305
                           <td
1344
                           <td
1414
                             v-if="
1453
                             v-if="
1415
                               org_id != 9538 &&
1454
                               org_id != 9538 &&
1416
                               org_id != 10121 &&
1455
                               org_id != 10121 &&
1417
-                              org_id != 9675 &&
1418
-                              org_id != 0
1456
+                              org_id != 9675 && 
1457
+                              org_id!=0
1458
+                             
1419
                             "
1459
                             "
1420
                           >
1460
                           >
1421
                             {{
1461
                             {{
1427
 
1467
 
1428
                           <td
1468
                           <td
1429
                             v-if="
1469
                             v-if="
1430
-                              org_id == 10121 || org_id == 9675 || org_id == 0
1470
+                              org_id == 10121 || org_id == 9675 
1431
                             "
1471
                             "
1432
                           >
1472
                           >
1433
                             {{
1473
                             {{
1437
                             }}
1477
                             }}
1438
                           </td>
1478
                           </td>
1439
 
1479
 
1480
+                          <td
1481
+                            v-if="
1482
+                              org_id == 0 || org_id == 10469 
1483
+                            "
1484
+                          >
1485
+                            {{
1486
+                              monitor_record.sodium_concentration
1487
+                                ? monitor_record.sodium_concentration
1488
+                                : ""
1489
+                            }}
1490
+                          </td>
1491
+
1440
                           <td v-if="org_id == 9538">
1492
                           <td v-if="org_id == 9538">
1441
                             {{
1493
                             {{
1442
                               monitor_record.sodium_concentration
1494
                               monitor_record.sodium_concentration

+ 44 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue View File

1374
                     核对护士
1374
                     核对护士
1375
                     <span
1375
                     <span
1376
                       style="display: inline-block;width:100px;text-align: left;"
1376
                       style="display: inline-block;width:100px;text-align: left;"
1377
+                    >
1378
+                      &nbsp;
1379
+
1380
+                      <span
1381
+                            v-if="
1382
+                              !record.advices ||
1383
+                                typeof record.advices[0] == 'undefined' ||
1384
+                                typeof record.advices[0][0] == 'undefined'
1385
+                            "
1386
+                          ></span>
1387
+                          <span
1388
+                            v-else-if="
1389
+                              setAdminUserES(
1390
+                                record.advices[0][0],
1391
+                                'checker'
1392
+                              ) == ''
1393
+                            "
1394
+                            >{{
1395
+                              getAdminUser(
1396
+                                record.advices[0][0],
1397
+                                "checker"
1398
+                              )
1399
+                            }}</span
1400
+                          >
1401
+                          <img
1402
+                             style="height: 30px;"
1403
+                            :src="
1404
+                              setAdminUserES(
1405
+                                record.advices[0][0],
1406
+                                'checker'
1407
+                              )
1408
+                            "
1409
+                            alt=""
1410
+                            srcset=""
1411
+                            v-else
1412
+                          />
1413
+
1414
+                    </span>
1415
+                    <!-- <span
1416
+                      style="display: inline-block;width:100px;text-align: left;"
1377
                     >
1417
                     >
1378
                       <span
1418
                       <span
1379
                           v-if="
1419
                           v-if="
1380
-                            setAdminUserES(record.check, 'modifier') ==
1420
+                            setAdminUserES(record.check, 'creater') ==
1381
                               ''
1421
                               ''
1382
                           "
1422
                           "
1383
                           >{{
1423
                           >{{
1384
-                            getAdminUser(record.check, "modifier")
1424
+                            getAdminUser(record.check, "creater")
1385
                           }}</span
1425
                           }}</span
1386
                         >
1426
                         >
1387
                         <img
1427
                         <img
1388
-                          :src="setAdminUserES(record.check, 'modifier')"
1428
+                          :src="setAdminUserES(record.check, 'creater')"
1389
                           alt=""
1429
                           alt=""
1390
                           srcset=""
1430
                           srcset=""
1391
                           v-else
1431
                           v-else
1392
                           style="height: 30px;"
1432
                           style="height: 30px;"
1393
                         />
1433
                         />
1394
-                    </span>
1434
+                    </span> -->
1395
                     护士签名
1435
                     护士签名
1396
                     <span
1436
                     <span
1397
                       style="display: inline-block;width:100px;text-align: left;"
1437
                       style="display: inline-block;width:100px;text-align: left;"

+ 4 - 0
src/xt_pages/dialysis/components/consumablesDialog.vue View File

10
         style="width:150px;margin-right:10px"
10
         style="width:150px;margin-right:10px"
11
         v-model="startTime"
11
         v-model="startTime"
12
         type="date"
12
         type="date"
13
+        format="yyyy-MM-dd"
14
+        value-format="yyyy-MM-dd"
13
         placeholder="选择日期"
15
         placeholder="选择日期"
14
         @change="selectStartime">
16
         @change="selectStartime">
15
       </el-date-picker>
17
       </el-date-picker>
17
         style="width:150px;margin-right:10px"
19
         style="width:150px;margin-right:10px"
18
         v-model="endTime"
20
         v-model="endTime"
19
         type="date"
21
         type="date"
22
+        format="yyyy-MM-dd"
23
+        value-format="yyyy-MM-dd"
20
         placeholder="选择日期"
24
         placeholder="选择日期"
21
         @change="selectEndtime">
25
         @change="selectEndtime">
22
       </el-date-picker>
26
       </el-date-picker>

+ 4 - 0
src/xt_pages/dialysis/components/dialysisDrugsDialog.vue View File

10
         style="width:140px;margin-right:10px"
10
         style="width:140px;margin-right:10px"
11
         v-model="startTime"
11
         v-model="startTime"
12
         type="date"
12
         type="date"
13
+        format="yyyy-MM-dd"
14
+        value-format="yyyy-MM-dd"
13
         placeholder="选择日期"
15
         placeholder="选择日期"
14
         @change="changeStartTime">
16
         @change="changeStartTime">
15
         </el-date-picker>
17
         </el-date-picker>
17
         style="width:140px;margin-right:10px"
19
         style="width:140px;margin-right:10px"
18
         v-model="endTime"
20
         v-model="endTime"
19
         type="date"
21
         type="date"
22
+        format="yyyy-MM-dd"
23
+        value-format="yyyy-MM-dd"
20
         placeholder="选择日期"
24
         placeholder="选择日期"
21
         @change="changeEndTime">
25
         @change="changeEndTime">
22
         </el-date-picker>
26
         </el-date-picker>

+ 4 - 0
src/xt_pages/dialysis/components/dialysisParametersDialog.vue View File

11
         v-model="startTime"
11
         v-model="startTime"
12
         type="date"
12
         type="date"
13
         placeholder="选择日期"
13
         placeholder="选择日期"
14
+        format="yyyy-MM-dd"
15
+        value-format="yyyy-MM-dd"
14
         @change="selectStartime">
16
         @change="selectStartime">
15
         </el-date-picker>
17
         </el-date-picker>
16
         <el-date-picker
18
         <el-date-picker
17
         style="width:150px;margin-right:10px"
19
         style="width:150px;margin-right:10px"
18
         v-model="endTime"
20
         v-model="endTime"
19
         type="date"
21
         type="date"
22
+        format="yyyy-MM-dd"
23
+        value-format="yyyy-MM-dd"
20
         placeholder="选择日期">
24
         placeholder="选择日期">
21
         </el-date-picker>
25
         </el-date-picker>
22
         <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button>
26
         <el-button icon="el-icon-printer" type="primary" @click="toPrint">打印</el-button>

+ 36 - 26
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue View File

260
         },
260
         },
261
         zoneIdList:[],
261
         zoneIdList:[],
262
         partion_str:"",
262
         partion_str:"",
263
+     
263
       }
264
       }
264
     },
265
     },
265
     created() {
266
     created() {
662
           }
663
           }
663
         }
664
         }
664
 
665
 
665
-        if(this.$store.getters.xt_user.org_id == 10469 || this.$store.getters.xt_user.org_id == 0){
666
+        if(this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 0 || this.$store.getters.xt_user.org_id == 10469){
667
+          //  console.log("----------------------",this.selected_date)
668
+            console.log("星期",this.getweekday(this.selected_date))
666
             var newArrList = []
669
             var newArrList = []
667
-            var total_day = ""
668
-            if(moment().weekday() == 1){
669
-              total_day ="周一"
670
-            }
671
-            if(moment().weekday() == 2){
672
-              total_day ="周二"
673
-            }
674
-            if(moment().weekday() == 3){
675
-              total_day ="周三"
676
-            }
677
-            if(moment().weekday() == 4){
678
-              total_day ="周四"
679
-            }
680
-            if(moment().weekday() == 5){
681
-              total_day ="周五"
682
-            }
683
-            if(moment().weekday() == 6){
684
-              total_day ="周六"
685
-            }
686
-            if(moment().weekday() == 7){
687
-              total_day ="周日"
688
-            }
670
+            // var total_day = ""
671
+            // if(moment().weekday() == 1){
672
+            //   total_day ="周一"
673
+            // }
674
+            // if(moment().weekday() == 2){
675
+            //   total_day ="周二"
676
+            // }
677
+            // if(moment().weekday() == 3){
678
+            //   total_day ="周三"
679
+            // }
680
+            // if(moment().weekday() == 4){
681
+            //   total_day ="周四"
682
+            // }
683
+            // if(moment().weekday() == 5){
684
+            //   total_day ="周五"
685
+            // }
686
+            // if(moment().weekday() == 6){
687
+            //   total_day ="周六"
688
+            // }
689
+            // if(moment().weekday() == 7){
690
+            //   total_day ="周日"
691
+            // }
689
           if(newArr!=null && newArr.length >0){
692
           if(newArr!=null && newArr.length >0){
690
             for(let i=0;i<newArr.length;i++){
693
             for(let i=0;i<newArr.length;i++){
691
-              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(total_day)!=-1)){
694
+              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(this.getweekday(this.selected_date))!=-1)){
692
                 console.log("药品名称",newArr[i].advice_name)
695
                 console.log("药品名称",newArr[i].advice_name)
693
                  newArrList.push(newArr[i])
696
                  newArrList.push(newArr[i])
694
               }
697
               }
702
             }
705
             }
703
           }
706
           }
704
         }
707
         }
705
-        if(this.$store.getters.xt_user.org_id != 10469 && this.$store.getters.xt_user.org_id != 0){
708
+        if(this.$store.getters.xt_user.org_id != 9671 && this.$store.getters.xt_user.org_id != 0 && this.$store.getters.xt_user.org_id != 10469){
706
          
709
          
707
           if(newArr!=null && newArr.length > 0){
710
           if(newArr!=null && newArr.length > 0){
708
             for(let i=0;i<newArr.length;i++){
711
             for(let i=0;i<newArr.length;i++){
799
      changePartionType(){
802
      changePartionType(){
800
       this.tableList = []
803
       this.tableList = []
801
       this.statistics()
804
       this.statistics()
802
-     }
805
+     },
806
+     getweekday(date){
807
+        var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
808
+
809
+        var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
810
+
811
+        return week;
812
+      }
803
     }
813
     }
804
   }
814
   }
805
 </script>
815
 </script>

+ 33 - 23
src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue View File

199
 
199
 
200
         if(this.$store.getters.xt_user.org_id == 10469 || this.$store.getters.xt_user.org_id == 0){
200
         if(this.$store.getters.xt_user.org_id == 10469 || this.$store.getters.xt_user.org_id == 0){
201
             var newArrList = []
201
             var newArrList = []
202
-            var total_day = ""
203
-            if(moment().weekday() == 1){
204
-              total_day ="周一"
205
-            }
206
-            if(moment().weekday() == 2){
207
-              total_day ="周二"
208
-            }
209
-            if(moment().weekday() == 3){
210
-              total_day ="周三"
211
-            }
212
-            if(moment().weekday() == 4){
213
-              total_day ="周四"
214
-            }
215
-            if(moment().weekday() == 5){
216
-              total_day ="周五"
217
-            }
218
-            if(moment().weekday() == 6){
219
-              total_day ="周六"
220
-            }
221
-            if(moment().weekday() == 7){
222
-              total_day ="周日"
223
-            }
202
+            // var total_day = ""
203
+            // if(moment().weekday() == 1){
204
+            //   total_day ="周一"
205
+            // }
206
+            // if(moment().weekday() == 2){
207
+            //   total_day ="周二"
208
+            // }
209
+            // if(moment().weekday() == 3){
210
+            //   total_day ="周三"
211
+            // }
212
+            // if(moment().weekday() == 4){
213
+            //   total_day ="周四"
214
+            // }
215
+            // if(moment().weekday() == 5){
216
+            //   total_day ="周五"
217
+            // }
218
+            // if(moment().weekday() == 6){
219
+            //   total_day ="周六"
220
+            // }
221
+            // if(moment().weekday() == 7){
222
+            //   total_day ="周日"
223
+            // }
224
           if(newArr!=null && newArr.length >0){
224
           if(newArr!=null && newArr.length >0){
225
             for(let i=0;i<newArr.length;i++){
225
             for(let i=0;i<newArr.length;i++){
226
-              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(total_day)!=-1)){
226
+              if((newArr[i].frequency_type == 1) || (newArr[i].frequency_type == 3 && newArr[i].week_day.indexOf(this.getweekday(this.$route.query.schedule_date))!=-1)){
227
                 
227
                 
228
                  newArrList.push(newArr[i])
228
                  newArrList.push(newArr[i])
229
               }
229
               }
267
         const res = new Map()
267
         const res = new Map()
268
         return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1))
268
         return arr.filter((arr) => !res.has(arr.id) && res.set(arr.id, 1))
269
       },
269
       },
270
+
271
+      getweekday(date){
272
+        var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
273
+
274
+        var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
275
+
276
+        return week;
277
+      }
278
+
279
+      
270
     }
280
     }
271
   }
281
   }
272
 </script>
282
 </script>

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

685
                    }
685
                    }
686
 
686
 
687
                  }
687
                  }
688
+                 console.log("list--------------------",list)
688
                  this.list = list
689
                  this.list = list
689
                }
690
                }
690
              }
691
              }

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue View File

28
                 <td width="50">序号</td>
28
                 <td width="50">序号</td>
29
                 <td width="100">透析机号</td>
29
                 <td width="100">透析机号</td>
30
                 <td width="100">姓名</td>
30
                 <td width="100">姓名</td>
31
-                <td width="100">透析号</td>
31
+                <td width="100">透析号</td>
32
                 <td width="200" v-for="(item,index) in rowList" :key="index">
32
                 <td width="200" v-for="(item,index) in rowList" :key="index">
33
                   {{item.filed_name_cn}} 
33
                   {{item.filed_name_cn}} 
34
                 </td>
34
                 </td>

+ 93 - 9
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
28
     </div>
28
     </div>
29
     <div class="cell clearfix" style="justify-content: space-between;">
29
     <div class="cell clearfix" style="justify-content: space-between;">
30
-      <div style="display:flex;">
30
+      <!-- <div style="display:flex;">
31
         <label class="title"> <span class="name">分区</span> : </label>
31
         <label class="title"> <span class="name">分区</span> : </label>
32
         <div class="time">
32
         <div class="time">
33
           <ul class>
33
           <ul class>
41
             </li>
41
             </li>
42
           </ul>
42
           </ul>
43
         </div>
43
         </div>
44
-      </div>
44
+      </div> -->
45
+      <label class="title"><span class="name">分区</span> : </label>
46
+      <el-select v-model="partition_id" multiple  placeholder="请选择分区" style="margin-left:-400px"  @change="selectPartitionType">
47
+        <el-option
48
+          v-for="item in partitionArrOne"
49
+          :key="item.id"
50
+          :label="item.name"
51
+          :value="item.id">
52
+        </el-option>
53
+      </el-select>
45
       <div>
54
       <div>
46
         <el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
55
         <el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
47
         <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
56
         <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
81
             {{scope.row.patient.name}}
90
             {{scope.row.patient.name}}
82
            </template>
91
            </template>
83
         </el-table-column>
92
         </el-table-column>
93
+        <el-table-column align="center" label="透析模式" v-if="dialysisSett.name==1">
94
+           <template slot-scope="scope">
95
+            <span v-if="scope.row.mode_id == 1">HD</span>
96
+            <span v-if="scope.row.mode_id == 2">HDF</span>
97
+            <span v-if="scope.row.mode_id == 3">HD+HP</span>
98
+            <span v-if="scope.row.mode_id == 4">HP</span>
99
+            <span v-if="scope.row.mode_id == 5">HF</span>
100
+            <span v-if="scope.row.mode_id == 6">SCUF</span>
101
+            <span v-if="scope.row.mode_id == 7">IUF</span>
102
+            <span v-if="scope.row.mode_id == 8">HFHD</span>
103
+            <span v-if="scope.row.mode_id == 9">HFHD+HP</span>
104
+            <span v-if="scope.row.mode_id == 10">PHF</span>
105
+            <span v-if="scope.row.mode_id == 11">HFR</span>
106
+            <span v-if="scope.row.mode_id == 12">HDF+HP</span>
107
+            <span v-if="scope.row.mode_id == 13">CRRT</span>
108
+            <span v-if="scope.row.mode_id == 19">IUF+HD</span>
109
+            <span v-if="scope.row.mode_id == 20">UF</span>
110
+            <span v-if="scope.row.mode_id == 21">HD+</span>
111
+            <span v-if="scope.row.mode_id == 22">血浆胆红素吸附+HDF</span>
112
+            <span v-if="scope.row.mode_id == 23">血浆胆红素吸附</span>
113
+            <span v-if="scope.row.mode_id == 24">I-HDF</span>
114
+            <span v-if="scope.row.mode_id == 25">HD高通F</span>
115
+            <span v-if="scope.row.mode_id == 26">CVVH</span>
116
+            <span v-if="scope.row.mode_id == 27">CVVHD</span>
117
+            <span v-if="scope.row.mode_id == 28">CVVHDF</span>
118
+            <span v-if="scope.row.mode_id == 29">PE</span>
119
+            <span v-if="scope.row.mode_id == 30">血浆胆红素吸附+HP</span>
120
+            <span v-if="scope.row.mode_id == 31">HPD</span>
121
+            <span v-if="scope.row.mode_id == 32">HDP</span>
122
+           </template>
123
+        </el-table-column>
84
         <el-table-column align="center" label="透析号" v-if="dialysisSett.dialysis_no==1">
124
         <el-table-column align="center" label="透析号" v-if="dialysisSett.dialysis_no==1">
85
            <template slot-scope="scope">
125
            <template slot-scope="scope">
86
             {{scope.row.patient.dialysis_no}}
126
             {{scope.row.patient.dialysis_no}}
489
         partion_type:0,
529
         partion_type:0,
490
         tableList:[],
530
         tableList:[],
491
         dialysisSett:{},
531
         dialysisSett:{},
492
-
532
+        partitionArrOne:[],
493
         dialogVisibleOne: false,
533
         dialogVisibleOne: false,
494
         prescription_status: false,
534
         prescription_status: false,
495
         week: false,
535
         week: false,
526
             return v.getTime() < new Date().getTime() - 86400000;
566
             return v.getTime() < new Date().getTime() - 86400000;
527
           },
567
           },
528
         },
568
         },
569
+        partition_id:0,
570
+        zoneList:[],
529
       }
571
       }
530
     },
572
     },
531
     open(){
573
     open(){
534
     created() {
576
     created() {
535
        this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
577
        this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
536
        this.displace_liqui_part_option = this.$store.getters.displace_liqui
578
        this.displace_liqui_part_option = this.$store.getters.displace_liqui
537
-       console.log("志愿液",this.displace_liqui_part_option)
579
+    
538
        var filedList = store.getters.xt_user.fileds
580
        var filedList = store.getters.xt_user.fileds
539
        var newArr = [
581
        var newArr = [
540
         {value:999999,filed_name_cn:"姓名"},
582
         {value:999999,filed_name_cn:"姓名"},
550
         }
592
         }
551
         this.predialysisConditionOptions = newArr
593
         this.predialysisConditionOptions = newArr
552
        }
594
        }
553
-     
554
-      this.getAllZone()
555
       let date = uParseTime(new Date(), "{y}-{m}-{d}")
595
       let date = uParseTime(new Date(), "{y}-{m}-{d}")
556
       var newDate = new Date();
596
       var newDate = new Date();
557
       var y = newDate.getFullYear();
597
       var y = newDate.getFullYear();
565
       this.query.schedule_type = 0
605
       this.query.schedule_type = 0
566
       this.query.partition_id = 0
606
       this.query.partition_id = 0
567
       this.query.page = 1
607
       this.query.page = 1
568
-      this.getlist()
608
+      this.getAllZone()
609
+     
610
+     
569
      
611
      
570
     },
612
     },
571
     methods: {
613
     methods: {
572
       getlist(){
614
       getlist(){
615
+      
616
+        
617
+        var str = ""
618
+         if(this.partition_id==0){
619
+            console.log("进阿里232332")
620
+            console.log("wowoowowow",this.zoneList.join(","))
621
+            str = this.zoneList.join(",")
622
+         }
623
+
624
+         if(this.partition_id!=0){
625
+           str = this.partition_id.join(",")
626
+         }
627
+         this.query.partition_id = ""
628
+         this.query.partition_id = str 
629
+      
573
         getDialysisParameter(this.query).then(response=>{
630
         getDialysisParameter(this.query).then(response=>{
574
             if(response.data.state == 1){
631
             if(response.data.state == 1){
575
               var list = response.data.data.list
632
               var list = response.data.data.list
633
+              
634
+              if(list!=null &&list.length>0){
635
+                for(let i=0;i<list.length;i++){
636
+                  list[i].sort = 0
637
+                  list[i].sort = list[i].device_number.sort
638
+                }
639
+      
640
+              }
641
+              list.sort(this.compare('sort'))
576
               this.list = list
642
               this.list = list
577
               this.total = response.data.data.total
643
               this.total = response.data.data.total
578
               this.dialysisSett = response.data.data.dialysisSett
644
               this.dialysisSett = response.data.data.dialysisSett
580
             }
646
             }
581
         }) 
647
         }) 
582
       },
648
       },
649
+      compare(p) { //这是比较函数
650
+        return function (m, n) {
651
+          var a = m[p];
652
+          var b = n[p];
653
+          return a - b; //升序
654
+        }
655
+      },
583
       handleSizeChange(val) {
656
       handleSizeChange(val) {
584
         this.query.limit = val;
657
         this.query.limit = val;
585
         this.getlist();
658
         this.getlist();
636
 
709
 
637
       },
710
       },
638
       selectPartitionType(partitionType) {
711
       selectPartitionType(partitionType) {
639
-        this.partitionType = partitionType
712
+        // this.partitionType = partitionType
640
         this.query.partition_id = partitionType
713
         this.query.partition_id = partitionType
641
         this.query.page = 1
714
         this.query.page = 1
642
 
715
 
654
             this.$message.error(response.data.msg)
727
             this.$message.error(response.data.msg)
655
             return false
728
             return false
656
           } else {
729
           } else {
730
+           
731
+
732
+            for(let i=0;i<response.data.data.zone.length;i++){
733
+               this.partitionArrOne.push(response.data.data.zone[i])
734
+               this.zoneList.push(response.data.data.zone[i].id)
735
+            }
657
             this.partitionArr = response.data.data.zone
736
             this.partitionArr = response.data.data.zone
737
+           
738
+            console.log("全部中",this.partitionArrOne)
658
             this.partitionArr.unshift({ id: 0, name: '全部' })
739
             this.partitionArr.unshift({ id: 0, name: '全部' })
740
+            this.getlist()
741
+            
659
           }
742
           }
660
         })
743
         })
661
       },
744
       },
662
       statistics() {
745
       statistics() {
663
          this.tableList = []
746
          this.tableList = []
747
+       
664
          var params = {
748
          var params = {
665
           schedule_type:this.schedule_type,
749
           schedule_type:this.schedule_type,
666
-          partion_type:this.partion_type,
750
+          partion_type:this.partitionType,
667
           selected_date:this.query.schedule_date,
751
           selected_date:this.query.schedule_date,
668
         }
752
         }
669
         getDialysisParameterGoodList(params).then(response=>{
753
         getDialysisParameterGoodList(params).then(response=>{

+ 48 - 2
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue View File

28
                 <td width="50">序号</td>
28
                 <td width="50">序号</td>
29
                 <td width="100"  v-if="dialysisSett.device_number==1">透析机号</td>
29
                 <td width="100"  v-if="dialysisSett.device_number==1">透析机号</td>
30
                 <td width="100"  v-if="dialysisSett.name==1">姓名</td>
30
                 <td width="100"  v-if="dialysisSett.name==1">姓名</td>
31
+                <td width="100"  v-if="dialysisSett.name==1">透析模式</td>
31
                 <td width="100" v-if="dialysisSett.dialysis_no==1">透析号</td>
32
                 <td width="100" v-if="dialysisSett.dialysis_no==1">透析号</td>
32
                 <td width="100" v-if="dialysisSett.admission_number==1">住院(门诊)号</td>
33
                 <td width="100" v-if="dialysisSett.admission_number==1">住院(门诊)号</td>
33
                 <td width="100"  v-if="dialysisSett.weight_befor==1">透前体重</td>
34
                 <td width="100"  v-if="dialysisSett.weight_befor==1">透前体重</td>
61
                 <td width="100"  v-if="dialysisSett.name==1">
62
                 <td width="100"  v-if="dialysisSett.name==1">
62
                    {{item.patient.name}}
63
                    {{item.patient.name}}
63
                 </td>
64
                 </td>
65
+                <td width="100">
66
+                  <span v-if="item.mode_id == 1">HD</span>
67
+                  <span v-if="item.mode_id == 2">HDF</span>
68
+                  <span v-if="item.mode_id == 3">HD+HP</span>
69
+                  <span v-if="item.mode_id == 4">HP</span>
70
+                  <span v-if="item.mode_id == 5">HF</span>
71
+                  <span v-if="item.mode_id == 6">SCUF</span>
72
+                  <span v-if="item.mode_id == 7">IUF</span>
73
+                  <span v-if="item.mode_id == 8">HFHD</span>
74
+                  <span v-if="item.mode_id == 9">HFHD+HP</span>
75
+                  <span v-if="item.mode_id == 10">PHF</span>
76
+                  <span v-if="item.mode_id == 11">HFR</span>
77
+                  <span v-if="item.mode_id == 12">HDF+HP</span>
78
+                  <span v-if="item.mode_id == 13">CRRT</span>
79
+                  <span v-if="item.mode_id == 19">IUF+HD</span>
80
+                  <span v-if="item.mode_id == 20">UF</span>
81
+                  <span v-if="item.mode_id == 21">HD+</span>
82
+                  <span v-if="item.mode_id == 22">血浆胆红素吸附+HDF</span>
83
+                  <span v-if="item.mode_id == 23">血浆胆红素吸附</span>
84
+                  <span v-if="item.mode_id == 24">I-HDF</span>
85
+                  <span v-if="item.mode_id == 25">HD高通F</span>
86
+                  <span v-if="item.mode_id == 26">CVVH</span>
87
+                  <span v-if="item.mode_id == 27">CVVHD</span>
88
+                  <span v-if="item.mode_id == 28">CVVHDF</span>
89
+                  <span v-if="item.mode_id == 29">PE</span>
90
+                  <span v-if="item.mode_id == 30">血浆胆红素吸附+HP</span>
91
+                  <span v-if="item.mode_id == 31">HPD</span>
92
+                  <span v-if="item.mode_id == 32">HDP</span>
93
+                 
94
+                </td>
64
                 <td width="100" v-if="dialysisSett.dialysis_no==1">
95
                 <td width="100" v-if="dialysisSett.dialysis_no==1">
65
                    {{item.patient.dialysis_no}}
96
                    {{item.patient.dialysis_no}}
66
                 </td>
97
                 </td>
199
        var params = {
230
        var params = {
200
          schedule_date:this.$route.query.schedule_date,
231
          schedule_date:this.$route.query.schedule_date,
201
          schedule_type:this.$route.query.schedule_type,
232
          schedule_type:this.$route.query.schedule_type,
202
-         partion_id:this.$route.query.partion_id,
233
+         partition_id:this.$route.query.partion_id,
203
          page:this.$route.query.page,
234
          page:this.$route.query.page,
204
          limit:this.$route.query.limit,
235
          limit:this.$route.query.limit,
205
          ids:this.$route.query.ids,
236
          ids:this.$route.query.ids,
208
       getDialysisParameter(params).then(response=>{
239
       getDialysisParameter(params).then(response=>{
209
           if(response.data.state == 1){
240
           if(response.data.state == 1){
210
             var list = response.data.data.list
241
             var list = response.data.data.list
242
+            if(list!=null &&list.length>0){
243
+                for(let i=0;i<list.length;i++){
244
+                  list[i].sort = 0
245
+                  list[i].sort = list[i].device_number.sort
246
+                }
247
+      
248
+              }
249
+              list.sort(this.compare('sort'))
211
             this.list = list
250
             this.list = list
212
             this.dialysisSett = response.data.data.dialysisSett
251
             this.dialysisSett = response.data.data.dialysisSett
213
             console.log("设置",this.dialysisSett)
252
             console.log("设置",this.dialysisSett)
292
          }
331
          }
293
        }
332
        }
294
        return name
333
        return name
295
-     }
334
+     },
335
+     compare(p) { //这是比较函数
336
+        return function (m, n) {
337
+          var a = m[p];
338
+          var b = n[p];
339
+          return a - b; //升序
340
+        }
341
+      },
296
     
342
     
297
     }
343
     }
298
   }
344
   }

+ 41 - 38
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

684
       </el-form>
684
       </el-form>
685
       <span slot="footer" class="dialog-footer">
685
       <span slot="footer" class="dialog-footer">
686
                 <el-button @click="handleCancle">取 消</el-button>
686
                 <el-button @click="handleCancle">取 消</el-button>
687
-                 <!-- v-if="hasPermission" -->
688
-                <el-button type="primary" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
687
+                 <!--  -->
688
+                <el-button type="primary" v-if="hasPermission" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
689
             </span>
689
             </span>
690
     </el-dialog>
690
     </el-dialog>
691
 
691
 
982
 
982
 
983
     },
983
     },
984
     methods: {
984
     methods: {
985
-    isName(name) {
986
-      let filedList = store.getters.xt_user.fileds;
987
-      for (let i = 0; i < filedList.length; i++) {
988
-        if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
989
-          return filedList[i].filed_name;
985
+      isName(name) {
986
+        let filedList = store.getters.xt_user.fileds;
987
+        for (let i = 0; i < filedList.length; i++) {
988
+          if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
989
+            return filedList[i].filed_name;
990
+          }
990
         }
991
         }
991
-      }
992
-    },
992
+      },
993
 
993
 
994
-    isCheckmust(name) {
995
-      let filedList = store.getters.xt_user.fileds;
996
-
997
-      for (let i = 0; i < filedList.length; i++) {
998
-        if (
999
-          filedList[i].module == 3 &&
1000
-          filedList[i].filed_name_cn == name &&
1001
-          filedList[i].is_write == 1&&
1002
-          filedList[i].is_show == 1
1003
-        ) {
1004
-          console.log(filedList[i],'false')
1005
-          if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
1006
-          return [
1007
-            { required: true, message: `请输入${name}` },
1008
-            {
1009
-              required: true,
1010
-              pattern: /^[1-9]\d*$/,
1011
-              message: `请输入${name}`,
1012
-            },
1013
-          ];
1014
-        }
1015
-          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
1016
-          
994
+      isCheckmust(name) {
995
+        let filedList = store.getters.xt_user.fileds;
996
+
997
+        for (let i = 0; i < filedList.length; i++) {
998
+          if (
999
+            filedList[i].module == 3 &&
1000
+            filedList[i].filed_name_cn == name &&
1001
+            filedList[i].is_write == 1&&
1002
+            filedList[i].is_show == 1
1003
+          ) {
1004
+            // console.log(filedList[i],'false')
1005
+            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
1006
+            return [
1007
+              { required: true, message: `请输入${name}` },
1008
+              {
1009
+                required: true,
1010
+                pattern: /^[1-9]\d*$/,
1011
+                message: `请输入${name}`,
1012
+              },
1013
+            ];
1014
+          }
1015
+            return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
1016
+            
1017
+          }
1017
         }
1018
         }
1018
-      }
1019
-    },
1019
+      },
1020
       
1020
       
1021
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
1021
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
1022
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
1022
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
1027
         var filedList = store.getters.xt_user.fileds
1027
         var filedList = store.getters.xt_user.fileds
1028
         for (let i = 0; i < filedList.length; i++) {
1028
         for (let i = 0; i < filedList.length; i++) {
1029
           if (filedList[i].module == 3 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
1029
           if (filedList[i].module == 3 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
1030
-            console.log("filedList",filedList)
1030
+            // console.log("filedList",filedList)
1031
             return true
1031
             return true
1032
           }
1032
           }
1033
         }
1033
         }
1506
         
1506
         
1507
         
1507
         
1508
         
1508
         
1509
-      }, handleCancle: function() {
1509
+      },
1510
+       handleCancle: function() {
1510
         this.isVisibility = false
1511
         this.isVisibility = false
1511
-      }, showDryWeightDialog: function() {
1512
+      }, 
1513
+      showDryWeightDialog: function() {
1512
         if (this.$store.getters.xt_user.user.user_type == 3) {
1514
         if (this.$store.getters.xt_user.user.user_type == 3) {
1513
           this.$message.error('您没有权限调整干体重')
1515
           this.$message.error('您没有权限调整干体重')
1514
           return
1516
           return
1671
       //   }
1673
       //   }
1672
       //
1674
       //
1673
       // }
1675
       // }
1674
-    }, watch: {
1676
+    }, 
1677
+    watch: {
1675
       isVisibility(val) {
1678
       isVisibility(val) {
1676
 
1679
 
1677
       },
1680
       },

+ 11 - 9
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

20
           label="班次"
20
           label="班次"
21
           v-if="isShowFiled('班次')"
21
           v-if="isShowFiled('班次')"
22
           :prop="isName('班次')"
22
           :prop="isName('班次')"
23
-         
23
+          :rules="isCheckmust('班次')"
24
         >
24
         >
25
           <el-select
25
           <el-select
26
             v-model="form.schedual_type"
26
             v-model="form.schedual_type"
70
           label="穿刺者"
70
           label="穿刺者"
71
           v-if="isShowFiled('穿刺者')"
71
           v-if="isShowFiled('穿刺者')"
72
           prop="puncture_nurse_id"
72
           prop="puncture_nurse_id"
73
-         
73
+          :rules="isCheckmust('穿刺者')"
74
         >
74
         >
75
           <el-select
75
           <el-select
76
             v-model="form.puncture_nurse_id"
76
             v-model="form.puncture_nurse_id"
91
           prop="quality_nurse_id"
91
           prop="quality_nurse_id"
92
           :rules="isCheckmust('质控护士')"
92
           :rules="isCheckmust('质控护士')"
93
         >
93
         >
94
+        <!--  -->
94
           <el-select
95
           <el-select
95
             v-model="form.quality_nurse_id"
96
             v-model="form.quality_nurse_id"
96
             placeholder="请选择质控护士"
97
             placeholder="请选择质控护士"
110
           :prop="isName('换药护士')"
111
           :prop="isName('换药护士')"
111
           :rules="isCheckmust('换药护士')"
112
           :rules="isCheckmust('换药护士')"
112
         >
113
         >
113
-          <el-select v-model="form.change_nurse" placeholder="换药护士">
114
+        <!--  -->
115
+          <el-select v-model="form.change_nurse" placeholder="请选择换药护士">
114
             <el-option
116
             <el-option
115
               v-for="(admin, index) in adminRoles"
117
               v-for="(admin, index) in adminRoles"
116
               :key="index"
118
               :key="index"
249
         >
251
         >
250
           <el-select v-model="form.blood_access_id" placeholder="请选择" @change="changeBloodAccessOpion">
252
           <el-select v-model="form.blood_access_id" placeholder="请选择" @change="changeBloodAccessOpion">
251
             <el-option :key="0" label="请选择" :value="0"></el-option>
253
             <el-option :key="0" label="请选择" :value="0"></el-option>
252
-
253
             <el-option
254
             <el-option
254
               v-for="(option, index) in blood_access_option"
255
               v-for="(option, index) in blood_access_option"
255
               :key="index + 'i'"
256
               :key="index + 'i'"
680
           filedList[i].is_show == 1&&
681
           filedList[i].is_show == 1&&
681
           filedList[i].is_write == 1
682
           filedList[i].is_write == 1
682
         ) {
683
         ) {
683
-          return [{ required: true, message: `请输入${name}` }];
684
-        } 
685
-                if (
684
+          if (
686
           name == "穿刺者" ||
685
           name == "穿刺者" ||
687
           name == "质控护士" ||
686
           name == "质控护士" ||
688
           name == "换药护士" ||
687
           name == "换药护士" ||
694
             { required: true, pattern: /^[1-9]\d*$/, message: `请输入${name}`,trigger: ['blur','change'] },
693
             { required: true, pattern: /^[1-9]\d*$/, message: `请输入${name}`,trigger: ['blur','change'] },
695
           ];
694
           ];
696
         }
695
         }
696
+          return [{ required: true, message: `请输入${name}` }];
697
+        } 
698
+                
697
 
699
 
698
       }
700
       }
699
     },
701
     },
1119
     changeBloodAccessOpion(id){
1121
     changeBloodAccessOpion(id){
1120
       var name = ""
1122
       var name = ""
1121
       for(let i=0;i<this.blood_access_option.length;i++){
1123
       for(let i=0;i<this.blood_access_option.length;i++){
1122
-        console.log("id9999",this.blood_access_option[i].id)
1124
+        // console.log("id9999",this.blood_access_option[i].id)
1123
         if(id == this.blood_access_option[i].id){
1125
         if(id == this.blood_access_option[i].id){
1124
            name = this.blood_access_option[i].name
1126
            name = this.blood_access_option[i].name
1125
         }
1127
         }
1130
     changeBloodAccessOpionOne(id){
1132
     changeBloodAccessOpionOne(id){
1131
       var name = ""
1133
       var name = ""
1132
       for(let i=0;i<this.blood_access_option.length;i++){
1134
       for(let i=0;i<this.blood_access_option.length;i++){
1133
-        console.log("id9999",this.blood_access_option[i].id)
1135
+        // console.log("id9999",this.blood_access_option[i].id)
1134
         if(id == this.blood_access_option[i].id){
1136
         if(id == this.blood_access_option[i].id){
1135
            name = this.blood_access_option[i].name
1137
            name = this.blood_access_option[i].name
1136
         }
1138
         }

+ 3 - 6
src/xt_pages/dialysis/details/dialog/finish_dialog.vue View File

4
       <!-- <div class="txsj">
4
       <!-- <div class="txsj">
5
       </div> -->
5
       </div> -->
6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
6
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
7
-      <el-form :model="form" label-width="100px"  :rules="drugdicRules"  ref="form">
7
+      <el-form :model="form" label-width="100px"    ref="form">
8
         <el-form-item label="下机护士" >
8
         <el-form-item label="下机护士" >
9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
36
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
36
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
37
         </el-form-item>
37
         </el-form-item>
38
 
38
 
39
-
40
         <el-form-item label="导管: " :prop="isName('导管')"
39
         <el-form-item label="导管: " :prop="isName('导管')"
41
               :rules="isCheckmust('导管')" v-if="isShowFiled('导管')">
40
               :rules="isCheckmust('导管')" v-if="isShowFiled('导管')">
42
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
41
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
183
         },
182
         },
184
         catheter: [],
183
         catheter: [],
185
         cruorOptions: [],
184
         cruorOptions: [],
186
-        drugdicRules: {
187
-         internal_fistula: [{ required: true, message: "请选择内瘘" }]
188
-        },
189
         required:false,
185
         required:false,
190
         education:[],
186
         education:[],
191
         infoDialogVisible:false,
187
         infoDialogVisible:false,
265
           filedList[i].filed_name_cn == name &&
261
           filedList[i].filed_name_cn == name &&
266
           filedList[i].is_write == 1
262
           filedList[i].is_write == 1
267
             ) {
263
             ) {
268
-          return [{ required: true ,message:`请输入${name}` }];
264
+              
265
+              return [{ required: true ,message:`请输入${name}` }];
269
             }
266
             }
270
           }
267
           }
271
         },
268
         },

+ 84 - 10
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

239
                 org_id == 9555 
239
                 org_id == 9555 
240
                 || org_id == 10432
240
                 || org_id == 10432
241
                 || org_id == 10445
241
                 || org_id == 10445
242
-                || org_id == 10410) &&
242
+                || org_id == 10410 ||
243
+                org_id == 10495 ||
244
+                org_id == 10485) &&
243
                 org_id!=10387
245
                 org_id!=10387
244
             "
246
             "
245
           >
247
           >
307
               org_id!= 10210 &&
309
               org_id!= 10210 &&
308
               org_id != 9555 
310
               org_id != 9555 
309
               && org_id!=10432 && org_id!=10445
311
               && org_id!=10432 && org_id!=10445
310
-              && org_id!=10410)
312
+              && org_id!=10410 && org_id!=10495 &&
313
+               org_id!=10485 )
311
               || org_id == 10387
314
               || org_id == 10387
312
             "
315
             "
313
           >
316
           >
359
                 template_id == 60 ||
362
                 template_id == 60 ||
360
                 org_id == 10432 ||
363
                 org_id == 10432 ||
361
                 org_id == 10445 ||
364
                 org_id == 10445 ||
362
-                org_id == 10410)
365
+                org_id == 10410 ||
366
+                org_id == 10495)
363
                 && org_id!=10387
367
                 && org_id!=10387
364
             "
368
             "
365
           >
369
           >
410
               template_id != 60 &&
414
               template_id != 60 &&
411
               org_id!=10432 &&
415
               org_id!=10432 &&
412
               org_id!=10445 &&
416
               org_id!=10445 &&
413
-              org_id!=10410) || 
417
+              org_id!=10410 && org_id!=10495) || 
414
               org_id == 10387
418
               org_id == 10387
415
             "
419
             "
416
           >
420
           >
470
                 template_id == 54 ||
474
                 template_id == 54 ||
471
                 template_id == 56 ||
475
                 template_id == 56 ||
472
                 org_id ==10432 || 
476
                 org_id ==10432 || 
473
-                org_id ==10445
477
+                org_id ==10445 || 
478
+                org_id ==10410
474
               
479
               
475
                )
480
                )
476
             "
481
             "
498
               template_id != 54 &&
503
               template_id != 54 &&
499
               template_id != 56 &&
504
               template_id != 56 &&
500
               org_id !=10432 && 
505
               org_id !=10432 && 
501
-              org_id !=10445
506
+              org_id !=10445 &&
507
+              org_id !=10410
502
             "
508
             "
503
           >
509
           >
504
             <template slot-scope="scope">
510
             <template slot-scope="scope">
849
             </template>
855
             </template>
850
           </el-table-column>
856
           </el-table-column>
851
 
857
 
858
+          <el-table-column
859
+            prop="heparin"
860
+            align="center"
861
+            label="置换液速度(ml/h)"
862
+            width="140"
863
+            v-if="isShow('置换液速度')"
864
+          >
865
+            <template slot-scope="scope">
866
+              {{ scope.row.replacement_speed }}
867
+            </template>
868
+          </el-table-column>
869
+
870
+          <el-table-column
871
+            prop="heparin"
872
+            align="center"
873
+            label="碳酸氢钠用量(ml)"
874
+            width="140"
875
+            v-if="isShow('碳酸氢钠用量')"
876
+          >
877
+            <template slot-scope="scope">
878
+              {{ scope.row.dicarbonate }}
879
+            </template>
880
+          </el-table-column>
881
+
852
           <el-table-column
882
           <el-table-column
853
             prop="heparin"
883
             prop="heparin"
854
             align="center"
884
             align="center"
1201
                 org_id == 10340 ||
1231
                 org_id == 10340 ||
1202
                 org_id == 10432 ||
1232
                 org_id == 10432 ||
1203
                 org_id == 10445 ||
1233
                 org_id == 10445 ||
1204
-                org_id == 10410) 
1234
+                org_id == 10410 ||
1235
+                org_id == 10495 ||
1236
+                org_id == 10485) 
1205
                 && org_id!=10387
1237
                 && org_id!=10387
1206
             "
1238
             "
1207
           >
1239
           >
1255
               org_id != 9555 &&
1287
               org_id != 9555 &&
1256
               org_id!=10432 && 
1288
               org_id!=10432 && 
1257
               org_id!=10445 && 
1289
               org_id!=10445 && 
1258
-              org_id!=10410)
1290
+              org_id!=10410 &&
1291
+              org_id!=10495 &&
1292
+              org_id!=10485
1293
+              )
1259
               || org_id == 10387
1294
               || org_id == 10387
1260
             "
1295
             "
1261
           >
1296
           >
1296
               template_id != 56 &&
1331
               template_id != 56 &&
1297
               template_id != 53 &&
1332
               template_id != 53 &&
1298
               org_id!=10432 &&
1333
               org_id!=10432 &&
1299
-              org_id!=10445
1334
+              org_id!=10445 &&
1335
+              org_id!=10410
1300
             "
1336
             "
1301
           >
1337
           >
1302
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
1338
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
1320
                 template_id == 56 ||
1356
                 template_id == 56 ||
1321
                 template_id == 48 ||
1357
                 template_id == 48 ||
1322
                 org_id==10432 ||
1358
                 org_id==10432 ||
1323
-                org_id!=10445)
1359
+                org_id!=10445 ||
1360
+                org_id!=10410)
1324
             "
1361
             "
1325
           >
1362
           >
1326
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1363
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1564
             </el-form-item>
1601
             </el-form-item>
1565
           </el-col>
1602
           </el-col>
1566
 
1603
 
1604
+          <el-col :span="8" v-if="isShow('置换液速度')">
1605
+            <el-form-item label="置换液速度(ml/h):" :prop="isName('置换液速度')"
1606
+              :rules="isCheckmust('置换液速度')">
1607
+              <el-input v-model="form.replacement_speed"></el-input>
1608
+            </el-form-item>
1609
+          </el-col>
1610
+
1611
+          <el-col :span="8" v-if="isShow('碳酸氢钠用量')">
1612
+            <el-form-item label="碳酸氢钠用量(ml):" :prop="isName('碳酸氢钠用量')"
1613
+              :rules="isCheckmust('碳酸氢钠用量')">
1614
+              <el-input v-model="form.dicarbonate"></el-input>
1615
+            </el-form-item>
1616
+          </el-col>
1617
+
1567
           <el-col :span="8" v-if="isShow('滤前压')">
1618
           <el-col :span="8" v-if="isShow('滤前压')">
1568
             <el-form-item label="滤前压(mmHg):">
1619
             <el-form-item label="滤前压(mmHg):">
1569
               <el-input v-model="form.filter_pressure"></el-input>
1620
               <el-input v-model="form.filter_pressure"></el-input>
1822
         heparin_amount: "", //肝素量
1873
         heparin_amount: "", //肝素量
1823
         dehydration: "",
1874
         dehydration: "",
1824
         filter_pressure:"",
1875
         filter_pressure:"",
1876
+        replacement_speed:"",
1877
+        dicarbonate:"",
1825
       },
1878
       },
1826
 
1879
 
1827
       table_current_row: null,
1880
       table_current_row: null,
2533
         parseFloat(this.form.dehydration) == NaN
2586
         parseFloat(this.form.dehydration) == NaN
2534
           ? 0
2587
           ? 0
2535
           : parseFloat(this.form.dehydration);
2588
           : parseFloat(this.form.dehydration);
2589
+        
2536
       this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2590
       this.form.filter_pressure = this.form.filter_pressure?this.form.filter_pressure:""
2591
+
2592
+      this.form.replacement_speed =
2593
+        parseFloat(this.form.replacement_speed) == NaN
2594
+          ? 0
2595
+          : parseFloat(this.form.replacement_speed);
2596
+
2597
+          this.form.dicarbonate =
2598
+        parseFloat(this.form.dicarbonate) == NaN
2599
+          ? 0
2600
+          : parseFloat(this.form.dicarbonate);
2537
       let mode = "1";
2601
       let mode = "1";
2538
       if (this.form.id > 0) {
2602
       if (this.form.id > 0) {
2539
         mode = "2";
2603
         mode = "2";
2692
               parseFloat(this.form.heparin_amount) == NaN
2756
               parseFloat(this.form.heparin_amount) == NaN
2693
                 ? 0
2757
                 ? 0
2694
                 : parseFloat(this.form.heparin_amount);
2758
                 : parseFloat(this.form.heparin_amount);
2759
+
2760
+                this.form.replacement_speed =
2761
+            parseFloat(this.form.replacement_speed) == NaN
2762
+          ? 0
2763
+          : parseFloat(this.form.replacement_speed);
2764
+
2765
+          this.form.dicarbonate =
2766
+        parseFloat(this.form.dicarbonate) == NaN
2767
+          ? 0
2768
+          : parseFloat(this.form.dicarbonate);
2695
             this.$message.error(resp.msg);
2769
             this.$message.error(resp.msg);
2696
             if(response.data.code == 600000008){
2770
             if(response.data.code == 600000008){
2697
               this.infoDialogVisible = true
2771
               this.infoDialogVisible = true

+ 1 - 2
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

150
         type="primary"
150
         type="primary"
151
         @click="handleComfirm('treatmentSummary')"
151
         @click="handleComfirm('treatmentSummary')"
152
         v-if="hasPermission"
152
         v-if="hasPermission"
153
-        >保 存</el-button
154
-      >
153
+        >保 存</el-button> <!--  -->
155
     </div>
154
     </div>
156
   </el-dialog>
155
   </el-dialog>
157
 
156
 

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <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 || 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!=10387 " width="76px" > 超滤量(ml)</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 && template_id != 53  && template_id != 54  && template_id != 56  && 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!=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 == 10387"  width="76px"> 超滤量(L) </th>
17
+          <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 || 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!=10387 " width="76px" > 超滤量(ml)</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 && template_id != 53  && template_id != 54  && template_id != 56  && 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!=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 == 10387"  width="76px"> 超滤量(L) </th>
19
           <th v-if="isShow('超滤率') && (template_id ==6 || 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!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
19
           <th v-if="isShow('超滤率') && (template_id ==6 || 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!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
20
           <th v-if="isShow('超滤率') && (template_id !=6 && 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==10387" width="50px"> 超滤率 <br />(L/h) </th>
20
           <th v-if="isShow('超滤率') && (template_id !=6 && 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==10387" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
-          <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) " width="92px" > 置换率(ml/min) </th>
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" width="92px" > 置换率(L/h)  </th>
23
+          <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) " width="92px" > 置换率(ml/min) </th>
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" width="92px" > 置换率(L/h)  </th>
25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || 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 || 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 )" width="92px"  > 置换量(ml)  </th>
26
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || 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 || 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 )" width="92px"  > 置换量(ml)  </th>
27
           <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && 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 && 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)" width="92px" > 置换量(L) </th>
27
           <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && 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 && 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)" width="92px" > 置换量(L) </th>

+ 179 - 128
src/xt_pages/dialysis/details/index.vue View File

54
         <!-- 候诊区 -->
54
         <!-- 候诊区 -->
55
         <el-tab-pane label="候诊区" name="first">
55
         <el-tab-pane label="候诊区" name="first">
56
           <div class="cell clearfix" style="margin-bottom:10px;">
56
           <div class="cell clearfix" style="margin-bottom:10px;">
57
-            <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
57
+            <el-date-picker v-model="selected_date" 
58
+              prefix-icon="el-icon-date" @change="handleScheduleDateChange"
59
+             :editable="false" :clearable="false"
60
+              style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" >
61
+            </el-date-picker>
58
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
62
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
59
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
63
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
60
           </div>
64
           </div>
239
         <div class="print_main_content">
243
         <div class="print_main_content">
240
           <div class="table_panel">
244
           <div class="table_panel">
241
              <div v-for="(main_collection,index) in printList" :key="index">
245
              <div v-for="(main_collection,index) in printList" :key="index">
242
-              <div class="signPrint" style="width: 360px;font-size:16px;">
243
-                <div style="margin-left:50px;">姓名:
244
-                  <span>{{main_collection.patient.name}} </span>
245
-                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
246
-                </div>
247
-                <div class="printCell" style="display:flex;justify-content: space-around;">
248
-                  <span style="display: block;width: 50%;">
249
-                    床号:{{ main_collection.number.number }}
250
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
251
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
252
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
253
-                  </span>
254
-                  <span style="display: block;width: 50%;">{{ printDate }}</span>
255
-                </div>
256
-                <div class="printCell" style="display:flex;justify-content: space-around;">
257
-                   <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
258
-                    <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
246
+                <div class="signPrint" style="width: 360px;font-size:16px;">
247
+                  <div style="margin-left:50px;">姓名:
248
+                    <span>{{main_collection.patient.name}} </span>
249
+                    ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
250
+                  </div>
251
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
252
+                    <span style="display: block;width: 50%;">
253
+                      床号:{{ main_collection.number.number }}
254
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
255
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
256
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
257
+                    </span>
258
+                    <span style="display: block;width: 50%;">{{ printDate }}</span>
259
+                  </div>
260
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
261
+                    <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
262
+                      <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
259
 
263
 
260
-                </div>
261
-                <div class="printCell" style="display:flex;justify-content: space-around;">
262
-                  <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
263
-                  
264
-                  <span style="display: block;width: 50%;">
265
-                    首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
266
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
264
+                  </div>
265
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
266
+                    <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
267
+                    
268
+                    <span style="display: block;width: 50%;">
269
+                      首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
270
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
271
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}mg
272
+                    </span>
273
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
274
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
275
+                    </span>
276
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
267
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
277
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
268
-                  </span>
269
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
270
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
271
-                  </span>
272
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
273
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}mg
274
-                  </span>
275
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
276
-                   {{main_collection.dialysissolution.anticoagulant_shouji}} mg
277
-                   </span>
278
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
279
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}iu
280
-                  </span>
281
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
282
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
283
-                   </span>
284
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
285
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
286
-                  </span>
287
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
288
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
289
-                  </span>
290
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
291
-                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
292
                     </span>
278
                     </span>
293
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
279
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
280
+                    {{main_collection.dialysissolution.anticoagulant_shouji}} mg
281
+                    </span>
282
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
294
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
283
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
295
-                   </span>
296
-                    </span> 
297
-                 
298
-                </div>
299
-                <div class="printCell" style="display:flex;justify-content: space-around;">
300
-                  <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
301
-                 <span style="display: block;width: 50%;">
302
-                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
303
-                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
304
-                    mg/h
305
-                  </span>
306
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
307
-                    mg/h
308
-                  </span>
309
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
310
-                   iu/h
311
-                  </span>
312
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
313
-                    mg/h
314
-                  </span>
315
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
316
-                    mg/h
317
-                   </span>
318
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
319
-                   iu/h
320
-                  </span>
321
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
322
-                   iu/h
323
-                   </span>
324
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
325
-                    iu/h
326
-                  </span>
327
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
284
+                    </span>
285
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
286
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
287
+                    </span>
288
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
289
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
290
+                    </span>
291
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
292
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
293
+                    </span>
294
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
295
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
296
+                      </span>
297
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
298
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
299
+                    </span>
300
+                      </span> 
301
+                  
302
+                  </div>
303
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
304
+                    <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
305
+                  <span style="display: block;width: 50%;">
306
+                      维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
307
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
308
+                      mg/h
309
+                    </span>
310
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
311
+                      mg/h
312
+                    </span>
313
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
328
                     iu/h
314
                     iu/h
329
-                  </span>
330
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
315
+                    </span>
316
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
317
+                      mg/h
318
+                    </span>
319
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
320
+                      mg/h
321
+                    </span>
322
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
331
                     iu/h
323
                     iu/h
332
                     </span>
324
                     </span>
333
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
325
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
334
                     iu/h
326
                     iu/h
335
-                   </span>
336
-                  </span>
337
-                
338
-                </div>
339
-                <div class="printCell" style="display:flex;justify-content: space-around;">
340
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
341
-                    <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
342
-                    <span v-else>L</span>
343
-                  </span>
344
-                  <span style="display: block;width: 50%;">
345
-                    总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
346
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">
347
-                    mg
348
-                  </span>
349
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
327
+                    </span>
328
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
329
+                      iu/h
330
+                    </span>
331
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
332
+                      iu/h
333
+                    </span>
334
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
335
+                      iu/h
336
+                      </span>
337
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
338
+                      iu/h
339
+                    </span>
340
+                    </span>
341
+                  
342
+                  </div>
343
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
344
+                    <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
345
+                      <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
346
+                      <span v-else>L</span>
347
+                    </span>
348
+                    <span style="display: block;width: 50%;">
349
+                      总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
350
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
351
+                      mg
352
+                    </span>
353
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
354
+                      mg
355
+                    </span>
356
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
357
+                      iu
358
+                    </span>
359
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
350
                     mg
360
                     mg
351
-                  </span>
352
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
361
+                    </span>
362
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
363
+                      mg
364
+                    </span>
365
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
353
                     iu
366
                     iu
354
-                  </span>
355
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
356
-                   mg
357
-                  </span>
358
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
359
-                    mg
360
-                   </span>
361
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
362
-                   iu
363
-                  </span>
364
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
367
+                    </span>
368
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
369
+                      iu
370
+                    </span>
371
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
372
+                      iu
373
+                    </span>
374
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
365
                     iu
375
                     iu
366
-                   </span>
367
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
368
-                     iu
369
-                  </span>
370
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
371
-                   iu
372
-                  </span>
373
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
376
+                    </span>
377
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
378
+                      iu
379
+                      </span>
380
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
374
                     iu
381
                     iu
375
                     </span>
382
                     </span>
376
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
377
-                   iu
378
-                   </span>
379
-                  </span>
383
+                    </span>
384
+                  </div>
380
                 </div>
385
                 </div>
381
-              </div>
382
-            </div>
386
+             </div>
387
+
388
+             <!-- <div v-for="(main_collection,index) in printList" :key="index" style="width: 80%;">
389
+                <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center; margin: auto;">
390
+                
391
+                  <tr style="height: 20px;">
392
+                    <td>{{ printDate }}</td>
393
+                    <td>机号:{{ main_collection.number.number }}</td>
394
+                  </tr>
395
+                  <tr style="height: 20px;">
396
+                    <td>姓名</td>
397
+                    <td>{{main_collection.patient.name}}</td>
398
+                  </tr>
399
+                  <tr style="height: 20px;">
400
+                    <td>治疗方式</td>
401
+                    <td></td>
402
+                  </tr>
403
+                  <tr style="height: 20px;">
404
+                    <td>透析时间</td>
405
+                    <td>{{ printDate }}</td>
406
+                  </tr>
407
+                  <tr style="height: 20px;">
408
+                    <td>透前体重</td>
409
+                    <td></td>
410
+                  </tr>
411
+                  <tr style="height: 20px;">
412
+                    <td>干体重</td>
413
+                    <td>{{main_collection.assessmentbefor.dry_weight}}Kg</td>
414
+                  </tr>
415
+                  <tr style="height: 20px;">
416
+                    <td>超滤量</td>
417
+                    <td></td>
418
+                  </tr>
419
+                  <tr style="height: 20px;">
420
+                    <td>透前血压</td>
421
+                    <td>-</td>
422
+                  </tr>
423
+                  <tr style="height: 20px;">
424
+                    <td></td>
425
+                    <td></td>
426
+                  </tr>
427
+                  <tr style="height: 20px;">
428
+                    <td></td>
429
+                    <td></td>
430
+                  </tr>
431
+                </table>
432
+             </div> -->
433
+
383
           </div>
434
           </div>
384
         </div>
435
         </div>
385
       </div>
436
       </div>

File diff suppressed because it is too large
+ 998 - 0
src/xt_pages/dialysis/dialysisFlow.vue


+ 68 - 13
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

105
       </template>
105
       </template>
106
       <template
106
       <template
107
         v-if="
107
         v-if="
108
-          org_template_info.template_id == 6 ||
108
+          (org_template_info.template_id == 6 ||
109
           org_template_info.template_id == 10 ||
109
           org_template_info.template_id == 10 ||
110
           org_template_info.template_id == 11 ||
110
           org_template_info.template_id == 11 ||
111
           org_template_info.template_id == 50 ||
111
           org_template_info.template_id == 50 ||
112
           org_template_info.template_id == 52 ||
112
           org_template_info.template_id == 52 ||
113
           org_template_info.template_id == 53  ||
113
           org_template_info.template_id == 53  ||
114
-          $store.getters.xt_user.org.id == 0
114
+          org_template_info.template_id == 64)
115
+          && $store.getters.xt_user.org.id != 0
115
         "
116
         "
116
       >
117
       >
117
       <div>
118
       <div>
796
           >
797
           >
797
         </div>
798
         </div>
798
       </template>
799
       </template>
799
-      
800
+
801
+      <template v-if="org_template_info.template_id == 65  || $store.getters.xt_user.org.id == 0 ">
802
+        <div>
803
+          <el-button
804
+            :loading="loading"
805
+            size="small"
806
+            icon="el-icon-printer"
807
+            @click="printThisPage"
808
+            type="primary"
809
+            >打印</el-button
810
+          >
811
+        </div>
812
+      </template>
813
+
800
     </div>
814
     </div>
801
     <div class="app-container" style="min-height: 0">
815
     <div class="app-container" style="min-height: 0">
802
       <!--<div class="order-print-btn"-->
816
       <!--<div class="order-print-btn"-->
933
           <DialysisPrintOrderTwo
947
           <DialysisPrintOrderTwo
934
             v-bind:childResponse="childResponse"
948
             v-bind:childResponse="childResponse"
935
             v-if="
949
             v-if="
936
-              org_template_info.template_id == 2 ||
937
-              org_template_info.template_id == 0
950
+              org_template_info.template_id == 2
938
             "
951
             "
939
           ></DialysisPrintOrderTwo>
952
           ></DialysisPrintOrderTwo>
940
 
953
 
958
                                   
971
                                   
959
           <DialysisPrintOrderSix
972
           <DialysisPrintOrderSix
960
             v-bind:childResponse="childResponse"
973
             v-bind:childResponse="childResponse"
961
-            v-if="org_template_info.template_id == 6"
974
+            v-if="org_template_info.template_id == 6 && $store.getters.xt_user.org.id!=0"
962
           >
975
           >
963
           </DialysisPrintOrderSix>
976
           </DialysisPrintOrderSix>
964
 
977
 
1239
           v-bind:childResponse="childResponse"
1252
           v-bind:childResponse="childResponse"
1240
             v-if="org_template_info.template_id == 63">
1253
             v-if="org_template_info.template_id == 63">
1241
           </DialysisPrintOrderSixtyThree> -->
1254
           </DialysisPrintOrderSixtyThree> -->
1255
+          <DialysisPrintOrderSixtyfour
1256
+          v-bind:childResponse="childResponse"
1257
+            v-if="org_template_info.template_id == 64">
1258
+
1259
+          </DialysisPrintOrderSixtyfour>
1260
+
1261
+          <DialysisPrintOrderSixtyFive
1262
+              v-bind:childResponse="childResponse"
1263
+            v-if="org_template_info.template_id == 65 || $store.getters.xt_user.org.id ==0">
1264
+
1265
+          </DialysisPrintOrderSixtyFive>
1242
         </div>
1266
         </div>
1243
       </el-container>
1267
       </el-container>
1244
     </div>
1268
     </div>
1320
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
1344
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
1321
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
1345
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
1322
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1346
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1347
+import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
1348
+import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1323
 export default {
1349
 export default {
1324
   name: "dialysisPrintOrder",
1350
   name: "dialysisPrintOrder",
1325
   components: {
1351
   components: {
1386
     DialysisPrintOrderSeven,
1412
     DialysisPrintOrderSeven,
1387
     DialysisPrintOrderEight,
1413
     DialysisPrintOrderEight,
1388
     DialysisPrintOrderNine,
1414
     DialysisPrintOrderNine,
1389
-
1415
+    DialysisPrintOrderSixtyfour,
1416
+    DialysisPrintOrderSixtyFive,
1390
     LabelBox,
1417
     LabelBox,
1391
     BreadCrumb,
1418
     BreadCrumb,
1392
-  },
1419
+    DialysisPrintOrderSixtyFive
1420
+},
1393
   data() {
1421
   data() {
1394
     return {
1422
     return {
1395
       crumbs: [
1423
       crumbs: [
1539
       return "";
1567
       return "";
1540
     },
1568
     },
1541
     printThisPage() {
1569
     printThisPage() {
1570
+      // console.log("this.org_template_info.template_id",this.org_template_info.template_id)
1571
+      // if(this.$store.getters.xt_user.org.id == 0){
1572
+      //   this.org_template_info.template_id = 65
1573
+      // }
1574
+       
1542
       var ptime = Math.round(new Date().getTime() / 1000);
1575
       var ptime = Math.round(new Date().getTime() / 1000);
1543
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
1576
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
1544
 
1577
 
1631
         // this.org_template_info.template_id == 51 ||
1664
         // this.org_template_info.template_id == 51 ||
1632
         this.org_template_info.template_id == 58 ||
1665
         this.org_template_info.template_id == 58 ||
1633
         this.org_template_info.template_id == 60 ||
1666
         this.org_template_info.template_id == 60 ||
1634
-        this.org_template_info.template_id == 61  ||
1635
-        this.org_template_info.template_id ==0
1667
+        this.org_template_info.template_id == 61
1668
+      
1669
+       
1636
       ) {
1670
       ) {
1637
         printJS({
1671
         printJS({
1638
           printable: "dialysis-print-box-1",
1672
           printable: "dialysis-print-box-1",
1937
           style: style2,
1971
           style: style2,
1938
           scanStyles: false,
1972
           scanStyles: false,
1939
         });
1973
         });
1974
+      }else if (
1975
+        this.org_template_info.template_id == 64
1976
+      ) {
1977
+        printJS({
1978
+          printable: "dialysis-print-box-64",
1979
+          type: "html",
1980
+          style: style12,
1981
+          scanStyles: false,
1982
+        });
1983
+        
1984
+      }else if (this.org_template_info.template_id == 65 || this.org_template_info.template_id == 6) {
1985
+        console.log("进来")
1986
+        printJS({
1987
+          printable: "dialysis-print-box-65",
1988
+          type: "html",
1989
+          style: style12,
1990
+          scanStyles: false,
1991
+        });
1992
+        
1940
       }else if (
1993
       }else if (
1941
         this.org_template_info.template_id == 53
1994
         this.org_template_info.template_id == 53
1942
       ) {
1995
       ) {
1947
           scanStyles: false,
2000
           scanStyles: false,
1948
         });
2001
         });
1949
         
2002
         
1950
-      }else if (
2003
+      }
2004
+      else if (
1951
         this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
2005
         this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
1952
       ) {
2006
       ) {
1953
         printJS({
2007
         printJS({
2032
           style: style,
2086
           style: style,
2033
           scanStyles: false,
2087
           scanStyles: false,
2034
         });
2088
         });
2035
-      }
2089
+      } 
2036
     },
2090
     },
2037
     printThisTwoPage() {
2091
     printThisTwoPage() {
2038
       var ptime = Math.round(new Date().getTime() / 1000);
2092
       var ptime = Math.round(new Date().getTime() / 1000);
2160
       getDialysisRecord(this.queryParams).then((response) => {
2214
       getDialysisRecord(this.queryParams).then((response) => {
2161
         if (response.data.state == 1) {
2215
         if (response.data.state == 1) {
2162
           this.childResponse = response;
2216
           this.childResponse = response;
2217
+          console.log('this.org_template_info是数据',response.data.data);
2163
           this.org_template_info = response.data.data.org_template_info;
2218
           this.org_template_info = response.data.data.org_template_info;
2164
           this.loading = false;
2219
           this.loading = false;
2165
           //   this.adminUser = response.data.data.users
2220
           //   this.adminUser = response.data.data.users
2592
         "/dialysis/print?xtdate=" +
2647
         "/dialysis/print?xtdate=" +
2593
           xtdate +
2648
           xtdate +
2594
           "&xtno=" +
2649
           "&xtno=" +
2595
-          schedual.patient.dialysis_no
2650
+          schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
2596
       );
2651
       );
2597
       //   this.patient_id = schedual.patient_id;
2652
       //   this.patient_id = schedual.patient_id;
2598
       //   this.date = schedual.schedule_date;
2653
       //   this.date = schedual.schedule_date;

+ 10 - 4
src/xt_pages/dialysis/signPrint.vue View File

28
                             规格:{{getSpecialName(it.drug_id)}} 
28
                             规格:{{getSpecialName(it.drug_id)}} 
29
                             
29
                             
30
                             </div>  
30
                             </div>  
31
-                            <div v-if="(org_id ==0 || org_id==10440) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
31
+                            <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
32
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
33
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
33
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
34
                              
34
                              
45
                             规格:{{getSpecialName(its.drug_id)}} 
45
                             规格:{{getSpecialName(its.drug_id)}} 
46
                             
46
                             
47
                             </div>  
47
                             </div>  
48
-                            <div v-if=" org_id ==0 || org_id==10440">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
48
+                            <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
49
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
49
                             <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{its.execution_frequency}}</div>  
50
                             <div>给药途径:{{its.delivery_way}}</div>  
50
                             <div>给药途径:{{its.delivery_way}}</div>  
51
                         </div>
51
                         </div>
302
                    }
302
                    }
303
                   }
303
                   }
304
                   for(let i=0;i<schedules.length;i++){
304
                   for(let i=0;i<schedules.length;i++){
305
+                    schedules[i].sort = 0
306
+                    schedules[i].sort = schedules[i].device_number.sort
305
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
307
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
306
                       schedules[i].parent_advice[j].childAdvice = []
308
                       schedules[i].parent_advice[j].childAdvice = []
307
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
309
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
312
                     }
314
                     }
313
                   }
315
                   }
314
                   console.log("scheduleMap999999999999",schedules)
316
                   console.log("scheduleMap999999999999",schedules)
315
-                  this.list = schedules
317
+                  this.list = schedules.sort(this.compare('sort'))
316
                 }
318
                 }
317
                
319
                
318
                  if(config.is_open == 1){
320
                  if(config.is_open == 1){
481
                   }
483
                   }
482
 
484
 
483
                   for(let i=0;i<schedules.length;i++){
485
                   for(let i=0;i<schedules.length;i++){
486
+                    schedules[i].sort = 0
487
+                    schedules[i].sort = schedules[i].device_number.sort
484
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
488
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
485
                       schedules[i].parent_advice[j].childAdvice = []
489
                       schedules[i].parent_advice[j].childAdvice = []
486
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
490
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
490
                       }
494
                       }
491
                     }
495
                     }
492
                   }
496
                   }
493
-                   this.list = schedules
497
+                  console.log("哈哈哈",schedules)
498
+                   this.list = schedules.sort(this.compare('sort'))
499
+                 
494
                    this.scheduleMap = scheduleMap  
500
                    this.scheduleMap = scheduleMap  
495
                  }
501
                  }
496
                 console.log("this.list",this.list)
502
                 console.log("this.list",this.list)

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

1153
 
1153
 
1154
       queryParams: {
1154
       queryParams: {
1155
         xtdate: '',
1155
         xtdate: '',
1156
-        xtno: ''
1156
+        xtno: '',
1157
+        patient_id:0,
1157
       },
1158
       },
1158
       patientInfo: {
1159
       patientInfo: {
1159
         birth: '',
1160
         birth: '',
1564
     },
1565
     },
1565
     getDialysisRecord() {
1566
     getDialysisRecord() {
1566
       this.loading = true
1567
       this.loading = true
1567
-
1568
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1568
       getDialysisRecord(this.queryParams).then(response => {
1569
       getDialysisRecord(this.queryParams).then(response => {
1569
         if (response.data.state === 1) {
1570
         if (response.data.state === 1) {
1570
           this.adminUser = response.data.data.users
1571
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue View File

591
 
591
 
592
       queryParams: {
592
       queryParams: {
593
         xtdate: "",
593
         xtdate: "",
594
-        xtno: ""
594
+        xtno: "",
595
+        patient_id:0,
595
       },
596
       },
596
       patientInfo: {
597
       patientInfo: {
597
         birth: "",
598
         birth: "",
788
     },
789
     },
789
     getDialysisRecord() {
790
     getDialysisRecord() {
790
       this.loading = true;
791
       this.loading = true;
791
-
792
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
792
       getDialysisRecord(this.queryParams).then(response => {
793
       getDialysisRecord(this.queryParams).then(response => {
793
         if (response.data.state === 1) {
794
         if (response.data.state === 1) {
794
           this.total = response.data.data.total;
795
           this.total = response.data.data.total;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue View File

1112
       totollength: 0,
1112
       totollength: 0,
1113
       queryParams: {
1113
       queryParams: {
1114
         xtdate: "",
1114
         xtdate: "",
1115
-        xtno: ""
1115
+        xtno: "",
1116
+        patient_id:0,
1116
       },
1117
       },
1117
       patientInfo: {
1118
       patientInfo: {
1118
         birth: "",
1119
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue View File

505
 
505
 
506
       queryParams: {
506
       queryParams: {
507
         xtdate: "",
507
         xtdate: "",
508
-        xtno: ""
508
+        xtno: "",
509
+        patient_id:0,
509
       },
510
       },
510
       patientInfo: {
511
       patientInfo: {
511
         birth: "",
512
         birth: "",
718
     },
719
     },
719
     getDialysisRecord() {
720
     getDialysisRecord() {
720
       this.loading = true;
721
       this.loading = true;
721
-
722
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
722
       getDialysisRecord(this.queryParams).then(response => {
723
       getDialysisRecord(this.queryParams).then(response => {
723
         if (response.data.state === 1) {
724
         if (response.data.state === 1) {
724
           this.total = response.data.data.total;
725
           this.total = response.data.data.total;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue View File

2597
       queryParams: {
2597
       queryParams: {
2598
         xtdate: "",
2598
         xtdate: "",
2599
         xtno: "",
2599
         xtno: "",
2600
+        patient_id:0,
2600
       },
2601
       },
2601
       patientInfo: {
2602
       patientInfo: {
2602
         birth: "",
2603
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue View File

2570
       queryParams: {
2570
       queryParams: {
2571
         xtdate: "",
2571
         xtdate: "",
2572
         xtno: "",
2572
         xtno: "",
2573
+        patient_id:0,
2573
       },
2574
       },
2574
       patientInfo: {
2575
       patientInfo: {
2575
         birth: "",
2576
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue View File

1011
       queryParams: {
1011
       queryParams: {
1012
         xtdate: "",
1012
         xtdate: "",
1013
         xtno: "",
1013
         xtno: "",
1014
+        patient_id:0,
1014
       },
1015
       },
1015
       patientInfo: {
1016
       patientInfo: {
1016
         birth: "",
1017
         birth: "",
1166
     },
1167
     },
1167
     getDialysisRecord() {
1168
     getDialysisRecord() {
1168
       this.loading = true;
1169
       this.loading = true;
1169
-
1170
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1170
       getDialysisRecord(this.queryParams).then((response) => {
1171
       getDialysisRecord(this.queryParams).then((response) => {
1171
         if (response.data.state == 1) {
1172
         if (response.data.state == 1) {
1172
           this.adminUser = response.data.data.users;
1173
           this.adminUser = response.data.data.users;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue View File

2434
       queryParams: {
2434
       queryParams: {
2435
         xtdate: "",
2435
         xtdate: "",
2436
         xtno: "",
2436
         xtno: "",
2437
+        patient_id:0,
2437
       },
2438
       },
2438
       patientInfo: {
2439
       patientInfo: {
2439
         birth: "",
2440
         birth: "",

+ 37 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

2595
                                 />
2595
                                 />
2596
                               </div>
2596
                               </div>
2597
                             </div>
2597
                             </div>
2598
-                            <div class="inline_block" style="flex: 1">
2598
+                            <!-- <div class="inline_block" style="flex: 1">
2599
                               下机护士:
2599
                               下机护士:
2600
                               <div
2600
                               <div
2601
                                 class="under_line"
2601
                                 class="under_line"
2633
                                   v-else
2633
                                   v-else
2634
                                 />
2634
                                 />
2635
                               </div>
2635
                               </div>
2636
-                            </div>
2637
-                            <!-- <div class="inline_block" style="flex: 1">
2636
+                            </div> -->
2637
+                            <div class="inline_block" style="flex: 1">
2638
                               患者签名:
2638
                               患者签名:
2639
                               <div
2639
                               <div
2640
                                 class="under_line"
2640
                                 class="under_line"
2648
                                   srcset=""
2648
                                   srcset=""
2649
                                 />
2649
                                 />
2650
                               </div>
2650
                               </div>
2651
-                            </div> -->
2651
+                            </div>
2652
                             <div class="inline_block" style="flex: 1">
2652
                             <div class="inline_block" style="flex: 1">
2653
                               治疗医生:
2653
                               治疗医生:
2654
                               <div
2654
                               <div
2762
       queryParams: {
2762
       queryParams: {
2763
         xtdate: "",
2763
         xtdate: "",
2764
         xtno: "",
2764
         xtno: "",
2765
+        patient_id:0,
2765
       },
2766
       },
2766
       patientInfo: {
2767
       patientInfo: {
2767
         birth: "",
2768
         birth: "",
3582
       }
3583
       }
3583
       return "";
3584
       return "";
3584
     },
3585
     },
3586
+    // getAge: function (val) {
3587
+    //   if (
3588
+    //     this.org_template_info.template_id == 2 ||
3589
+    //     this.org_template_info.template_id == 0
3590
+    //   ) {
3591
+    //     if (val.age == 0) {
3592
+    //       return jsGetAge(val.birth, "-");
3593
+    //     } else {
3594
+    //       return val.age;
3595
+    //     }
3596
+    //   } else {
3597
+    //     return jsGetAge(val.birth, "-");
3598
+    //   }
3599
+    // },
3585
     getAge: function (val) {
3600
     getAge: function (val) {
3586
-      if (
3587
-        this.org_template_info.template_id == 2 ||
3588
-        this.org_template_info.template_id == 0
3589
-      ) {
3590
-        if (val.age == 0) {
3591
-          return jsGetAge(val.birth, "-");
3592
-        } else {
3593
-          return val.age;
3594
-        }
3595
-      } else {
3596
-        return jsGetAge(val.birth, "-");
3597
-      }
3598
-    },
3601
+            var thisLen = val.id_card_no.length;
3602
+            var birth = "";
3603
+            if (thisLen == 15) {
3604
+                birth = "19" + val.id_card_no.substr(6, 6);
3605
+            } else {
3606
+                birth = val.id_card_no.substr(6, 8);
3607
+            }
3608
+            var birthtwo =
3609
+                birth.substr(0, 4) +
3610
+                "-" +
3611
+                birth.substr(4, 2) +
3612
+                "-" +
3613
+                birth.substr(6, 2);
3614
+
3615
+            var age = jsGetAge(birthtwo, "-");
3616
+            return age;
3617
+      },
3618
+  
3599
     newAdviceGroupObject: function () {
3619
     newAdviceGroupObject: function () {
3600
       return Object.assign(
3620
       return Object.assign(
3601
         {},
3621
         {},

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue View File

1018
       queryParams: {
1018
       queryParams: {
1019
         xtdate: "",
1019
         xtdate: "",
1020
         xtno: "",
1020
         xtno: "",
1021
+        patient_id:0,
1021
       },
1022
       },
1022
       patientInfo: {
1023
       patientInfo: {
1023
         birth: "",
1024
         birth: "",
1173
     },
1174
     },
1174
     getDialysisRecord() {
1175
     getDialysisRecord() {
1175
       this.loading = true;
1176
       this.loading = true;
1176
-
1177
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1177
       getDialysisRecord(this.queryParams).then((response) => {
1178
       getDialysisRecord(this.queryParams).then((response) => {
1178
         if (response.data.state == 1) {
1179
         if (response.data.state == 1) {
1179
           this.adminUser = response.data.data.users;
1180
           this.adminUser = response.data.data.users;

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySix.vue View File

2646
       queryParams: {
2646
       queryParams: {
2647
         xtdate: "",
2647
         xtdate: "",
2648
         xtno: "",
2648
         xtno: "",
2649
+        patient_id:0,
2649
       },
2650
       },
2650
       patientInfo: {
2651
       patientInfo: {
2651
         birth: "",
2652
         birth: "",

+ 82 - 45
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

25
                       <div>
25
                       <div>
26
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
26
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
27
                       </div>
27
                       </div>
28
-                      <div>年龄:{{ getoldAge() }}</div>
28
+                      <div>年龄:{{ getAge(patientInfo) }}</div>
29
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
29
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
30
                     </div>
30
                     </div>
31
                   </td>
31
                   </td>
688
                 <tr>
688
                 <tr>
689
                   <td style="width: 60px" rowspan="2">时间</td>
689
                   <td style="width: 60px" rowspan="2">时间</td>
690
                   <td colspan="4">透析参数</td>
690
                   <td colspan="4">透析参数</td>
691
-                  <td :colspan="org_id == 10441 || org_id == 9675 ? 4 : 5">
691
+                  <td :colspan="org_id == 10441 || org_id == 9675  ? 4 : 5">
692
                     生命体征
692
                     生命体征
693
                   </td>
693
                   </td>
694
+                  <td v-if="org_id == 10430 || org_id == 0">
695
+                    KT/V
696
+                  </td>
694
                   <td colspan="1">治疗中病情变化</td>
697
                   <td colspan="1">治疗中病情变化</td>
695
                 </tr>
698
                 </tr>
696
                 <tr class="short_tr">
699
                 <tr class="short_tr">
716
                     <p style="height: 20px; line-height: 20px">℃</p>
719
                     <p style="height: 20px; line-height: 20px">℃</p>
717
                   </th>
720
                   </th>
718
 
721
 
722
+               
723
+
719
                   <th style="width: 80px; font-weight: normal">
724
                   <th style="width: 80px; font-weight: normal">
720
                     <p style="height: 20px; line-height: 20px">T</p>
725
                     <p style="height: 20px; line-height: 20px">T</p>
721
                     <p style="height: 20px; line-height: 20px">℃</p>
726
                     <p style="height: 20px; line-height: 20px">℃</p>
743
                     <p style="height: 20px; line-height: 20px">SpO₂</p>
748
                     <p style="height: 20px; line-height: 20px">SpO₂</p>
744
                     <p style="height: 20px; line-height: 20px">%</p>
749
                     <p style="height: 20px; line-height: 20px">%</p>
745
                   </th>
750
                   </th>
751
+                  <th style="width:50px; font-weight: normal" v-if="org_id == 10430 || org_id == 0">
752
+                    <p style="height: 20px; line-height: 20px">
753
+                      KT/V
754
+                    </p>
755
+                  </th>
746
                   <th style="width: 333px; font-weight: normal">
756
                   <th style="width: 333px; font-weight: normal">
747
                     <p style="height: 20px; line-height: 20px">
757
                     <p style="height: 20px; line-height: 20px">
748
                       记&nbsp;&nbsp;&nbsp;&nbsp;录
758
                       记&nbsp;&nbsp;&nbsp;&nbsp;录
795
                     {{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}
805
                     {{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}
796
                   </td>
806
                   </td>
797
 
807
 
808
+
798
                   <td>
809
                   <td>
799
                     <span v-if="getTime(monitor.operate_time) != ''">
810
                     <span v-if="getTime(monitor.operate_time) != ''">
800
                       {{ monitor.temperature ? monitor.temperature : "" }}
811
                       {{ monitor.temperature ? monitor.temperature : "" }}
801
                     </span>
812
                     </span>
802
                   </td>
813
                   </td>
803
 
814
 
815
+                
804
                   <td>
816
                   <td>
805
                     <span v-if="getTime(monitor.operate_time) != ''">
817
                     <span v-if="getTime(monitor.operate_time) != ''">
806
                       {{
818
                       {{
836
                       }}
848
                       }}
837
                     </span>
849
                     </span>
838
                   </td>
850
                   </td>
851
+                  <td v-if="org_id == 10430 || org_id == 0">
852
+                    {{ monitor.ktv?monitor.ktv:"" }}
853
+                  </td>
839
                   <td>
854
                   <td>
840
                     <span
855
                     <span
841
                       v-if="
856
                       v-if="
851
               </table>
866
               </table>
852
             </td>
867
             </td>
853
           </tr>
868
           </tr>
854
-          <tr style="transform: translateY(4px)" v-if="org_id!=10346 && org_id!=0">
869
+          <tr style="transform: translateY(4px)" v-if="org_id!=10346">
855
             <td>
870
             <td>
856
               <table class="print-table" border="1" style="text-align: center">
871
               <table class="print-table" border="1" style="text-align: center">
857
                 <tr>
872
                 <tr>
899
               </table>
914
               </table>
900
             </td>
915
             </td>
901
           </tr>
916
           </tr>
902
-          <div v-if="org_id!=10346 && org_id!=0">
917
+
903
           <tr
918
           <tr
919
+            v-if="org_id!=10346"
904
             v-for="(advice, advice_index) in advices"
920
             v-for="(advice, advice_index) in advices"
905
             :key="advice_index"
921
             :key="advice_index"
906
             style="transform: translateY(3px)"
922
             style="transform: translateY(3px)"
919
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
935
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
920
                       {{ getAdminUser(advice.advice_doctor) }}
936
                       {{ getAdminUser(advice.advice_doctor) }}
921
                     </span>
937
                     </span>
922
-                    <img
938
+                  <img
923
                       style="height: 30px"
939
                       style="height: 30px"
924
                       :src="setAdminUserES(advice.advice_doctor)"
940
                       :src="setAdminUserES(advice.advice_doctor)"
925
                       alt=""
941
                       alt=""
926
                       srcset=""
942
                       srcset=""
927
                     />
943
                     />
928
                   </td>
944
                   </td>
929
-                  <td style="text-align: left; padding-left: 5px" width="340">
945
+                  <td style="text-align: left; padding-left: 5px" width="344">
930
                     <span v-if="advice.parent_id > 0">---></span>
946
                     <span v-if="advice.parent_id > 0">---></span>
931
                     <span>{{ advice.advice_name }}</span>
947
                     <span>{{ advice.advice_name }}</span>
932
                     <span v-if="advice && advice.advice_desc"
948
                     <span v-if="advice && advice.advice_desc"
1082
               </table>
1098
               </table>
1083
             </td>
1099
             </td>
1084
           </tr>
1100
           </tr>
1085
-          </div>
1101
+         
1086
 
1102
 
1087
           <tr style="transform: translateY(1px)">
1103
           <tr style="transform: translateY(1px)">
1088
             <td>
1104
             <td>
1201
       </table>
1217
       </table>
1202
     </div>
1218
     </div>
1203
   </div>
1219
   </div>
1220
+
1221
+  
1204
   <div id="dialysis-print-box-1-2">
1222
   <div id="dialysis-print-box-1-2">
1205
     <div class="dialysis-print-order">
1223
     <div class="dialysis-print-order">
1206
       <table class="print-table">
1224
       <table class="print-table">
1226
                       <div>
1244
                       <div>
1227
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
1245
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
1228
                       </div>
1246
                       </div>
1229
-                      <div>年龄:{{ getoldAge() }}</div>
1247
+                      <div>年龄:{{ getAge(patientInfo) }}</div>
1230
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
1248
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
1231
                     </div>
1249
                     </div>
1232
                   </td>
1250
                   </td>
1285
               </table>
1303
               </table>
1286
             </td>
1304
             </td>
1287
           </tr>
1305
           </tr>
1288
-          <div>
1289
           <tr
1306
           <tr
1290
             v-for="(advice, advice_index) in advices"
1307
             v-for="(advice, advice_index) in advices"
1291
             :key="advice_index"
1308
             :key="advice_index"
1311
                       srcset=""
1328
                       srcset=""
1312
                     />
1329
                     />
1313
                   </td>
1330
                   </td>
1314
-                  <td style="text-align: left; padding-left: 5px" width="340">
1331
+                  <td style="text-align: left; padding-left: 5px" width="344">
1315
                     <span v-if="advice.parent_id > 0">---></span>
1332
                     <span v-if="advice.parent_id > 0">---></span>
1316
                     <span>{{ advice.advice_name }}</span>
1333
                     <span>{{ advice.advice_name }}</span>
1317
                     <span v-if="advice && advice.advice_desc"
1334
                     <span v-if="advice && advice.advice_desc"
1467
               </table>
1484
               </table>
1468
             </td>
1485
             </td>
1469
           </tr>
1486
           </tr>
1470
-          </div>
1471
 
1487
 
1472
         
1488
         
1473
         </tbody>
1489
         </tbody>
1551
       queryParams: {
1567
       queryParams: {
1552
         xtdate: "",
1568
         xtdate: "",
1553
         xtno: "",
1569
         xtno: "",
1570
+        patient_id:0,
1554
       },
1571
       },
1555
       patientInfo: {
1572
       patientInfo: {
1556
         birth: "",
1573
         birth: "",
1605
       },
1622
       },
1606
     };
1623
     };
1607
   },
1624
   },
1608
-  methods: {
1625
+  methods: {   
1626
+    getAge: function (val) {
1627
+            var thisLen = val.id_card_no.length;
1628
+            var birth = "";
1629
+            if (thisLen == 15) {
1630
+                birth = "19" + val.id_card_no.substr(6, 6);
1631
+            } else {
1632
+                birth = val.id_card_no.substr(6, 8);
1633
+            }
1634
+            var birthtwo =
1635
+                birth.substr(0, 4) +
1636
+                "-" +
1637
+                birth.substr(4, 2) +
1638
+                "-" +
1639
+                birth.substr(6, 2);
1640
+
1641
+            var age = jsGetAge(birthtwo, "-");
1642
+            return age;
1643
+      },
1644
+
1645
+
1609
     // 获取当前年份,用于年龄计算
1646
     // 获取当前年份,用于年龄计算
1610
-    getoldAge() {
1611
-      let date = new Date();
1612
-      let year = date.getFullYear();
1613
-      let year_d =
1614
-        this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
1615
-      let year_m = this.xtdate.split("-")[1];
1616
-      let birth_m = this.patientInfo.birth.split("-")[1];
1617
-      let year_date = this.xtdate.split("-")[2];
1618
-      let birth_date = this.patientInfo.birth.split("-")[2];
1619
-      // console.log(year,'今年年月')
1620
-      // console.log(this.xtdate.split('-'),'病人就诊年月')
1621
-      console.log(this.patientInfo.birth, "病人生日");
1622
-      // console.log(year_d,'year_d')
1623
-      if (year_m < birth_m) {
1624
-        return year_d - 1;
1625
-      } else if (year_m == birth_m) {
1626
-        if (year_date < birth_date) {
1627
-          return year_d - 1;
1628
-        } else {
1629
-          return year_d;
1630
-        }
1631
-      } else {
1632
-        return year_d;
1633
-      }
1634
-    },
1647
+    // getoldAge() {
1648
+      // let date = new Date();
1649
+      // let year = date.getFullYear();
1650
+      // let year_d =
1651
+      //   this.xtdate.split("-")[0] - this.patientInfo.birth.split("-")[0];
1652
+      // let year_m = this.xtdate.split("-")[1];
1653
+      // let birth_m = this.patientInfo.birth.split("-")[1];
1654
+      // let year_date = this.xtdate.split("-")[2];
1655
+      // let birth_date = this.patientInfo.birth.split("-")[2];
1656
+      // // console.log(year,'今年年月')
1657
+      // // console.log(this.xtdate.split('-'),'病人就诊年月')
1658
+      // console.log(this.patientInfo.birth, "病人生日");
1659
+      // // console.log(year_d,'year_d')
1660
+      // if (year_m < birth_m) {
1661
+      //   return year_d - 1;
1662
+      // } else if (year_m == birth_m) {
1663
+      //   if (year_date < birth_date) {
1664
+      //     return year_d - 1;
1665
+      //   } else {
1666
+      //     return year_d;
1667
+      //   }
1668
+      // } else {
1669
+      //   return year_d;
1670
+      // }
1671
+    // },
1635
     getAdminUser(id) {
1672
     getAdminUser(id) {
1636
       if (id == 0) {
1673
       if (id == 0) {
1637
         return "";
1674
         return "";
1733
     },
1770
     },
1734
     getDialysisRecord() {
1771
     getDialysisRecord() {
1735
       this.loading = true;
1772
       this.loading = true;
1736
-
1773
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1737
       getDialysisRecord(this.queryParams).then((response) => {
1774
       getDialysisRecord(this.queryParams).then((response) => {
1738
         if (response.data.state == 1) {
1775
         if (response.data.state == 1) {
1739
           this.adminUser = response.data.data.users;
1776
           this.adminUser = response.data.data.users;
2141
       }
2178
       }
2142
       return "";
2179
       return "";
2143
     },
2180
     },
2144
-    getAge: function (val) {
2145
-      if (val.birthday != 0) {
2146
-        return jsGetAge(val.birth, "-");
2147
-      } else {
2148
-        return "";
2149
-      }
2150
-    },
2181
+    // getAge: function (val) {
2182
+    //   if (val.birthday != 0) {
2183
+    //     return jsGetAge(val.birth, "-");
2184
+    //   } else {
2185
+    //     return "";
2186
+    //   }
2187
+    // },
2151
     newAdviceGroupObject: function () {
2188
     newAdviceGroupObject: function () {
2152
       return Object.assign(
2189
       return Object.assign(
2153
         {},
2190
         {},

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThreeAdvice.vue View File

1219
       queryParams: {
1219
       queryParams: {
1220
         xtdate: "",
1220
         xtdate: "",
1221
         xtno: "",
1221
         xtno: "",
1222
+        patient_id:0,
1222
       },
1223
       },
1223
       patientInfo: {
1224
       patientInfo: {
1224
         birth: "",
1225
         birth: "",
1401
     },
1402
     },
1402
     getDialysisRecord() {
1403
     getDialysisRecord() {
1403
       this.loading = true;
1404
       this.loading = true;
1404
-
1405
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1405
       getDialysisRecord(this.queryParams).then((response) => {
1406
       getDialysisRecord(this.queryParams).then((response) => {
1406
         if (response.data.state == 1) {
1407
         if (response.data.state == 1) {
1407
           this.adminUser = response.data.data.users;
1408
           this.adminUser = response.data.data.users;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyTwo.vue View File

1214
       totollength: 0,
1214
       totollength: 0,
1215
       queryParams: {
1215
       queryParams: {
1216
         xtdate: '',
1216
         xtdate: '',
1217
-        xtno: ''
1217
+        xtno: '',
1218
+        patient_id:0,
1218
       },
1219
       },
1219
       patientInfo: {
1220
       patientInfo: {
1220
         birth: '',
1221
         birth: '',

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyfive.vue View File

2450
       queryParams: {
2450
       queryParams: {
2451
         xtdate: "",
2451
         xtdate: "",
2452
         xtno: "",
2452
         xtno: "",
2453
+        patient_id:0,
2453
       },
2454
       },
2454
       patientInfo: {
2455
       patientInfo: {
2455
         birth: "",
2456
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue View File

1809
 
1809
 
1810
         queryParams: {
1810
         queryParams: {
1811
           xtdate: '',
1811
           xtdate: '',
1812
-          xtno: ''
1812
+          xtno: '',
1813
+          patient_id:0,
1813
         },
1814
         },
1814
         patientInfo: {
1815
         patientInfo: {
1815
           birth: '',
1816
           birth: '',
2175
       },
2176
       },
2176
       getDialysisRecord() {
2177
       getDialysisRecord() {
2177
         this.loading = true
2178
         this.loading = true
2178
-
2179
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2179
         getDialysisRecord(this.queryParams).then(response => {
2180
         getDialysisRecord(this.queryParams).then(response => {
2180
           if (response.data.state == 1) {
2181
           if (response.data.state == 1) {
2181
             this.adminUser = response.data.data.users
2182
             this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue View File

1422
       queryParams: {
1422
       queryParams: {
1423
         xtdate: "",
1423
         xtdate: "",
1424
         xtno: "",
1424
         xtno: "",
1425
+        patient_id:0,
1425
       },
1426
       },
1426
       patientInfo: {
1427
       patientInfo: {
1427
         birth: "",
1428
         birth: "",
1876
     },
1877
     },
1877
     getDialysisRecord() {
1878
     getDialysisRecord() {
1878
       this.loading = true;
1879
       this.loading = true;
1879
-
1880
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1880
       getDialysisRecord(this.queryParams).then((response) => {
1881
       getDialysisRecord(this.queryParams).then((response) => {
1881
         if (response.data.state === 1) {
1882
         if (response.data.state === 1) {
1882
           this.adminUser = response.data.data.users;
1883
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue View File

1119
 
1119
 
1120
       queryParams: {
1120
       queryParams: {
1121
         xtdate: '',
1121
         xtdate: '',
1122
-        xtno: ''
1122
+        xtno: '',
1123
+        patient_id:0,
1123
       },
1124
       },
1124
       patientInfo: {
1125
       patientInfo: {
1125
         birth: '',
1126
         birth: '',
1407
     },
1408
     },
1408
     getDialysisRecord() {
1409
     getDialysisRecord() {
1409
       this.loading = true
1410
       this.loading = true
1410
-
1411
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1411
       getDialysisRecord(this.queryParams).then(response => {
1412
       getDialysisRecord(this.queryParams).then(response => {
1412
         if (response.data.state == 1) {
1413
         if (response.data.state == 1) {
1413
           this.adminUser = response.data.data.users
1414
           this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue View File

862
       totollength: 0,
862
       totollength: 0,
863
       queryParams: {
863
       queryParams: {
864
         xtdate: '',
864
         xtdate: '',
865
-        xtno: ''
865
+        xtno: '',
866
+        patient_id:0,
866
       },
867
       },
867
       patientInfo: {
868
       patientInfo: {
868
         birth: '',
869
         birth: '',

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue View File

1190
       totollength: 0,
1190
       totollength: 0,
1191
       queryParams: {
1191
       queryParams: {
1192
         xtdate: '',
1192
         xtdate: '',
1193
-        xtno: ''
1193
+        xtno: '',
1194
+        patient_id:0,
1194
       },
1195
       },
1195
       patientInfo: {
1196
       patientInfo: {
1196
         birth: '',
1197
         birth: '',

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue View File

867
       totollength: 0,
867
       totollength: 0,
868
       queryParams: {
868
       queryParams: {
869
         xtdate: '',
869
         xtdate: '',
870
-        xtno: ''
870
+        xtno: '',
871
+        patient_id:0,
871
       },
872
       },
872
       patientInfo: {
873
       patientInfo: {
873
         birth: '',
874
         birth: '',

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

2644
       queryParams: {
2644
       queryParams: {
2645
         xtdate: "",
2645
         xtdate: "",
2646
         xtno: "",
2646
         xtno: "",
2647
+        patient_id:0,
2647
       },
2648
       },
2648
       patientInfo: {
2649
       patientInfo: {
2649
         birth: "",
2650
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue View File

2098
       queryParams: {
2098
       queryParams: {
2099
         xtdate: "",
2099
         xtdate: "",
2100
         xtno: "",
2100
         xtno: "",
2101
+        patient_id:0,
2101
       },
2102
       },
2102
       patientInfo: {
2103
       patientInfo: {
2103
         birth: "",
2104
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue View File

1900
       queryParams: {
1900
       queryParams: {
1901
         xtdate: "",
1901
         xtdate: "",
1902
         xtno: "",
1902
         xtno: "",
1903
+        patient_id:0,
1903
       },
1904
       },
1904
       patientInfo: {
1905
       patientInfo: {
1905
         birth: "",
1906
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue View File

1677
       queryParams: {
1677
       queryParams: {
1678
         xtdate: "",
1678
         xtdate: "",
1679
         xtno: "",
1679
         xtno: "",
1680
+        patient_id:0,
1680
       },
1681
       },
1681
       patientInfo: {
1682
       patientInfo: {
1682
         birth: "",
1683
         birth: "",
2004
     },
2005
     },
2005
     getDialysisRecord() {
2006
     getDialysisRecord() {
2006
       this.loading = true;
2007
       this.loading = true;
2007
-
2008
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2008
       getDialysisRecord(this.queryParams).then((response) => {
2009
       getDialysisRecord(this.queryParams).then((response) => {
2009
         if (response.data.state == 1) {
2010
         if (response.data.state == 1) {
2010
           this.adminUser = response.data.data.users;
2011
           this.adminUser = response.data.data.users;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue View File

1143
 
1143
 
1144
         queryParams: {
1144
         queryParams: {
1145
           xtdate: '',
1145
           xtdate: '',
1146
-          xtno: ''
1146
+          xtno: '',
1147
+          patient_id:0,
1147
         },
1148
         },
1148
         patientInfo: {
1149
         patientInfo: {
1149
           birth: '',
1150
           birth: '',
1284
       },
1285
       },
1285
       getDialysisRecord() {
1286
       getDialysisRecord() {
1286
         this.loading = true
1287
         this.loading = true
1287
-
1288
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1288
         getDialysisRecord(this.queryParams).then(response => {
1289
         getDialysisRecord(this.queryParams).then(response => {
1289
           if (response.data.state == 1) {
1290
           if (response.data.state == 1) {
1290
             this.adminUser = response.data.data.users
1291
             this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue View File

1117
 
1117
 
1118
       queryParams: {
1118
       queryParams: {
1119
         xtdate: '',
1119
         xtdate: '',
1120
-        xtno: ''
1120
+        xtno: '',
1121
+        patient_id:0,
1121
       },
1122
       },
1122
       patientInfo: {
1123
       patientInfo: {
1123
         birth: '',
1124
         birth: '',
1371
     },
1372
     },
1372
     getDialysisRecord() {
1373
     getDialysisRecord() {
1373
       this.loading = true
1374
       this.loading = true
1374
-
1375
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1375
       getDialysisRecord(this.queryParams).then(response => {
1376
       getDialysisRecord(this.queryParams).then(response => {
1376
         if (response.data.state === 1) {
1377
         if (response.data.state === 1) {
1377
           this.total = response.data.data.total
1378
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue View File

1714
 
1714
 
1715
         queryParams: {
1715
         queryParams: {
1716
           xtdate: '',
1716
           xtdate: '',
1717
-          xtno: ''
1717
+          xtno: '',
1718
+          patient_id:0,
1718
         },
1719
         },
1719
         patientInfo: {
1720
         patientInfo: {
1720
           birth: '',
1721
           birth: '',
2021
       },
2022
       },
2022
       getDialysisRecord() {
2023
       getDialysisRecord() {
2023
         this.loading = true
2024
         this.loading = true
2024
-
2025
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
2025
         getDialysisRecord(this.queryParams).then(response => {
2026
         getDialysisRecord(this.queryParams).then(response => {
2026
           if (response.data.state == 1) {
2027
           if (response.data.state == 1) {
2027
             this.adminUser = response.data.data.users
2028
             this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue View File

1106
       totollength: 0,
1106
       totollength: 0,
1107
       queryParams: {
1107
       queryParams: {
1108
         xtdate: "",
1108
         xtdate: "",
1109
-        xtno: ""
1109
+        xtno: "",
1110
+        patient_id:0,
1110
       },
1111
       },
1111
       patientInfo: {
1112
       patientInfo: {
1112
         birth: "",
1113
         birth: "",

+ 20 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

227
                   </tbody>
227
                   </tbody>
228
                 </table>
228
                 </table>
229
 
229
 
230
-                <table class="table-box">
230
+                <table class="table-box" v-if="org_id==10394 || org_id == 0">
231
+                  <tbody>
232
+                    <tr>
233
+                      <td width="40">内瘘:</td>
234
+                      <td width="800">
235
+                        <div class="under-line">
236
+                          &nbsp;
237
+                          <span v-if="predialysis&&predialysis.internal_fistula!=undefined">{{ predialysis.internal_fistula }}</span>
238
+                        </div>
239
+                      </td>
240
+                     
241
+                     
242
+                     
243
+                    </tr>
244
+                  </tbody>
245
+                </table>
246
+                <table class="table-box" v-if="org_id!=10394 && org_id!=0">
231
                   <tbody>
247
                   <tbody>
232
                     <tr>
248
                     <tr>
233
                       <td width="40">内瘘:</td>
249
                       <td width="40">内瘘:</td>
1094
 
1110
 
1095
       queryParams: {
1111
       queryParams: {
1096
         xtdate: '',
1112
         xtdate: '',
1097
-        xtno: ''
1113
+        xtno: '',
1114
+        patient_id:0,
1098
       },
1115
       },
1099
       patientInfo: {
1116
       patientInfo: {
1100
         birth: '',
1117
         birth: '',
1374
     },
1391
     },
1375
     getDialysisRecord() {
1392
     getDialysisRecord() {
1376
       this.loading = true
1393
       this.loading = true
1377
-
1394
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1378
       getDialysisRecord(this.queryParams).then(response => {
1395
       getDialysisRecord(this.queryParams).then(response => {
1379
         if (response.data.state == 1) {
1396
         if (response.data.state == 1) {
1380
           this.adminUser = response.data.data.users
1397
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

617
 
617
 
618
       queryParams: {
618
       queryParams: {
619
         xtdate: "",
619
         xtdate: "",
620
-        xtno: ""
620
+        xtno: "",
621
+        patient_id:0,
621
       },
622
       },
622
       patientInfo: {
623
       patientInfo: {
623
         birth: "",
624
         birth: "",
909
     },
910
     },
910
     getDialysisRecord() {
911
     getDialysisRecord() {
911
       this.loading = true;
912
       this.loading = true;
912
-
913
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
913
       getDialysisRecord(this.queryParams).then(response => {
914
       getDialysisRecord(this.queryParams).then(response => {
914
         if (response.data.state === 1) {
915
         if (response.data.state === 1) {
915
           this.total = response.data.data.total;
916
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue View File

1166
 
1166
 
1167
       queryParams: {
1167
       queryParams: {
1168
         xtdate: '',
1168
         xtdate: '',
1169
-        xtno: ''
1169
+        xtno: '',
1170
+        patient_id:0,
1170
       },
1171
       },
1171
       patientInfo: {
1172
       patientInfo: {
1172
         birth: '',
1173
         birth: '',
1563
     },
1564
     },
1564
     getDialysisRecord() {
1565
     getDialysisRecord() {
1565
       this.loading = true
1566
       this.loading = true
1566
-
1567
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1567
       getDialysisRecord(this.queryParams).then(response => {
1568
       getDialysisRecord(this.queryParams).then(response => {
1568
         if (response.data.state === 1) {
1569
         if (response.data.state === 1) {
1569
           this.adminUser = response.data.data.users
1570
           this.adminUser = response.data.data.users

+ 50 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

684
                       >
684
                       >
685
                         血浆胆红素吸附
685
                         血浆胆红素吸附
686
                       </div>
686
                       </div>
687
+                      <div
688
+                        class="under_line"
689
+                        style="
690
+                          bwidth: 150px;
691
+                          text-align: center;
692
+                          font-weight: 600;
693
+                        "
694
+                        v-if="prescription.mode_id == 24"
695
+                      >
696
+                       I-HDF
697
+                      </div>
698
+                      <div
699
+                        class="under_line"
700
+                        style="
701
+                          bwidth: 150px;
702
+                          text-align: center;
703
+                          font-weight: 600;
704
+                        "
705
+                        v-if="prescription.mode_id == 25"
706
+                      >
707
+                       HD高通
708
+                      </div>
687
                       <div
709
                       <div
688
                         class="under_line"
710
                         class="under_line"
689
                         style="
711
                         style="
915
                     class="row"
937
                     class="row"
916
                     style="padding: 2px 0; line-height: 23px; display: flex"
938
                     style="padding: 2px 0; line-height: 23px; display: flex"
917
                   >
939
                   >
918
-                    <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10440">
940
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10440">
919
                       上次透后体重:
941
                       上次透后体重:
920
                       <div
942
                       <div
921
                         class="under_line"
943
                         class="under_line"
922
                         style="width: 100px; text-align: center"
944
                         style="width: 100px; text-align: center"
923
                       >
945
                       >
924
-                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 ">{{
946
+                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 || org_id == 0 || org_id == 10469 || org_id == 10478 || org_id == 10490 || org_id ==10495">{{
925
                           lastafterdialysis.weight_after
947
                           lastafterdialysis.weight_after
926
                         }}</span>
948
                         }}</span>
927
-                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440">{{
949
+                        <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440 && org_id!=0 && org_id!=10469 && org_id!=10478 && org_id!=10490 && org_id!=10495">{{
928
                           predialysis.weight_after_last_transparency
950
                           predialysis.weight_after_last_transparency
929
                             ? predialysis.weight_after_last_transparency
951
                             ? predialysis.weight_after_last_transparency
930
                             : "未称重"
952
                             : "未称重"
961
                       </div>
983
                       </div>
962
                       kg
984
                       kg
963
                     </div>
985
                     </div>
964
-                    <div class="inline_block" style="flex: 1">
986
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10469 && org_id!=0">
965
                       计划超滤量: 
987
                       计划超滤量: 
966
                       <div
988
                       <div
967
                         class="under_line"
989
                         class="under_line"
976
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
998
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
977
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
999
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
978
                     </div>
1000
                     </div>
1001
+
1002
+
1003
+                    <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
1004
+                      处方脱水量: 
1005
+                      <div
1006
+                        class="under_line"
1007
+                        style="width: 100px; text-align: center"
1008
+                      >
1009
+                        {{
1010
+                          prescription.prescription_water
1011
+                            ? prescription.prescription_water
1012
+                            : "/"
1013
+                        }}
1014
+                      </div>
1015
+                       ml
1016
+                    </div>
979
                     <div class="inline_block" style="flex: 1">
1017
                     <div class="inline_block" style="flex: 1">
980
                       干体重:
1018
                       干体重:
981
                       <div
1019
                       <div
1408
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1446
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1409
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1447
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1410
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1448
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671">透析液温度(°C)</td>
1411
-                        <td width="50" v-if="org_id != 10121">电导度<br />(ms/cm)</td>
1449
+                        <td width="50" v-if="org_id != 10121">
1450
+                          <span v-if="org_id != 0 && org_id !=10469"> 电导度<br />(ms/cm)</span> 
1451
+                          <span v-if="org_id == 0 || org_id ==10469"> 钠浓度<br />(mmol/L)</span> 
1452
+                        </td>
1412
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1453
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1413
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1454
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1414
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1455
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1501
 
1542
 
1502
 
1543
 
1503
                         <td v-if="org_id != 9538 &&org_id != 10121">
1544
                         <td v-if="org_id != 9538 &&org_id != 10121">
1504
-                          {{ monitor.conductivity ? monitor.conductivity : "" }}
1545
+                          <span v-if="org_id!=0&&org_id!=10469"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1546
+                          <span v-if="org_id==0||org_id==10469"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1547
+                          
1505
                         </td>
1548
                         </td>
1506
 
1549
 
1507
                       
1550
                       
3053
       queryParams: {
3096
       queryParams: {
3054
         xtdate: "",
3097
         xtdate: "",
3055
         xtno: "",
3098
         xtno: "",
3056
-        patient_id:""
3099
+        patient_id:0,
3057
       },
3100
       },
3058
       patientInfo: {
3101
       patientInfo: {
3059
         birth: "",
3102
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue View File

940
 
940
 
941
       queryParams: {
941
       queryParams: {
942
         xtdate: '',
942
         xtdate: '',
943
-        xtno: ''
943
+        xtno: '',
944
+        patient_id:0,
944
       },
945
       },
945
       patientInfo: {
946
       patientInfo: {
946
         birth: '',
947
         birth: '',
1135
     },
1136
     },
1136
     getDialysisRecord() {
1137
     getDialysisRecord() {
1137
       this.loading = true
1138
       this.loading = true
1138
-
1139
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1139
       getDialysisRecord(this.queryParams).then(response => {
1140
       getDialysisRecord(this.queryParams).then(response => {
1140
         if (response.data.state == 1) {
1141
         if (response.data.state == 1) {
1141
           this.adminUser = response.data.data.users
1142
           this.adminUser = response.data.data.users

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue View File

2355
       queryParams: {
2355
       queryParams: {
2356
         xtdate: "",
2356
         xtdate: "",
2357
         xtno: "",
2357
         xtno: "",
2358
+        patient_id:0,
2358
       },
2359
       },
2359
       patientInfo: {
2360
       patientInfo: {
2360
         birth: "",
2361
         birth: "",

File diff suppressed because it is too large
+ 4051 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue


+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyOne.vue View File

2695
       queryParams: {
2695
       queryParams: {
2696
         xtdate: "",
2696
         xtdate: "",
2697
         xtno: "",
2697
         xtno: "",
2698
+        patient_id:0,
2698
       },
2699
       },
2699
       patientInfo: {
2700
       patientInfo: {
2700
         birth: "",
2701
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyThree.vue View File

2697
       queryParams: {
2697
       queryParams: {
2698
         xtdate: "",
2698
         xtdate: "",
2699
         xtno: "",
2699
         xtno: "",
2700
+        patient_id:0,
2700
       },
2701
       },
2701
       patientInfo: {
2702
       patientInfo: {
2702
         birth: "",
2703
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue View File

1453
       queryParams: {
1453
       queryParams: {
1454
         xtdate: "",
1454
         xtdate: "",
1455
         xtno: "",
1455
         xtno: "",
1456
+        patient_id:0,
1456
       },
1457
       },
1457
       patientInfo: {
1458
       patientInfo: {
1458
         birth: "",
1459
         birth: "",
1906
     },
1907
     },
1907
     getDialysisRecord() {
1908
     getDialysisRecord() {
1908
       this.loading = true;
1909
       this.loading = true;
1909
-
1910
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1910
       getDialysisRecord(this.queryParams).then((response) => {
1911
       getDialysisRecord(this.queryParams).then((response) => {
1911
         if (response.data.state === 1) {
1912
         if (response.data.state === 1) {
1912
           this.adminUser = response.data.data.users;
1913
           this.adminUser = response.data.data.users;

File diff suppressed because it is too large
+ 1223 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue


+ 24 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue View File

239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
240
                       </div>
240
                       </div>
241
                     </div>
241
                     </div>
242
+                    <div class="inline_block" style="flex:4;" v-if="org_id == 9779">
243
+                      穿刺点:
244
+                      <div class="under_line" style="min-width: 120px;text-align: center">
245
+                        {{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
246
+                      </div>
247
+                    </div>
242
                   </div>
248
                   </div>
243
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
249
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
244
                     <div class="inline_block" style="flex:1;">
250
                     <div class="inline_block" style="flex:1;">
911
                         {{ afterdialysis.catheter ? afterdialysis.catheter : "/" }}
917
                         {{ afterdialysis.catheter ? afterdialysis.catheter : "/" }}
912
                       </div>
918
                       </div>
913
                     </div>
919
                     </div>
920
+
921
+                    
914
                   </div>
922
                   </div>
915
 
923
 
916
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
924
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
1016
                       <div class="under_line" style="width: 80px">
1024
                       <div class="under_line" style="width: 80px">
1017
                         <!-- <img style="height:20px;" src="https://images.shengws.com/FgnRnBcx1BgULJ1dn7VKzeBPEvtm" alt="" srcset="" /> -->
1025
                         <!-- <img style="height:20px;" src="https://images.shengws.com/FgnRnBcx1BgULJ1dn7VKzeBPEvtm" alt="" srcset="" /> -->
1018
 
1026
 
1019
-                        <span v-if="setAdminUserES(prescription.creater) == ''">{{ getAdminUser(prescription.creater) }}</span>
1020
-                        <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1027
+                        <!-- <span v-if="setAdminUserES(prescription.creater) == ''">{{ getAdminUser(prescription.creater) }}</span>
1028
+                        <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else /> -->
1029
+                    
1030
+                      
1031
+                       
1032
+                          <span v-if="setAdminUserES(doctor_advices&&doctor_advices[0].advice_doctor) == ''">
1033
+                            {{ getAdminUser(doctor_advices&&doctor_advices[0].advice_doctor) }}
1034
+                          </span>
1035
+                          <img style="height:20px;" :src="setAdminUserES(doctor_advices&&doctor_advices[0].advice_doctor)" alt srcset v-else />
1036
+                       
1037
+                     
1021
                       </div>
1038
                       </div>
1022
                     </div>
1039
                     </div>
1023
                     <div class="inline_block" style="flex:1;">
1040
                     <div class="inline_block" style="flex:1;">
1109
       totollength: 0,
1126
       totollength: 0,
1110
       queryParams: {
1127
       queryParams: {
1111
         xtdate: "",
1128
         xtdate: "",
1112
-        xtno: ""
1129
+        xtno: "",
1130
+        patient_id:0,
1113
       },
1131
       },
1114
       patientInfo: {
1132
       patientInfo: {
1115
         birth: "",
1133
         birth: "",
1167
         zongliang_unit: "mg",
1185
         zongliang_unit: "mg",
1168
         gaimingcheng_unit: "",
1186
         gaimingcheng_unit: "",
1169
         gaijiliang_unit: ""
1187
         gaijiliang_unit: ""
1170
-      }
1188
+      },
1189
+      org_id:0,
1171
     };
1190
     };
1172
   },
1191
   },
1173
   methods: {
1192
   methods: {
1954
     }
1973
     }
1955
   },
1974
   },
1956
   created() {
1975
   created() {
1976
+    this.org_id = this.$store.getters.xt_user.org.id;
1957
     this.way_arr = getDataConfig("hemodialysis", "way");
1977
     this.way_arr = getDataConfig("hemodialysis", "way");
1958
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1978
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1959
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
1979
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue View File

662
 
662
 
663
       queryParams: {
663
       queryParams: {
664
         xtdate: '',
664
         xtdate: '',
665
-        xtno: ''
665
+        xtno: '',
666
+        patient_id:0,
666
       },
667
       },
667
       patientInfo: {
668
       patientInfo: {
668
         birth: '',
669
         birth: '',
997
     },
998
     },
998
     getDialysisRecords() {
999
     getDialysisRecords() {
999
       this.loading = true
1000
       this.loading = true
1000
-
1001
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1001
       getDialysisRecord(this.queryParams).then(response => {
1002
       getDialysisRecord(this.queryParams).then(response => {
1002
         if (response.data.state === 1) {
1003
         if (response.data.state === 1) {
1003
           this.total = response.data.data.total
1004
           this.total = response.data.data.total

+ 4 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue View File

594
 
594
 
595
       queryParams: {
595
       queryParams: {
596
         xtdate: '',
596
         xtdate: '',
597
-        xtno: ''
597
+        xtno: '',
598
+        patient_id:0,
599
+
598
       },
600
       },
599
       patientInfo: {
601
       patientInfo: {
600
         birth: '',
602
         birth: '',
996
     },
998
     },
997
     getDialysisRecord() {
999
     getDialysisRecord() {
998
       this.loading = true
1000
       this.loading = true
999
-
1001
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1000
       getDialysisRecord(this.queryParams).then(response => {
1002
       getDialysisRecord(this.queryParams).then(response => {
1001
         if (response.data.state === 1) {
1003
         if (response.data.state === 1) {
1002
           this.total = response.data.data.total
1004
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue View File

504
 
504
 
505
       queryParams: {
505
       queryParams: {
506
         xtdate: "",
506
         xtdate: "",
507
-        xtno: ""
507
+        xtno: "",
508
+        patient_id:0,
508
       },
509
       },
509
       patientInfo: {
510
       patientInfo: {
510
         birth: "",
511
         birth: "",
905
     },
906
     },
906
     getDialysisRecord() {
907
     getDialysisRecord() {
907
       this.loading = true;
908
       this.loading = true;
908
-
909
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
909
       getDialysisRecord(this.queryParams).then(response => {
910
       getDialysisRecord(this.queryParams).then(response => {
910
         if (response.data.state === 1) {
911
         if (response.data.state === 1) {
911
           this.total = response.data.data.total;
912
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue View File

1177
 
1177
 
1178
       queryParams: {
1178
       queryParams: {
1179
         xtdate: "",
1179
         xtdate: "",
1180
-        xtno: ""
1180
+        xtno: "",
1181
+        patient_id:0,
1181
       },
1182
       },
1182
       patientInfo: {
1183
       patientInfo: {
1183
         birth: "",
1184
         birth: "",
1361
     },
1362
     },
1362
     getDialysisRecord() {
1363
     getDialysisRecord() {
1363
       this.loading = true;
1364
       this.loading = true;
1364
-
1365
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1365
       getDialysisRecord(this.queryParams).then(response => {
1366
       getDialysisRecord(this.queryParams).then(response => {
1366
         if (response.data.state === 1) {
1367
         if (response.data.state === 1) {
1367
           this.total = response.data.data.total;
1368
           this.total = response.data.data.total;

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue View File

524
       totollength: 0,
524
       totollength: 0,
525
       queryParams: {
525
       queryParams: {
526
         xtdate: '',
526
         xtdate: '',
527
-        xtno: ''
527
+        xtno: '',
528
+        patient_id:0,
528
       },
529
       },
529
       patientInfo: {
530
       patientInfo: {
530
         birth: '',
531
         birth: '',

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue View File

481
 
481
 
482
       queryParams: {
482
       queryParams: {
483
         xtdate: "",
483
         xtdate: "",
484
-        xtno: ""
484
+        xtno: "",
485
+        patient_id:0,
485
       },
486
       },
486
       patientInfo: {
487
       patientInfo: {
487
         birth: "",
488
         birth: "",
793
     },
794
     },
794
     getDialysisRecord() {
795
     getDialysisRecord() {
795
       this.loading = true;
796
       this.loading = true;
796
-
797
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
797
       getDialysisRecord(this.queryParams).then(response => {
798
       getDialysisRecord(this.queryParams).then(response => {
798
         if (response.data.state === 1) {
799
         if (response.data.state === 1) {
799
           this.total = response.data.data.total;
800
           this.total = response.data.data.total;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

736
 
736
 
737
       queryParams: {
737
       queryParams: {
738
         xtdate: '',
738
         xtdate: '',
739
-        xtno: ''
739
+        xtno: '',
740
+        patient_id:0,
740
       },
741
       },
741
       patientInfo: {
742
       patientInfo: {
742
         birth: '',
743
         birth: '',
1072
     },
1073
     },
1073
     getDialysisRecords() {
1074
     getDialysisRecords() {
1074
       this.loading = true
1075
       this.loading = true
1075
-
1076
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1076
       getDialysisRecord(this.queryParams).then(response => {
1077
       getDialysisRecord(this.queryParams).then(response => {
1077
         if (response.data.state === 1) {
1078
         if (response.data.state === 1) {
1078
           this.total = response.data.data.total
1079
           this.total = response.data.data.total

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue View File

505
 
505
 
506
       queryParams: {
506
       queryParams: {
507
         xtdate: '',
507
         xtdate: '',
508
-        xtno: ''
508
+        xtno: '',
509
+        patient_id:0,
509
       },
510
       },
510
       patientInfo: {
511
       patientInfo: {
511
         birth: '',
512
         birth: '',
871
     },
872
     },
872
     getDialysisRecord() {
873
     getDialysisRecord() {
873
       this.loading = true
874
       this.loading = true
874
-
875
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
875
       getDialysisRecord(this.queryParams).then(response => {
876
       getDialysisRecord(this.queryParams).then(response => {
876
         if (response.data.state === 1) {
877
         if (response.data.state === 1) {
877
           this.adminUser = response.data.data.users
878
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue View File

1083
 
1083
 
1084
       queryParams: {
1084
       queryParams: {
1085
         xtdate: '',
1085
         xtdate: '',
1086
-        xtno: ''
1086
+        xtno: '',
1087
+        patient_id:0,
1087
       },
1088
       },
1088
       patientInfo: {
1089
       patientInfo: {
1089
         birth: '',
1090
         birth: '',
1270
     },
1271
     },
1271
     getDialysisRecord() {
1272
     getDialysisRecord() {
1272
       this.loading = true
1273
       this.loading = true
1273
-
1274
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1274
       getDialysisRecord(this.queryParams).then(response => {
1275
       getDialysisRecord(this.queryParams).then(response => {
1275
         if (response.data.state == 1) {
1276
         if (response.data.state == 1) {
1276
           this.adminUser = response.data.data.users
1277
           this.adminUser = response.data.data.users

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyThree.vue View File

1264
 
1264
 
1265
       queryParams: {
1265
       queryParams: {
1266
         xtdate: "",
1266
         xtdate: "",
1267
-        xtno: ""
1267
+        xtno: "",
1268
+        patient_id:0,
1268
       },
1269
       },
1269
       patientInfo: {
1270
       patientInfo: {
1270
         birth: "",
1271
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue View File

1083
 
1083
 
1084
         queryParams: {
1084
         queryParams: {
1085
           xtdate: '',
1085
           xtdate: '',
1086
-          xtno: ''
1086
+          xtno: '',
1087
+          patient_id:0,
1087
         },
1088
         },
1088
         patientInfo: {
1089
         patientInfo: {
1089
           birth: '',
1090
           birth: '',
1423
       },
1424
       },
1424
       getDialysisRecord() {
1425
       getDialysisRecord() {
1425
         this.loading = true
1426
         this.loading = true
1426
-
1427
+        this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1427
         getDialysisRecord(this.queryParams).then(response => {
1428
         getDialysisRecord(this.queryParams).then(response => {
1428
           if (response.data.state == 1) {
1429
           if (response.data.state == 1) {
1429
             this.adminUser = response.data.data.users
1430
             this.adminUser = response.data.data.users

+ 0 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue View File


Some files were not shown because too many files changed in this diff