ソースを参照

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

XMLWAN 1 年間 前
コミット
76b690811c
共有100 個のファイルを変更した8875 個の追加955 個の削除を含む
  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 ファイルの表示

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

+ 19 - 1
src/api/device.js ファイルの表示

@@ -265,7 +265,7 @@ export function updateNewAirDisinfect(data){
265 265
   
266 266
   return request({
267 267
     url:"/api/manage/updatenewairdisinfect",
268
-    method:post,
268
+    method:"post",
269 269
     data:data,
270 270
   })
271 271
 }
@@ -322,4 +322,22 @@ export function deleteObjectTableDisinfect(id,params){
322 322
     method:"get",
323 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 ファイルの表示

@@ -3,9 +3,9 @@ import {
3 3
   fromTextArea
4 4
 } from 'codemirror'
5 5
 
6
-export function fetchInspectionReference(id) {
6
+export function fetchInspectionReference(id,type) {
7 7
   return request({
8
-    url: '/api/patient/inspection/reference?patient=' + id,
8
+    url: '/api/patient/inspection/reference?patient=' + id+"&type=" + type,
9 9
     method: 'get'
10 10
   })
11 11
 }
@@ -59,3 +59,25 @@ export function GetInitInspections(params) {
59 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 ファイルの表示

@@ -509,7 +509,7 @@ export function getInspectionItemList(params) {
509 509
 }
510 510
 
511 511
 export function saveCreation(data) {
512
- 
512
+
513 513
   return request({
514 514
     url: '/api/patient/savecreationinspection',
515 515
     method: 'post',
@@ -652,3 +652,95 @@ export function deleteFirstDisease(params) {
652 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 ファイルの表示

@@ -78,6 +78,7 @@ export default {
78 78
     dialysisSolution: 'dialysisSolution',
79 79
     inspection: 'Inspection',
80 80
     home: 'home',
81
+    infor:'infor',
81 82
     weight: 'weight',
82 83
     dialysisRecord: 'dialysisRecord',
83 84
     scheduling: 'scheduling',

+ 5 - 2
src/lang/zh.js ファイルの表示

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

+ 5 - 2
src/router/index.js ファイルの表示

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

+ 3 - 2
src/router/index_路由未分离前.js ファイルの表示

@@ -40,6 +40,7 @@ export const xt_constantRouterMap = [
40 40
       meta: { title: 'home', icon: 'dashboard', noCache: true }
41 41
     }]
42 42
   },
43
+ 
43 44
   {
44 45
     path: '/service',
45 46
     component: Layout,
@@ -638,7 +639,7 @@ export const xt_asyncRouterMap = [
638 639
         meta: { title: 'inspection', noCache: true }
639 640
       },
640 641
       {
641
-        path: '/patients/course',
642
+        path: '/',
642 643
         component: () => import('@/xt_pages/user/courseOfDisease'),
643 644
         hidden: true,
644 645
         is_menu: false,
@@ -978,5 +979,5 @@ export const xt_asyncRouterMap = [
978 979
       { path: '/role/perview', component: () => import('@/xt_pages/role/EditPerview'), name: 'setupPerview', meta: { title: 'setupPerview', noCache: true }, hidden: true, is_menu: false },
979 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 ファイルの表示

@@ -88,6 +88,19 @@ export default {
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 105
       path: '/device/waterformprint',
93 106
       component: () => import('@/xt_pages/management/components/waterFormPrint'),
@@ -99,7 +112,9 @@ export default {
99 112
         noCache: true,
100 113
         
101 114
       }
102
-    }
115
+    },
116
+
117
+  
103 118
 
104 119
   ]
105 120
 }

+ 9 - 0
src/router/modules/dialysis.js ファイルの表示

@@ -815,5 +815,14 @@ export default {
815 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 ファイルの表示

@@ -181,7 +181,35 @@ export default {
181 181
       title: 'CourseOfDiseaseManage',
182 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 214
     path: '/patients/rescue',
187 215
     component: () => import('@/xt_pages/user/rescueRecord'),
@@ -205,7 +233,7 @@ export default {
205 233
     }
206 234
   },
207 235
   {
208
-    path: '/course/print',
236
+    path: '/course/print',//coursePrint
209 237
     component: () => import('@/xt_pages/user/coursePrint'),
210 238
     hidden: true,
211 239
     is_menu: false,
@@ -215,6 +243,28 @@ export default {
215 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 269
     path: '/patient/patient/templateSummary/print',
220 270
     component: () => import('@/xt_pages/user/templateSummaryPrint'),

+ 1 - 0
src/store/getters.js ファイルの表示

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

+ 38 - 0
src/store/modules/globalConfig.js ファイルの表示

@@ -179,6 +179,14 @@ const global_config = {
179 179
       {
180 180
         id: 10,
181 181
         name: '无业'
182
+      },
183
+      {
184
+        id: 11,
185
+        name: '灵活就业人员'
186
+      },
187
+      {
188
+        id: 12,
189
+        name: '退休人员'
182 190
       }
183 191
     ],
184 192
     induction_options: [ // 诱导期
@@ -886,6 +894,36 @@ const global_config = {
886 894
         zongliang_unit: 'mg',
887 895
         gaimingcheng_unit: '',
888 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 929
     anticoagulants_set: {

+ 17 - 7
src/xt_pages/data/components/addInspection.vue ファイルの表示

@@ -79,6 +79,13 @@
79 79
             </el-option>
80 80
           </el-select>
81 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 89
         <el-form-item label="备注 : " prop="name" style="width: 100%">
83 90
           <el-input
84 91
             type="textarea"
@@ -219,6 +226,7 @@ export default {
219 226
         remark: "",
220 227
         project_detail: "",
221 228
         number: "1",
229
+        sort:0,
222 230
       },
223 231
       options: [
224 232
         { value: 1, label: "是" },
@@ -306,6 +314,7 @@ export default {
306 314
           tube_color: this.form.tube_color,
307 315
           team_type: this.form.team_type,
308 316
           remark: this.form.remark,
317
+          sort:parseInt(this.form.sort),
309 318
         };
310 319
         let data = {
311 320
           info: this.tableData,
@@ -316,15 +325,16 @@ export default {
316 325
            
317 326
             this.$message.success("保存成功");
318 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 335
             this.tableData = [];
327 336
             this.form.number = "";
337
+            this.form.sort = ""
328 338
             this.$parent.getlist();
329 339
           } else {
330 340
             this.$message.error("项目组套名称已存在!");

+ 15 - 5
src/xt_pages/data/components/diagnoseOther.vue ファイルの表示

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

+ 8 - 1
src/xt_pages/data/components/diagnoseOtherDialog.vue ファイルの表示

@@ -41,6 +41,12 @@
41 41
             <el-input v-model="formValue.country_content_name"></el-input>
42 42
           </el-form-item>
43 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 50
       </el-row>
45 51
 
46 52
       <el-col>
@@ -78,7 +84,8 @@
78 84
           country_content_name: '',
79 85
           remark: '',
80 86
           pinyin: '',
81
-          wubi: ''
87
+          wubi: '',
88
+          sort:0,
82 89
 
83 90
         },
84 91
         resetForm: {

+ 4 - 0
src/xt_pages/data/components/diagnosis.vue ファイルの表示

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

+ 13 - 3
src/xt_pages/data/components/editInspection.vue ファイルの表示

@@ -41,6 +41,13 @@
41 41
                         </el-option>
42 42
                     </el-select>
43 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 51
                 <el-form-item label="备注 : " prop="name" style="width:100%;">
45 52
                     <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
46 53
                 </el-form-item>
@@ -145,7 +152,8 @@
145 152
           remark: '',
146 153
           project_detail: '',
147 154
           number: '',
148
-          item_id: ''
155
+          item_id: '',
156
+          sort:'',
149 157
         },
150 158
         options: [{
151 159
           value: 1,
@@ -285,6 +293,7 @@
285 293
             this.form.pinyin = projectTeamDetail.pinyin
286 294
             this.form.wubi = projectTeamDetail.wubi
287 295
             this.form.tube_color = projectTeamDetail.tube_color
296
+            this.form.sort = projectTeamDetail.sort
288 297
             if (projectTeamDetail.tube_color == 0) {
289 298
               this.form.tube_color = ''
290 299
             }
@@ -316,7 +325,8 @@
316 325
               wubi: this.form.wubi,
317 326
               tube_color: this.form.tube_color,
318 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 331
             let data = {
322 332
               'info': arr
@@ -327,7 +337,7 @@
327 337
                 this.$message.success('保存成功')
328 338
                 this.visible = false
329 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 ファイルの表示

@@ -42,6 +42,11 @@
42 42
                    {{scope.row.price}}
43 43
                 </template>
44 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 50
             <el-table-column prop="date" label="备注" align="center">
46 51
                 <template slot-scope="scope">
47 52
                    {{scope.row.remark}}

+ 2 - 2
src/xt_pages/data/components/templateTable.vue ファイルの表示

@@ -91,7 +91,7 @@
91 91
           ></el-input>
92 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 95
           <keep-alive>
96 96
             <editor
97 97
               ref="editor"
@@ -350,7 +350,7 @@ export default {
350 350
     },
351 351
     createData() {
352 352
       this.$refs["dataForm"].validate(valid => {
353
-        if (this.type == "course_disease") {
353
+        if (this.type == "course_disease" || this.type == "sick_history") {
354 354
           this.temp.content = this.$refs.editor.content;
355 355
         }
356 356
 

+ 2 - 0
src/xt_pages/data/template.vue ファイルの表示

@@ -62,6 +62,8 @@ export default {
62 62
         { label: this.$t("data_config.diagnostic_basis"), key:"diagnostic_basis"},
63 63
         { label: this.$t("data_config.differential_diagnosis"), key:"differential_diagnosis"},
64 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 68
       activeName: "education",
67 69
       createdTimes: 0

+ 402 - 74
src/xt_pages/device/airDisinfectTwo.vue ファイルの表示

@@ -28,7 +28,7 @@
28 28
           </div>
29 29
           <div style="float:right;margin-bottom:10px;">
30 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 33
           </div>
34 34
           <div class="tab_air">
@@ -44,7 +44,7 @@
44 44
                 </el-table-column>
45 45
                 <el-table-column prop="fenopda" label="透析室" align="center" min-width="70">
46 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 48
                     </template>
49 49
                 </el-table-column>
50 50
                 <el-table-column prop="dwaiod" label="累计时间" align="center" min-width="50">
@@ -54,7 +54,8 @@
54 54
                 </el-table-column>
55 55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
56 56
                     <template slot-scope="scope">
57
-                      {{getName(scope.row.first_creator)}}
57
+                        {{getName(scope.row.first_creator)}}
58
+
58 59
                     </template>
59 60
                 </el-table-column>
60 61
 
@@ -70,7 +71,8 @@
70 71
                 </el-table-column>
71 72
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
72 73
                     <template slot-scope="scope">
73
-                        {{getName(scope.row.first_creator)}}
74
+                        {{getName(scope.row.sencond_creator)}}
75
+                   
74 76
                    </template>
75 77
                 </el-table-column>
76 78
 
@@ -86,7 +88,8 @@
86 88
                 </el-table-column>
87 89
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
88 90
                     <template slot-scope="scope">
89
-                        {{getName(scope.row.sencond_creator)}}
91
+                        {{getName(scope.row.third_creator)}}
92
+                    
90 93
                     </template>
91 94
                 </el-table-column>
92 95
 
@@ -97,7 +100,8 @@
97 100
                 </el-table-column>
98 101
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
99 102
                     <template slot-scope="scope">
100
-                        {{getName(scope.row.third_creator)}}
103
+                        {{getName(scope.row.last_creator)}}
104
+                        
101 105
                     </template>
102 106
                 </el-table-column>
103 107
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
@@ -123,7 +127,7 @@
123 127
               @size-change="handleSizeChange"
124 128
               @current-change="handleCurrentChange"
125 129
           >
126
-           
130
+
127 131
           </el-pagination>
128 132
          </div>
129 133
 
@@ -146,13 +150,29 @@
146 150
                   </div>
147 151
                   <div class="form_title"><span >透析室</span></div>
148 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 162
                   </el-form-item>
151 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 173
                   </el-form-item>
154 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 176
                   </el-form-item>
157 177
                   <el-form-item label="开始时间" label-width="110px">
158 178
                     <el-date-picker
@@ -161,6 +181,7 @@
161 181
                         value-format="yyyy-MM-dd HH:mm"
162 182
                         placeholder="选择时间"
163 183
                         v-model="form.first_start_time"
184
+                        @change="firststartime"
164 185
                         style="width:100%;"
165 186
                     ></el-date-picker>
166 187
                   </el-form-item>
@@ -171,6 +192,7 @@
171 192
                         value-format="yyyy-MM-dd HH:mm"
172 193
                         placeholder="选择时间"
173 194
                         v-model="form.first_end_time"
195
+                        @change="firstendtime"
174 196
                         style="width:100%;"
175 197
                      ></el-date-picker>
176 198
                   </el-form-item>
@@ -204,24 +226,40 @@
204 226
                       </el-select>
205 227
                   </el-form-item>
206 228
 
207
-
208 229
                   <div class="form_title"><span >治疗室</span></div>
209 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 240
                   </el-form-item>
212 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 251
                   </el-form-item>
215 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 254
                   </el-form-item>
218 255
                   <el-form-item label="开始时间" label-width="110px">
219 256
                     <el-date-picker
220 257
                         type="datetime"
221
-                        format="yyyy-MM-dd HH:mm"
258
+                        format="yyyy-MM-dd HH:mm:ss"
222 259
                         value-format="yyyy-MM-dd HH:mm"
223 260
                         placeholder="选择时间"
224 261
                         v-model="form.sencond_start_time"
262
+                        @change="sencondstarttime"
225 263
                         style="width:100%;"
226 264
                     ></el-date-picker>
227 265
                   </el-form-item>
@@ -232,6 +270,7 @@
232 270
                         value-format="yyyy-MM-dd HH:mm"
233 271
                         placeholder="选择时间"
234 272
                         v-model="form.sencond_end_time"
273
+                        @change="sencondendtime"
235 274
                         style="width:100%;"
236 275
                     ></el-date-picker>
237 276
                   </el-form-item>
@@ -268,13 +307,29 @@
268 307
 
269 308
                   <div class="form_title"><span >水处理、库房</span></div>
270 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 319
                   </el-form-item>
273 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 330
                   </el-form-item>
276 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 333
                   </el-form-item>
279 334
                   <el-form-item label="开始时间"  label-width="110px">
280 335
                     <el-date-picker
@@ -283,6 +338,7 @@
283 338
                         value-format="yyyy-MM-dd HH:mm"
284 339
                         placeholder="选择时间"
285 340
                         v-model="form.third_start_time"
341
+                        @change="thirdstarttime"
286 342
                         style="width:100%;"
287 343
                     ></el-date-picker>
288 344
                   </el-form-item>
@@ -293,6 +349,7 @@
293 349
                         value-format="yyyy-MM-dd HH:mm"
294 350
                         placeholder="选择时间"
295 351
                         v-model="form.third_end_time"
352
+                        @change="thirdendtime"
296 353
                         style="width:100%;"
297 354
                     ></el-date-picker>
298 355
                   </el-form-item>
@@ -335,6 +392,7 @@
335 392
                         value-format="yyyy-MM-dd HH:mm"
336 393
                         placeholder="选择时间"
337 394
                         v-model="form.last_start_time"
395
+                        @change="laststarttime"
338 396
                         style="width:100%;"
339 397
                     ></el-date-picker>
340 398
                   </el-form-item>
@@ -345,6 +403,7 @@
345 403
                         value-format="yyyy-MM-dd HH:mm"
346 404
                         placeholder="选择时间"
347 405
                         v-model="form.last_end_time"
406
+                        @change="lastendtime"
348 407
                         style="width:100%;"
349 408
                     ></el-date-picker>
350 409
                   </el-form-item>
@@ -404,13 +463,29 @@
404 463
                   </div>
405 464
                   <div class="form_title"><span >透析室</span></div>
406 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 475
                   </el-form-item>
409 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 486
                   </el-form-item>
412 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 489
                   </el-form-item>
415 490
                   <el-form-item label="开始时间" label-width="110px">
416 491
                     <el-date-picker
@@ -419,6 +494,7 @@
419 494
                         value-format="yyyy-MM-dd HH:mm"
420 495
                         placeholder="选择时间"
421 496
                         v-model="form.first_start_time"
497
+                        @change="firststartime"
422 498
                         style="width:100%;"
423 499
                     ></el-date-picker>
424 500
                   </el-form-item>
@@ -429,6 +505,7 @@
429 505
                         value-format="yyyy-MM-dd HH:mm"
430 506
                         placeholder="选择时间"
431 507
                         v-model="form.first_end_time"
508
+                        @change="firstendtime"
432 509
                         style="width:100%;"
433 510
                     ></el-date-picker>
434 511
                   </el-form-item>
@@ -461,15 +538,32 @@
461 538
                           </el-option>
462 539
                       </el-select>
463 540
                   </el-form-item>
541
+
464 542
                   <div class="form_title"><span >治疗室</span></div>
465 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 553
                   </el-form-item>
468 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 564
                   </el-form-item>
471 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 567
                   </el-form-item>
474 568
                   <el-form-item label="开始时间" required label-width="110px">
475 569
                     <el-date-picker
@@ -488,6 +582,7 @@
488 582
                         value-format="yyyy-MM-dd HH:mm"
489 583
                         placeholder="选择时间"
490 584
                         v-model="form.sencond_end_time"
585
+                        @change="sencondendtime"
491 586
                         style="width:100%;"
492 587
                     ></el-date-picker>
493 588
                   </el-form-item>
@@ -522,13 +617,29 @@
522 617
                   </el-form-item>
523 618
                   <div class="form_title"><span >水处理、库房</span></div>
524 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 629
                   </el-form-item>
527 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 640
                   </el-form-item>
530 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 643
                   </el-form-item>
533 644
                   <el-form-item label="开始时间"  label-width="110px">
534 645
                     <el-date-picker
@@ -537,6 +648,7 @@
537 648
                         value-format="yyyy-MM-dd HH:mm"
538 649
                         placeholder="选择时间"
539 650
                         v-model="form.third_start_time"
651
+                        @change="thirdstarttime"
540 652
                         style="width:100%;"
541 653
                     ></el-date-picker>
542 654
                   </el-form-item>
@@ -547,6 +659,7 @@
547 659
                         value-format="yyyy-MM-dd HH:mm"
548 660
                         placeholder="选择时间"
549 661
                         v-model="form.third_end_time"
662
+                         @change="thirdendtime"
550 663
                         style="width:100%;"
551 664
                     ></el-date-picker>
552 665
                   </el-form-item>
@@ -579,6 +692,7 @@
579 692
                           </el-option>
580 693
                       </el-select>
581 694
                   </el-form-item>
695
+
582 696
                   <div class="form_title"><span >通风</span></div>
583 697
                   <el-form-item label="开始时间"  label-width="110px">
584 698
                     <el-date-picker
@@ -587,6 +701,7 @@
587 701
                         value-format="yyyy-MM-dd HH:mm"
588 702
                         placeholder="选择时间"
589 703
                         v-model="form.last_start_time"
704
+                        @change="laststarttime"
590 705
                         style="width:100%;"
591 706
                     ></el-date-picker>
592 707
                   </el-form-item>
@@ -597,6 +712,7 @@
597 712
                         value-format="yyyy-MM-dd HH:mm"
598 713
                         placeholder="选择时间"
599 714
                         v-model="form.last_end_time"
715
+                        @change="lastendtime"
600 716
                         style="width:100%;"
601 717
                     ></el-date-picker>
602 718
                   </el-form-item>
@@ -649,12 +765,12 @@
649 765
                                     <span style="position: absolute; right: 10px; top: 10px; font-size: 12px;">名称</span>
650 766
 
651 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 769
                                     transform-origin: top left;"></span>
654 770
 
655 771
                                     <span style="position: absolute; right: 45px; top: 23px;font-size: 12px;">消毒 <br/>时间</span>
656 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 774
                                     transform-origin: top left;"></span>
659 775
                                     <span style="position: absolute; left: 6px; bottom: 6px;font-size: 12px;">日期</span>
660 776
                                 </td>
@@ -671,18 +787,46 @@
671 787
                                 <td>负责人</td>
672 788
                             </tr>
673 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 791
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
676 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 801
                                <td>{{ getTimeTwo(item.sencond_start_time)}} - {{ getTimeTwo(item.sencond_end_time) }}</td>
679 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 811
                                <td>{{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
682 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 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 830
                             </tr>
687 831
                         </table>
688 832
                     </div>
@@ -696,7 +840,7 @@
696 840
   <script>
697 841
     import print from "print-js";
698 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 844
     import { uParseTime } from '@/utils/tools'
701 845
     const moment = require('moment')
702 846
     export default {
@@ -720,9 +864,9 @@
720 864
             record_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"), //创建日期
721 865
             first_disinfection_water:"",// 消毒液
722 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 870
             first_total_time:"",//累计时间
727 871
             first_is_check:"1",//检验合格
728 872
             first_modifications:"",//修改标志
@@ -731,8 +875,8 @@
731 875
             sencond_disinfection_water:"",// 消毒液
732 876
             sencond_disinfection_methods:"",//消毒方式
733 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 880
             sencond_total_time:"",//累计时间
737 881
             sencond_is_check:"1",//检验合格
738 882
             sencond_modifications:"",//修改标志
@@ -740,16 +884,17 @@
740 884
 
741 885
             third_disinfection_water:"",// 消毒液
742 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 890
             third_total_time:"",//累计时间
747 891
             third_is_check:"1",//检验合格
748 892
             third_modifications:"",//修改标志
749 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 898
             last_total_time:"",//累计时间
754 899
             last_is_check:"1",//检验合格
755 900
             last_modifications:"",//修改标志
@@ -765,19 +910,121 @@
765 910
           start_time:[{required:true,message:"请选择开始时间",trigger:"blur"}],
766 911
           end_time:[{required:true,message:"请选择结束时间",trigger:"blur"}]
767 912
          },
768
-         limit:20,
913
+         limit:10,
769 914
          page:1,
770 915
          total:0,
771 916
          tableData: [],
772 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 945
       created(){
776 946
         console.log("00000000000000000",this.$store.getters.xt_user.user.id)
777 947
         this.getAllDoctorList()
778 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 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 1028
       handleSizeChange(val) {
782 1029
         this.limit = val;
783 1030
         this.getNewAirDisinfectList()
@@ -787,7 +1034,6 @@
787 1034
         this.getNewAirDisinfectList()
788 1035
       },
789 1036
         changeStartime(val){
790
-          
791 1037
           this.getNewAirDisinfectList()
792 1038
         },
793 1039
         changeEndtime(){
@@ -799,8 +1045,19 @@
799 1045
                var list = response.data.data.list
800 1046
                console.log("list222222",list)
801 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 1062
         saveNewAirDisinfect(formName){
806 1063
           this.$refs[formName].validate((valid)=>{
@@ -810,13 +1067,13 @@
810 1067
                 }else{
811 1068
                   this.form.first_is_check = 0
812 1069
                 }
813
-                
1070
+
814 1071
                 if( this.form.sencond_is_check!=""){
815 1072
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
816 1073
                 }else{
817 1074
                     this.form.sencond_is_check = ""
818 1075
                 }
819
-                
1076
+
820 1077
                 if( this.form.third_is_check!=""){
821 1078
                    this.form.third_is_check = parseInt(this.form.third_is_check)
822 1079
                 }else{
@@ -827,34 +1084,35 @@
827 1084
                 }else{
828 1085
                   this.form.last_is_check = 0
829 1086
                 }
830
-                
1087
+
831 1088
                 if(this.form.first_modifications!=""){
832 1089
                   this.form.first_modifications = parseInt(this.form.first_modifications)
833 1090
                 }else{
834
-                    this.form.first_modifications =0  
1091
+                    this.form.first_modifications =0
835 1092
                 }
836 1093
 
837 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 1096
                 }else{
840 1097
                     this.form.sencond_modifications =0
841 1098
                 }
842
-                
1099
+
843 1100
                 if(this.form.third_modifications!=""){
844 1101
                    this.form.third_modifications = parseInt(this.form.third_modifications)
845 1102
                 }else{
846
-                    this.form.third_modifications= 0   
1103
+                    this.form.third_modifications= 0
847 1104
                 }
848
-                
1105
+
849 1106
                 if(this.form.last_modifications!=""){
850 1107
                     this.form.last_modifications = parseInt(this.form.last_modifications)
851 1108
                 }else{
852 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 1116
               console.log("this232322323",this.form)
859 1117
               saveNewAirDisinfect(this.form).then(response=>{
860 1118
                  if(response.data.state == 1 ){
@@ -862,9 +1120,11 @@
862 1120
                    this.$message.success("保存成功!")
863 1121
                    this.dialogFormVisible = false
864 1122
                    this.getNewAirDisinfectList()
1123
+                   this.$refs[formName].resetFields();
865 1124
                  }
866 1125
               })
867 1126
             }
1127
+
868 1128
           })
869 1129
 
870 1130
         },
@@ -944,12 +1204,12 @@
944 1204
               this.form.last_modifications = list.last_modifications?list.last_modifications:""
945 1205
               this.form.last_creator = list.last_creator
946 1206
               this.editDialogFormVisible = true
947
-             
1207
+
948 1208
             }
949 1209
          })
950 1210
        },
951 1211
        updateAirDisinfect(formName){
952
-        
1212
+
953 1213
          this.$refs[formName].validate((valid)=>{
954 1214
             if(valid){
955 1215
                 if(this.form.first_is_check!=""){
@@ -957,13 +1217,13 @@
957 1217
                 }else{
958 1218
                   this.form.first_is_check = 0
959 1219
                 }
960
-                
1220
+
961 1221
                 if( this.form.sencond_is_check!=""){
962 1222
                     this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
963 1223
                 }else{
964 1224
                     this.form.sencond_is_check = ""
965 1225
                 }
966
-                
1226
+
967 1227
                 if( this.form.third_is_check!=""){
968 1228
                    this.form.third_is_check = parseInt(this.form.third_is_check)
969 1229
                 }else{
@@ -974,41 +1234,43 @@
974 1234
                 }else{
975 1235
                   this.form.last_is_check = 0
976 1236
                 }
977
-                
1237
+
978 1238
                 if(this.form.first_modifications!=""){
979 1239
                   this.form.first_modifications = parseInt(this.form.first_modifications)
980 1240
                 }else{
981
-                    this.form.first_modifications =0  
1241
+                    this.form.first_modifications =0
982 1242
                 }
983 1243
 
984 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 1246
                 }else{
987 1247
                     this.form.sencond_modifications =0
988 1248
                 }
989
-                
1249
+
990 1250
                 if(this.form.third_modifications!=""){
991 1251
                    this.form.third_modifications = parseInt(this.form.third_modifications)
992 1252
                 }else{
993
-                    this.form.third_modifications= 0   
1253
+                    this.form.third_modifications= 0
994 1254
                 }
995
-                
1255
+
996 1256
                 if(this.form.last_modifications!=""){
997 1257
                     this.form.last_modifications = parseInt(this.form.last_modifications)
998 1258
                 }else{
999 1259
                     this.form.last_modifications= 0
1000 1260
                 }
1001
-            
1002
-              updateAirDisinfect(this.form).then(response=>{
1261
+
1262
+                updateNewAirDisinfect(this.form).then(response=>{
1003 1263
                 if(response.data.state == 1){
1004 1264
                   var disinfect =  response.data.data.disinfect
1005 1265
                   this.editDialogFormVisible = false
1006 1266
                   this.getNewAirDisinfectList()
1267
+                  this.$refs[formName].resetFields()
1007 1268
                 }
1008 1269
              })
1009 1270
             }
1010
-           
1271
+
1011 1272
          })
1273
+
1012 1274
        },
1013 1275
        handleDelete(id){
1014 1276
          deleteNewAirDisInfect(id).then(response=>{
@@ -1037,7 +1299,73 @@
1037 1299
               });
1038 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 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 ファイルの表示

@@ -136,6 +136,8 @@
136 136
                 <span v-if="schedule.prescription.anticoagulant == 11">那屈肝素</span>
137 137
                 <span v-if="schedule.prescription.anticoagulant == 12">无抗凝剂</span>
138 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 141
              </span>
140 142
           </span>
141 143
         </p>

+ 31 - 13
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue ファイルの表示

@@ -2397,7 +2397,7 @@
2397 2397
                             v-if="!record.check"
2398 2398
                           ></div>
2399 2399
                         </div> -->
2400
-                        <div class="inline_block" style="flex: 1">
2400
+                        <!-- <div class="inline_block" style="flex: 1">
2401 2401
                           下机护士:
2402 2402
                           <div
2403 2403
                             class="under_line"
@@ -2436,12 +2436,12 @@
2436 2436
                               style="height: 40px"
2437 2437
                             />
2438 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 2442
                           <div
2443 2443
                             class="under_line"
2444
-                            style="width: 80px; text-align: center"
2444
+                            style="width: 70px; text-align: center"
2445 2445
                           >
2446 2446
                            
2447 2447
                             <img
@@ -2453,7 +2453,7 @@
2453 2453
                               style="height: 40px"
2454 2454
                             />
2455 2455
                           </div>
2456
-                        </div> -->
2456
+                        </div>
2457 2457
                         <div class="inline_block" style="flex: 1">
2458 2458
                           治疗医生:
2459 2459
                           <div
@@ -2973,15 +2973,33 @@
2973 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 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 3004
       newAdviceGroupObject: function () {
2987 3005
         return Object.assign(

+ 320 - 338
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue ファイルの表示

@@ -204,43 +204,37 @@
204 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 228
                       , 置换量:&nbsp;{{
235 229
                         record&&record.prescription.displace_liqui_value
236 230
                           ? record&&record.prescription.displace_liqui_value
237 231
                           : "/"
238 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 238
                       &nbsp;
245 239
                       <span v-if="record&&record.prescription.mode_id > 2">
246 240
                         {{ record&&record.prescription.mode }}
@@ -264,27 +258,22 @@
264 258
 
265 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 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 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 278
                       &nbsp;&nbsp;{{
290 279
                         record&&record.prescription.anticoagulant_zongliang &&
@@ -294,13 +283,13 @@
294 283
                           ? record&&record.prescription.anticoagulant_zongliang
295 284
                           : ""
296 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 293
                         ><span style="width: 35px; display: inline-block">
305 294
                           {{
306 295
                             record&&record.prescription.anticoagulant_shouji &&
@@ -309,8 +298,7 @@
309 298
                               ? record&&record.prescription.anticoagulant_shouji
310 299
                               : ""
311 300
                           }}
312
-                        </span></span
313
-                      >
301
+                        </span></span>
314 302
                       &nbsp;mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
315 303
                         record&&record.prescription.anticoagulant_weichi &&
316 304
                         record&&record.prescription.anticoagulant == 2
@@ -324,26 +312,23 @@
324 312
                           : ""
325 313
                       }}</span
326 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 332
                       <span style="padding-left: 10px">
348 333
                         <span
349 334
                           style="
@@ -488,96 +473,60 @@
488 473
                       <div style="display: flex; justify-content: flex-start">
489 474
                         <div style="width: 100%">
490 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 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 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 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 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 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 530
                             <span
582 531
                               style="
583 532
                                 display: inline-block;
@@ -828,177 +777,173 @@
828 777
             </tr>
829 778
             <tr style="transform: translateY(4px)">
830 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 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 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 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 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 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 885
                         record.patient.total_dialysis +
854
-                            record.patient.user_sys_before_count >
886
+                          record.patient.user_sys_before_count >
855 887
                         0
856
-                            ? record.assessment_after_dislysis.weight_after
857
-                            : "/"
858
-                        }}kg
888
+                          ? record.assessment_before_dislysis.dry_weight
889
+                          : "/"
890
+                      }}kg
859 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 943
                 </td>
864 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 947
         <tr style="transform: translateY(1px)">
1003 948
             <td colspan="11">  
1004 949
             <table class="inside_table" border="1">
@@ -1009,7 +954,7 @@
1009 954
                     }}
1010 955
                 </td>
1011 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 958
                 <td style="padding-left: 5px; border-bottom: none;border-top: none;">
1014 959
                     透析护理记录:{{
1015 960
                     record.summer&&record.summer.nursing_record ? record.summer&&record.summer.nursing_record : ""
@@ -1131,7 +1076,7 @@
1131 1076
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
1132 1077
   import print from 'print-js'
1133 1078
 export default {
1134
-  name: "BatchPrintOrderSix",
1079
+  name: "BatchPrintOrderFiftyThree",
1135 1080
   components: {
1136 1081
     CheckBox,
1137 1082
     BreadCrumb,
@@ -1167,6 +1112,7 @@ export default {
1167 1112
       loading: false,
1168 1113
       orgname: "",
1169 1114
       bloodAccessParOpera: {},
1115
+      bloodAccessParOperaList:[],
1170 1116
       anticoagulantsConfit: {},
1171 1117
       dialysateFormulationOptions: {},
1172 1118
       operatorMaps: {},
@@ -1197,6 +1143,11 @@ export default {
1197 1143
       "hemodialysis",
1198 1144
       "vascular_access_desc"
1199 1145
     );
1146
+    this.bloodAccessParOperaList = getDataConfig(
1147
+      "hemodialysis",
1148
+      "vascular_access_desc"
1149
+    );
1150
+    console.log("z=============",this.bloodAccessParOperaList)
1200 1151
     this.way_arr = getDataConfig("hemodialysis", "way");
1201 1152
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1202 1153
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
@@ -1260,6 +1211,14 @@ export default {
1260 1211
         var resp = rs.data;
1261 1212
         if (resp.state == 1) {
1262 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 1222
           var tempmonitorflag = true;
1264 1223
           for(let i=0;i<this.records.length;i++){
1265 1224
             for(let j=0;j<this.records[i].monitor_records.length;j++){
@@ -1453,7 +1412,6 @@ export default {
1453 1412
         scanStyles: false,
1454 1413
       });
1455 1414
     },
1456
-
1457 1415
     complicationsOther: function (record) {
1458 1416
       if (record == null || typeof record === "undefined") {
1459 1417
         return "";
@@ -1490,11 +1448,17 @@ export default {
1490 1448
       return "";
1491 1449
     },
1492 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 1463
     isBbloodAccessParOperaCheck(key, value) {
1500 1464
       if (key == null || typeof key === "undefined") {
@@ -1602,16 +1566,34 @@ export default {
1602 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 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 1597
     newAdviceGroupObject: function () {
1616 1598
       return Object.assign(
1617 1599
         {},

+ 58 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue ファイルの表示

@@ -894,7 +894,7 @@
894 894
                       style="padding: 2px 0; line-height: 23px; display: flex"
895 895
                     >
896 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 899
                         <div
900 900
                           class="under_line"
@@ -918,6 +918,21 @@
918 918
                         </div>
919 919
                         kg
920 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 936
                       <div class="inline_block" style="flex: 1">
922 937
                         透前体重:
923 938
                         <div
@@ -938,7 +953,7 @@
938 953
                         </div>
939 954
                         kg
940 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 958
                         <div
944 959
                           class="under_line"
@@ -954,6 +969,22 @@
954 969
                          <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
955 970
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
956 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 988
                       <div class="inline_block" style="flex: 1">
958 989
                         干体重:
959 990
                         <div
@@ -1295,11 +1326,19 @@
1295 1326
                           <td
1296 1327
                             width="50"
1297 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 1332
                             SpO₂<br />(%)
1302 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 1342
                           <td width="50" v-if="org_id != 0 && org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1304 1343
                           <td width="50" v-if="org_id ==0 || org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1305 1344
                           <td
@@ -1414,8 +1453,9 @@
1414 1453
                             v-if="
1415 1454
                               org_id != 9538 &&
1416 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,7 +1467,7 @@
1427 1467
 
1428 1468
                           <td
1429 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,6 +1477,18 @@
1437 1477
                             }}
1438 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 1492
                           <td v-if="org_id == 9538">
1441 1493
                             {{
1442 1494
                               monitor_record.sodium_concentration

+ 44 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_twelve.vue ファイルの表示

@@ -1374,24 +1374,64 @@
1374 1374
                     核对护士
1375 1375
                     <span
1376 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 1418
                       <span
1379 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 1425
                           }}</span
1386 1426
                         >
1387 1427
                         <img
1388
-                          :src="setAdminUserES(record.check, 'modifier')"
1428
+                          :src="setAdminUserES(record.check, 'creater')"
1389 1429
                           alt=""
1390 1430
                           srcset=""
1391 1431
                           v-else
1392 1432
                           style="height: 30px;"
1393 1433
                         />
1394
-                    </span>
1434
+                    </span> -->
1395 1435
                     护士签名
1396 1436
                     <span
1397 1437
                       style="display: inline-block;width:100px;text-align: left;"

+ 4 - 0
src/xt_pages/dialysis/components/consumablesDialog.vue ファイルの表示

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

+ 4 - 0
src/xt_pages/dialysis/components/dialysisDrugsDialog.vue ファイルの表示

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

+ 4 - 0
src/xt_pages/dialysis/components/dialysisParametersDialog.vue ファイルの表示

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

+ 36 - 26
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue ファイルの表示

@@ -260,6 +260,7 @@
260 260
         },
261 261
         zoneIdList:[],
262 262
         partion_str:"",
263
+     
263 264
       }
264 265
     },
265 266
     created() {
@@ -662,33 +663,35 @@
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 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 692
           if(newArr!=null && newArr.length >0){
690 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 695
                 console.log("药品名称",newArr[i].advice_name)
693 696
                  newArrList.push(newArr[i])
694 697
               }
@@ -702,7 +705,7 @@
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 710
           if(newArr!=null && newArr.length > 0){
708 711
             for(let i=0;i<newArr.length;i++){
@@ -799,7 +802,14 @@
799 802
      changePartionType(){
800 803
       this.tableList = []
801 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 815
 </script>

+ 33 - 23
src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue ファイルの表示

@@ -199,31 +199,31 @@
199 199
 
200 200
         if(this.$store.getters.xt_user.org_id == 10469 || this.$store.getters.xt_user.org_id == 0){
201 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 224
           if(newArr!=null && newArr.length >0){
225 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 228
                  newArrList.push(newArr[i])
229 229
               }
@@ -267,6 +267,16 @@
267 267
         const res = new Map()
268 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 282
 </script>

+ 1 - 0
src/xt_pages/dialysis/details/consumable/dialysisGood.vue ファイルの表示

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

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisGoodPrint.vue ファイルの表示

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

+ 93 - 9
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue ファイルの表示

@@ -27,7 +27,7 @@
27 27
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
28 28
     </div>
29 29
     <div class="cell clearfix" style="justify-content: space-between;">
30
-      <div style="display:flex;">
30
+      <!-- <div style="display:flex;">
31 31
         <label class="title"> <span class="name">分区</span> : </label>
32 32
         <div class="time">
33 33
           <ul class>
@@ -41,7 +41,16 @@
41 41
             </li>
42 42
           </ul>
43 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 54
       <div>
46 55
         <el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
47 56
         <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
@@ -81,6 +90,37 @@
81 90
             {{scope.row.patient.name}}
82 91
            </template>
83 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 124
         <el-table-column align="center" label="透析号" v-if="dialysisSett.dialysis_no==1">
85 125
            <template slot-scope="scope">
86 126
             {{scope.row.patient.dialysis_no}}
@@ -489,7 +529,7 @@
489 529
         partion_type:0,
490 530
         tableList:[],
491 531
         dialysisSett:{},
492
-
532
+        partitionArrOne:[],
493 533
         dialogVisibleOne: false,
494 534
         prescription_status: false,
495 535
         week: false,
@@ -526,6 +566,8 @@
526 566
             return v.getTime() < new Date().getTime() - 86400000;
527 567
           },
528 568
         },
569
+        partition_id:0,
570
+        zoneList:[],
529 571
       }
530 572
     },
531 573
     open(){
@@ -534,7 +576,7 @@
534 576
     created() {
535 577
        this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
536 578
        this.displace_liqui_part_option = this.$store.getters.displace_liqui
537
-       console.log("志愿液",this.displace_liqui_part_option)
579
+    
538 580
        var filedList = store.getters.xt_user.fileds
539 581
        var newArr = [
540 582
         {value:999999,filed_name_cn:"姓名"},
@@ -550,8 +592,6 @@
550 592
         }
551 593
         this.predialysisConditionOptions = newArr
552 594
        }
553
-     
554
-      this.getAllZone()
555 595
       let date = uParseTime(new Date(), "{y}-{m}-{d}")
556 596
       var newDate = new Date();
557 597
       var y = newDate.getFullYear();
@@ -565,14 +605,40 @@
565 605
       this.query.schedule_type = 0
566 606
       this.query.partition_id = 0
567 607
       this.query.page = 1
568
-      this.getlist()
608
+      this.getAllZone()
609
+     
610
+     
569 611
      
570 612
     },
571 613
     methods: {
572 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 630
         getDialysisParameter(this.query).then(response=>{
574 631
             if(response.data.state == 1){
575 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 642
               this.list = list
577 643
               this.total = response.data.data.total
578 644
               this.dialysisSett = response.data.data.dialysisSett
@@ -580,6 +646,13 @@
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 656
       handleSizeChange(val) {
584 657
         this.query.limit = val;
585 658
         this.getlist();
@@ -636,7 +709,7 @@
636 709
 
637 710
       },
638 711
       selectPartitionType(partitionType) {
639
-        this.partitionType = partitionType
712
+        // this.partitionType = partitionType
640 713
         this.query.partition_id = partitionType
641 714
         this.query.page = 1
642 715
 
@@ -654,16 +727,27 @@
654 727
             this.$message.error(response.data.msg)
655 728
             return false
656 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 736
             this.partitionArr = response.data.data.zone
737
+           
738
+            console.log("全部中",this.partitionArrOne)
658 739
             this.partitionArr.unshift({ id: 0, name: '全部' })
740
+            this.getlist()
741
+            
659 742
           }
660 743
         })
661 744
       },
662 745
       statistics() {
663 746
          this.tableList = []
747
+       
664 748
          var params = {
665 749
           schedule_type:this.schedule_type,
666
-          partion_type:this.partion_type,
750
+          partion_type:this.partitionType,
667 751
           selected_date:this.query.schedule_date,
668 752
         }
669 753
         getDialysisParameterGoodList(params).then(response=>{

+ 48 - 2
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue ファイルの表示

@@ -28,6 +28,7 @@
28 28
                 <td width="50">序号</td>
29 29
                 <td width="100"  v-if="dialysisSett.device_number==1">透析机号</td>
30 30
                 <td width="100"  v-if="dialysisSett.name==1">姓名</td>
31
+                <td width="100"  v-if="dialysisSett.name==1">透析模式</td>
31 32
                 <td width="100" v-if="dialysisSett.dialysis_no==1">透析号</td>
32 33
                 <td width="100" v-if="dialysisSett.admission_number==1">住院(门诊)号</td>
33 34
                 <td width="100"  v-if="dialysisSett.weight_befor==1">透前体重</td>
@@ -61,6 +62,36 @@
61 62
                 <td width="100"  v-if="dialysisSett.name==1">
62 63
                    {{item.patient.name}}
63 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 95
                 <td width="100" v-if="dialysisSett.dialysis_no==1">
65 96
                    {{item.patient.dialysis_no}}
66 97
                 </td>
@@ -199,7 +230,7 @@
199 230
        var params = {
200 231
          schedule_date:this.$route.query.schedule_date,
201 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 234
          page:this.$route.query.page,
204 235
          limit:this.$route.query.limit,
205 236
          ids:this.$route.query.ids,
@@ -208,6 +239,14 @@
208 239
       getDialysisParameter(params).then(response=>{
209 240
           if(response.data.state == 1){
210 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 250
             this.list = list
212 251
             this.dialysisSett = response.data.data.dialysisSett
213 252
             console.log("设置",this.dialysisSett)
@@ -292,7 +331,14 @@
292 331
          }
293 332
        }
294 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 ファイルの表示

@@ -684,8 +684,8 @@
684 684
       </el-form>
685 685
       <span slot="footer" class="dialog-footer">
686 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 689
             </span>
690 690
     </el-dialog>
691 691
 
@@ -982,41 +982,41 @@
982 982
 
983 983
     },
984 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 1021
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
1022 1022
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
@@ -1027,7 +1027,7 @@
1027 1027
         var filedList = store.getters.xt_user.fileds
1028 1028
         for (let i = 0; i < filedList.length; i++) {
1029 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 1031
             return true
1032 1032
           }
1033 1033
         }
@@ -1506,9 +1506,11 @@
1506 1506
         
1507 1507
         
1508 1508
         
1509
-      }, handleCancle: function() {
1509
+      },
1510
+       handleCancle: function() {
1510 1511
         this.isVisibility = false
1511
-      }, showDryWeightDialog: function() {
1512
+      }, 
1513
+      showDryWeightDialog: function() {
1512 1514
         if (this.$store.getters.xt_user.user.user_type == 3) {
1513 1515
           this.$message.error('您没有权限调整干体重')
1514 1516
           return
@@ -1671,7 +1673,8 @@
1671 1673
       //   }
1672 1674
       //
1673 1675
       // }
1674
-    }, watch: {
1676
+    }, 
1677
+    watch: {
1675 1678
       isVisibility(val) {
1676 1679
 
1677 1680
       },

+ 11 - 9
src/xt_pages/dialysis/details/dialog/computer_dialog.vue ファイルの表示

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

+ 3 - 6
src/xt_pages/dialysis/details/dialog/finish_dialog.vue ファイルの表示

@@ -4,7 +4,7 @@
4 4
       <!-- <div class="txsj">
5 5
       </div> -->
6 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 8
         <el-form-item label="下机护士" >
9 9
           <el-select v-model="form.nurse_id" :disabled="!(dialysis_order.id != 0)">
10 10
             <el-option v-for="(admin, index) in admins" :key="index" :value="admin.id" :label="admin.name"></el-option>
@@ -36,7 +36,6 @@
36 36
             <el-input v-model="form.internal_fistula" readonly  @focus="showInnerDialog('7')" style="width:200px"></el-input>
37 37
         </el-form-item>
38 38
 
39
-
40 39
         <el-form-item label="导管: " :prop="isName('导管')"
41 40
               :rules="isCheckmust('导管')" v-if="isShowFiled('导管')">
42 41
           <el-input v-model="form.catheter" @focus="showInnerDialog('4')" style="width:200px"></el-input>
@@ -183,9 +182,6 @@
183 182
         },
184 183
         catheter: [],
185 184
         cruorOptions: [],
186
-        drugdicRules: {
187
-         internal_fistula: [{ required: true, message: "请选择内瘘" }]
188
-        },
189 185
         required:false,
190 186
         education:[],
191 187
         infoDialogVisible:false,
@@ -265,7 +261,8 @@
265 261
           filedList[i].filed_name_cn == name &&
266 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 ファイルの表示

@@ -239,7 +239,9 @@
239 239
                 org_id == 9555 
240 240
                 || org_id == 10432
241 241
                 || org_id == 10445
242
-                || org_id == 10410) &&
242
+                || org_id == 10410 ||
243
+                org_id == 10495 ||
244
+                org_id == 10485) &&
243 245
                 org_id!=10387
244 246
             "
245 247
           >
@@ -307,7 +309,8 @@
307 309
               org_id!= 10210 &&
308 310
               org_id != 9555 
309 311
               && org_id!=10432 && org_id!=10445
310
-              && org_id!=10410)
312
+              && org_id!=10410 && org_id!=10495 &&
313
+               org_id!=10485 )
311 314
               || org_id == 10387
312 315
             "
313 316
           >
@@ -359,7 +362,8 @@
359 362
                 template_id == 60 ||
360 363
                 org_id == 10432 ||
361 364
                 org_id == 10445 ||
362
-                org_id == 10410)
365
+                org_id == 10410 ||
366
+                org_id == 10495)
363 367
                 && org_id!=10387
364 368
             "
365 369
           >
@@ -410,7 +414,7 @@
410 414
               template_id != 60 &&
411 415
               org_id!=10432 &&
412 416
               org_id!=10445 &&
413
-              org_id!=10410) || 
417
+              org_id!=10410 && org_id!=10495) || 
414 418
               org_id == 10387
415 419
             "
416 420
           >
@@ -470,7 +474,8 @@
470 474
                 template_id == 54 ||
471 475
                 template_id == 56 ||
472 476
                 org_id ==10432 || 
473
-                org_id ==10445
477
+                org_id ==10445 || 
478
+                org_id ==10410
474 479
               
475 480
                )
476 481
             "
@@ -498,7 +503,8 @@
498 503
               template_id != 54 &&
499 504
               template_id != 56 &&
500 505
               org_id !=10432 && 
501
-              org_id !=10445
506
+              org_id !=10445 &&
507
+              org_id !=10410
502 508
             "
503 509
           >
504 510
             <template slot-scope="scope">
@@ -849,6 +855,30 @@
849 855
             </template>
850 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 882
           <el-table-column
853 883
             prop="heparin"
854 884
             align="center"
@@ -1201,7 +1231,9 @@
1201 1231
                 org_id == 10340 ||
1202 1232
                 org_id == 10432 ||
1203 1233
                 org_id == 10445 ||
1204
-                org_id == 10410) 
1234
+                org_id == 10410 ||
1235
+                org_id == 10495 ||
1236
+                org_id == 10485) 
1205 1237
                 && org_id!=10387
1206 1238
             "
1207 1239
           >
@@ -1255,7 +1287,10 @@
1255 1287
               org_id != 9555 &&
1256 1288
               org_id!=10432 && 
1257 1289
               org_id!=10445 && 
1258
-              org_id!=10410)
1290
+              org_id!=10410 &&
1291
+              org_id!=10495 &&
1292
+              org_id!=10485
1293
+              )
1259 1294
               || org_id == 10387
1260 1295
             "
1261 1296
           >
@@ -1296,7 +1331,8 @@
1296 1331
               template_id != 56 &&
1297 1332
               template_id != 53 &&
1298 1333
               org_id!=10432 &&
1299
-              org_id!=10445
1334
+              org_id!=10445 &&
1335
+              org_id!=10410
1300 1336
             "
1301 1337
           >
1302 1338
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
@@ -1320,7 +1356,8 @@
1320 1356
                 template_id == 56 ||
1321 1357
                 template_id == 48 ||
1322 1358
                 org_id==10432 ||
1323
-                org_id!=10445)
1359
+                org_id!=10445 ||
1360
+                org_id!=10410)
1324 1361
             "
1325 1362
           >
1326 1363
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
@@ -1564,6 +1601,20 @@
1564 1601
             </el-form-item>
1565 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 1618
           <el-col :span="8" v-if="isShow('滤前压')">
1568 1619
             <el-form-item label="滤前压(mmHg):">
1569 1620
               <el-input v-model="form.filter_pressure"></el-input>
@@ -1822,6 +1873,8 @@ export default {
1822 1873
         heparin_amount: "", //肝素量
1823 1874
         dehydration: "",
1824 1875
         filter_pressure:"",
1876
+        replacement_speed:"",
1877
+        dicarbonate:"",
1825 1878
       },
1826 1879
 
1827 1880
       table_current_row: null,
@@ -2533,7 +2586,18 @@ export default {
2533 2586
         parseFloat(this.form.dehydration) == NaN
2534 2587
           ? 0
2535 2588
           : parseFloat(this.form.dehydration);
2589
+        
2536 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 2601
       let mode = "1";
2538 2602
       if (this.form.id > 0) {
2539 2603
         mode = "2";
@@ -2692,6 +2756,16 @@ export default {
2692 2756
               parseFloat(this.form.heparin_amount) == NaN
2693 2757
                 ? 0
2694 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 2769
             this.$message.error(resp.msg);
2696 2770
             if(response.data.code == 600000008){
2697 2771
               this.infoDialogVisible = true

+ 1 - 2
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue ファイルの表示

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

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue ファイルの表示

@@ -14,14 +14,14 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 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 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 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 21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22 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 25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26 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 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 ファイルの表示

@@ -54,7 +54,11 @@
54 54
         <!-- 候诊区 -->
55 55
         <el-tab-pane label="候诊区" name="first">
56 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 62
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
59 63
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
60 64
           </div>
@@ -239,147 +243,194 @@
239 243
         <div class="print_main_content">
240 244
           <div class="table_panel">
241 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 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 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 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 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 323
                     iu/h
332 324
                     </span>
333
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
325
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
334 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 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 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 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 381
                     iu
375 382
                     </span>
376
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
377
-                   iu
378
-                   </span>
379
-                  </span>
383
+                    </span>
384
+                  </div>
380 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 434
           </div>
384 435
         </div>
385 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 ファイルの表示

@@ -105,13 +105,14 @@
105 105
       </template>
106 106
       <template
107 107
         v-if="
108
-          org_template_info.template_id == 6 ||
108
+          (org_template_info.template_id == 6 ||
109 109
           org_template_info.template_id == 10 ||
110 110
           org_template_info.template_id == 11 ||
111 111
           org_template_info.template_id == 50 ||
112 112
           org_template_info.template_id == 52 ||
113 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 118
       <div>
@@ -796,7 +797,20 @@
796 797
           >
797 798
         </div>
798 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 814
     </div>
801 815
     <div class="app-container" style="min-height: 0">
802 816
       <!--<div class="order-print-btn"-->
@@ -933,8 +947,7 @@
933 947
           <DialysisPrintOrderTwo
934 948
             v-bind:childResponse="childResponse"
935 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 952
           ></DialysisPrintOrderTwo>
940 953
 
@@ -958,7 +971,7 @@
958 971
                                   
959 972
           <DialysisPrintOrderSix
960 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 976
           </DialysisPrintOrderSix>
964 977
 
@@ -1239,6 +1252,17 @@
1239 1252
           v-bind:childResponse="childResponse"
1240 1253
             v-if="org_template_info.template_id == 63">
1241 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 1266
         </div>
1243 1267
       </el-container>
1244 1268
     </div>
@@ -1320,6 +1344,8 @@ import DialysisPrintOrderSixty from "./template/DialysisPrintOrderSixty";
1320 1344
 import DialysisPrintOrderSixtyOne from "./template/DialysisPrintOrderSixtyOne"
1321 1345
 import DialysisPrintOrderSixtyTwo from "./template/DialysisPrintOrderSixtyTwo"
1322 1346
 // import DialysisPrintOrderSixtyThree from "./template/DialysisPrintOrderSixtyThree"
1347
+import DialysisPrintOrderSixtyfour from './template/DialysisPrintOrderSixtyfour'
1348
+import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1323 1349
 export default {
1324 1350
   name: "dialysisPrintOrder",
1325 1351
   components: {
@@ -1386,10 +1412,12 @@ export default {
1386 1412
     DialysisPrintOrderSeven,
1387 1413
     DialysisPrintOrderEight,
1388 1414
     DialysisPrintOrderNine,
1389
-
1415
+    DialysisPrintOrderSixtyfour,
1416
+    DialysisPrintOrderSixtyFive,
1390 1417
     LabelBox,
1391 1418
     BreadCrumb,
1392
-  },
1419
+    DialysisPrintOrderSixtyFive
1420
+},
1393 1421
   data() {
1394 1422
     return {
1395 1423
       crumbs: [
@@ -1539,6 +1567,11 @@ export default {
1539 1567
       return "";
1540 1568
     },
1541 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 1575
       var ptime = Math.round(new Date().getTime() / 1000);
1543 1576
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
1544 1577
 
@@ -1631,8 +1664,9 @@ export default {
1631 1664
         // this.org_template_info.template_id == 51 ||
1632 1665
         this.org_template_info.template_id == 58 ||
1633 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 1671
         printJS({
1638 1672
           printable: "dialysis-print-box-1",
@@ -1937,6 +1971,25 @@ export default {
1937 1971
           style: style2,
1938 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 1993
       }else if (
1941 1994
         this.org_template_info.template_id == 53
1942 1995
       ) {
@@ -1947,7 +2000,8 @@ export default {
1947 2000
           scanStyles: false,
1948 2001
         });
1949 2002
         
1950
-      }else if (
2003
+      }
2004
+      else if (
1951 2005
         this.org_template_info.template_id == 54 || this.org_template_info.template_id == 57
1952 2006
       ) {
1953 2007
         printJS({
@@ -2032,7 +2086,7 @@ export default {
2032 2086
           style: style,
2033 2087
           scanStyles: false,
2034 2088
         });
2035
-      }
2089
+      } 
2036 2090
     },
2037 2091
     printThisTwoPage() {
2038 2092
       var ptime = Math.round(new Date().getTime() / 1000);
@@ -2160,6 +2214,7 @@ export default {
2160 2214
       getDialysisRecord(this.queryParams).then((response) => {
2161 2215
         if (response.data.state == 1) {
2162 2216
           this.childResponse = response;
2217
+          console.log('this.org_template_info是数据',response.data.data);
2163 2218
           this.org_template_info = response.data.data.org_template_info;
2164 2219
           this.loading = false;
2165 2220
           //   this.adminUser = response.data.data.users
@@ -2592,7 +2647,7 @@ export default {
2592 2647
         "/dialysis/print?xtdate=" +
2593 2648
           xtdate +
2594 2649
           "&xtno=" +
2595
-          schedual.patient.dialysis_no
2650
+          schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
2596 2651
       );
2597 2652
       //   this.patient_id = schedual.patient_id;
2598 2653
       //   this.date = schedual.schedule_date;

+ 10 - 4
src/xt_pages/dialysis/signPrint.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFifty.vue ファイルの表示

@@ -2597,6 +2597,7 @@ export default {
2597 2597
       queryParams: {
2598 2598
         xtdate: "",
2599 2599
         xtno: "",
2600
+        patient_id:0,
2600 2601
       },
2601 2602
       patientInfo: {
2602 2603
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyEight.vue ファイルの表示

@@ -2570,6 +2570,7 @@ export default {
2570 2570
       queryParams: {
2571 2571
         xtdate: "",
2572 2572
         xtno: "",
2573
+        patient_id:0,
2573 2574
       },
2574 2575
       patientInfo: {
2575 2576
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue ファイルの表示

@@ -2434,6 +2434,7 @@ export default {
2434 2434
       queryParams: {
2435 2435
         xtdate: "",
2436 2436
         xtno: "",
2437
+        patient_id:0,
2437 2438
       },
2438 2439
       patientInfo: {
2439 2440
         birth: "",

+ 37 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue ファイルの表示

@@ -2595,7 +2595,7 @@
2595 2595
                                 />
2596 2596
                               </div>
2597 2597
                             </div>
2598
-                            <div class="inline_block" style="flex: 1">
2598
+                            <!-- <div class="inline_block" style="flex: 1">
2599 2599
                               下机护士:
2600 2600
                               <div
2601 2601
                                 class="under_line"
@@ -2633,8 +2633,8 @@
2633 2633
                                   v-else
2634 2634
                                 />
2635 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 2639
                               <div
2640 2640
                                 class="under_line"
@@ -2648,7 +2648,7 @@
2648 2648
                                   srcset=""
2649 2649
                                 />
2650 2650
                               </div>
2651
-                            </div> -->
2651
+                            </div>
2652 2652
                             <div class="inline_block" style="flex: 1">
2653 2653
                               治疗医生:
2654 2654
                               <div
@@ -2762,6 +2762,7 @@ export default {
2762 2762
       queryParams: {
2763 2763
         xtdate: "",
2764 2764
         xtno: "",
2765
+        patient_id:0,
2765 2766
       },
2766 2767
       patientInfo: {
2767 2768
         birth: "",
@@ -3582,20 +3583,39 @@ export default {
3582 3583
       }
3583 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 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 3619
     newAdviceGroupObject: function () {
3600 3620
       return Object.assign(
3601 3621
         {},

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySix.vue ファイルの表示

@@ -2646,6 +2646,7 @@ export default {
2646 2646
       queryParams: {
2647 2647
         xtdate: "",
2648 2648
         xtno: "",
2649
+        patient_id:0,
2649 2650
       },
2650 2651
       patientInfo: {
2651 2652
         birth: "",

+ 82 - 45
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue ファイルの表示

@@ -25,7 +25,7 @@
25 25
                       <div>
26 26
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
27 27
                       </div>
28
-                      <div>年龄:{{ getoldAge() }}</div>
28
+                      <div>年龄:{{ getAge(patientInfo) }}</div>
29 29
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
30 30
                     </div>
31 31
                   </td>
@@ -688,9 +688,12 @@
688 688
                 <tr>
689 689
                   <td style="width: 60px" rowspan="2">时间</td>
690 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 693
                   </td>
694
+                  <td v-if="org_id == 10430 || org_id == 0">
695
+                    KT/V
696
+                  </td>
694 697
                   <td colspan="1">治疗中病情变化</td>
695 698
                 </tr>
696 699
                 <tr class="short_tr">
@@ -716,6 +719,8 @@
716 719
                     <p style="height: 20px; line-height: 20px">℃</p>
717 720
                   </th>
718 721
 
722
+               
723
+
719 724
                   <th style="width: 80px; font-weight: normal">
720 725
                     <p style="height: 20px; line-height: 20px">T</p>
721 726
                     <p style="height: 20px; line-height: 20px">℃</p>
@@ -743,6 +748,11 @@
743 748
                     <p style="height: 20px; line-height: 20px">SpO₂</p>
744 749
                     <p style="height: 20px; line-height: 20px">%</p>
745 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 756
                   <th style="width: 333px; font-weight: normal">
747 757
                     <p style="height: 20px; line-height: 20px">
748 758
                       记&nbsp;&nbsp;&nbsp;&nbsp;录
@@ -795,12 +805,14 @@
795 805
                     {{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}
796 806
                   </td>
797 807
 
808
+
798 809
                   <td>
799 810
                     <span v-if="getTime(monitor.operate_time) != ''">
800 811
                       {{ monitor.temperature ? monitor.temperature : "" }}
801 812
                     </span>
802 813
                   </td>
803 814
 
815
+                
804 816
                   <td>
805 817
                     <span v-if="getTime(monitor.operate_time) != ''">
806 818
                       {{
@@ -836,6 +848,9 @@
836 848
                       }}
837 849
                     </span>
838 850
                   </td>
851
+                  <td v-if="org_id == 10430 || org_id == 0">
852
+                    {{ monitor.ktv?monitor.ktv:"" }}
853
+                  </td>
839 854
                   <td>
840 855
                     <span
841 856
                       v-if="
@@ -851,7 +866,7 @@
851 866
               </table>
852 867
             </td>
853 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 870
             <td>
856 871
               <table class="print-table" border="1" style="text-align: center">
857 872
                 <tr>
@@ -899,8 +914,9 @@
899 914
               </table>
900 915
             </td>
901 916
           </tr>
902
-          <div v-if="org_id!=10346 && org_id!=0">
917
+
903 918
           <tr
919
+            v-if="org_id!=10346"
904 920
             v-for="(advice, advice_index) in advices"
905 921
             :key="advice_index"
906 922
             style="transform: translateY(3px)"
@@ -919,14 +935,14 @@
919 935
                     <span v-if="setAdminUserES(advice.advice_doctor) == ''">
920 936
                       {{ getAdminUser(advice.advice_doctor) }}
921 937
                     </span>
922
-                    <img
938
+                  <img
923 939
                       style="height: 30px"
924 940
                       :src="setAdminUserES(advice.advice_doctor)"
925 941
                       alt=""
926 942
                       srcset=""
927 943
                     />
928 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 946
                     <span v-if="advice.parent_id > 0">---></span>
931 947
                     <span>{{ advice.advice_name }}</span>
932 948
                     <span v-if="advice && advice.advice_desc"
@@ -1082,7 +1098,7 @@
1082 1098
               </table>
1083 1099
             </td>
1084 1100
           </tr>
1085
-          </div>
1101
+         
1086 1102
 
1087 1103
           <tr style="transform: translateY(1px)">
1088 1104
             <td>
@@ -1201,6 +1217,8 @@
1201 1217
       </table>
1202 1218
     </div>
1203 1219
   </div>
1220
+
1221
+  
1204 1222
   <div id="dialysis-print-box-1-2">
1205 1223
     <div class="dialysis-print-order">
1206 1224
       <table class="print-table">
@@ -1226,7 +1244,7 @@
1226 1244
                       <div>
1227 1245
                         性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
1228 1246
                       </div>
1229
-                      <div>年龄:{{ getoldAge() }}</div>
1247
+                      <div>年龄:{{ getAge(patientInfo) }}</div>
1230 1248
                       <div>透析机号:&nbsp;{{ getNumber() }}</div>
1231 1249
                     </div>
1232 1250
                   </td>
@@ -1285,7 +1303,6 @@
1285 1303
               </table>
1286 1304
             </td>
1287 1305
           </tr>
1288
-          <div>
1289 1306
           <tr
1290 1307
             v-for="(advice, advice_index) in advices"
1291 1308
             :key="advice_index"
@@ -1311,7 +1328,7 @@
1311 1328
                       srcset=""
1312 1329
                     />
1313 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 1332
                     <span v-if="advice.parent_id > 0">---></span>
1316 1333
                     <span>{{ advice.advice_name }}</span>
1317 1334
                     <span v-if="advice && advice.advice_desc"
@@ -1467,7 +1484,6 @@
1467 1484
               </table>
1468 1485
             </td>
1469 1486
           </tr>
1470
-          </div>
1471 1487
 
1472 1488
         
1473 1489
         </tbody>
@@ -1551,6 +1567,7 @@ export default {
1551 1567
       queryParams: {
1552 1568
         xtdate: "",
1553 1569
         xtno: "",
1570
+        patient_id:0,
1554 1571
       },
1555 1572
       patientInfo: {
1556 1573
         birth: "",
@@ -1605,33 +1622,53 @@ export default {
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 1672
     getAdminUser(id) {
1636 1673
       if (id == 0) {
1637 1674
         return "";
@@ -1733,7 +1770,7 @@ export default {
1733 1770
     },
1734 1771
     getDialysisRecord() {
1735 1772
       this.loading = true;
1736
-
1773
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1737 1774
       getDialysisRecord(this.queryParams).then((response) => {
1738 1775
         if (response.data.state == 1) {
1739 1776
           this.adminUser = response.data.data.users;
@@ -2141,13 +2178,13 @@ export default {
2141 2178
       }
2142 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 2188
     newAdviceGroupObject: function () {
2152 2189
       return Object.assign(
2153 2190
         {},

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThreeAdvice.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyTwo.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyfive.vue ファイルの表示

@@ -2450,6 +2450,7 @@ export default {
2450 2450
       queryParams: {
2451 2451
         xtdate: "",
2452 2452
         xtno: "",
2453
+        patient_id:0,
2453 2454
       },
2454 2455
       patientInfo: {
2455 2456
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFive.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyFour.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyNine.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue ファイルの表示

@@ -2644,6 +2644,7 @@ export default {
2644 2644
       queryParams: {
2645 2645
         xtdate: "",
2646 2646
         xtno: "",
2647
+        patient_id:0,
2647 2648
       },
2648 2649
       patientInfo: {
2649 2650
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue ファイルの表示

@@ -2098,6 +2098,7 @@ export default {
2098 2098
       queryParams: {
2099 2099
         xtdate: "",
2100 2100
         xtno: "",
2101
+        patient_id:0,
2101 2102
       },
2102 2103
       patientInfo: {
2103 2104
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyThree.vue ファイルの表示

@@ -1900,6 +1900,7 @@ export default {
1900 1900
       queryParams: {
1901 1901
         xtdate: "",
1902 1902
         xtno: "",
1903
+        patient_id:0,
1903 1904
       },
1904 1905
       patientInfo: {
1905 1906
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFour.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue ファイルの表示

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

+ 20 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue ファイルの表示

@@ -227,7 +227,23 @@
227 227
                   </tbody>
228 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 247
                   <tbody>
232 248
                     <tr>
233 249
                       <td width="40">内瘘:</td>
@@ -1094,7 +1110,8 @@ export default {
1094 1110
 
1095 1111
       queryParams: {
1096 1112
         xtdate: '',
1097
-        xtno: ''
1113
+        xtno: '',
1114
+        patient_id:0,
1098 1115
       },
1099 1116
       patientInfo: {
1100 1117
         birth: '',
@@ -1374,7 +1391,7 @@ export default {
1374 1391
     },
1375 1392
     getDialysisRecord() {
1376 1393
       this.loading = true
1377
-
1394
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1378 1395
       getDialysisRecord(this.queryParams).then(response => {
1379 1396
         if (response.data.state == 1) {
1380 1397
           this.adminUser = response.data.data.users

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue ファイルの表示

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

+ 50 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue ファイルの表示

@@ -684,6 +684,28 @@
684 684
                       >
685 685
                         血浆胆红素吸附
686 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 709
                       <div
688 710
                         class="under_line"
689 711
                         style="
@@ -915,16 +937,16 @@
915 937
                     class="row"
916 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 942
                       <div
921 943
                         class="under_line"
922 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 947
                           lastafterdialysis.weight_after
926 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 950
                           predialysis.weight_after_last_transparency
929 951
                             ? predialysis.weight_after_last_transparency
930 952
                             : "未称重"
@@ -961,7 +983,7 @@
961 983
                       </div>
962 984
                       kg
963 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 988
                       <div
967 989
                         class="under_line"
@@ -976,6 +998,22 @@
976 998
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">ml</span> 
977 999
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">L</span>
978 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 1017
                     <div class="inline_block" style="flex: 1">
980 1018
                       干体重:
981 1019
                       <div
@@ -1408,7 +1446,10 @@
1408 1446
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1409 1447
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1410 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 1453
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1413 1454
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1414 1455
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
@@ -1501,7 +1542,9 @@
1501 1542
 
1502 1543
 
1503 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 1548
                         </td>
1506 1549
 
1507 1550
                       
@@ -3053,7 +3096,7 @@ export default {
3053 3096
       queryParams: {
3054 3097
         xtdate: "",
3055 3098
         xtno: "",
3056
-        patient_id:""
3099
+        patient_id:0,
3057 3100
       },
3058 3101
       patientInfo: {
3059 3102
         birth: "",

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue ファイルの表示

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

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixty.vue ファイルの表示

@@ -2355,6 +2355,7 @@ export default {
2355 2355
       queryParams: {
2356 2356
         xtdate: "",
2357 2357
         xtno: "",
2358
+        patient_id:0,
2358 2359
       },
2359 2360
       patientInfo: {
2360 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 ファイルの表示

@@ -2695,6 +2695,7 @@ export default {
2695 2695
       queryParams: {
2696 2696
         xtdate: "",
2697 2697
         xtno: "",
2698
+        patient_id:0,
2698 2699
       },
2699 2700
       patientInfo: {
2700 2701
         birth: "",

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyThree.vue ファイルの表示

@@ -2697,6 +2697,7 @@ export default {
2697 2697
       queryParams: {
2698 2698
         xtdate: "",
2699 2699
         xtno: "",
2700
+        patient_id:0,
2700 2701
       },
2701 2702
       patientInfo: {
2702 2703
         birth: "",

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyTwo.vue ファイルの表示

@@ -1453,6 +1453,7 @@ export default {
1453 1453
       queryParams: {
1454 1454
         xtdate: "",
1455 1455
         xtno: "",
1456
+        patient_id:0,
1456 1457
       },
1457 1458
       patientInfo: {
1458 1459
         birth: "",
@@ -1906,7 +1907,7 @@ export default {
1906 1907
     },
1907 1908
     getDialysisRecord() {
1908 1909
       this.loading = true;
1909
-
1910
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1910 1911
       getDialysisRecord(this.queryParams).then((response) => {
1911 1912
         if (response.data.state === 1) {
1912 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 ファイルの表示

@@ -239,6 +239,12 @@
239 239
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
240 240
                       </div>
241 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 248
                   </div>
243 249
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
244 250
                     <div class="inline_block" style="flex:1;">
@@ -911,6 +917,8 @@
911 917
                         {{ afterdialysis.catheter ? afterdialysis.catheter : "/" }}
912 918
                       </div>
913 919
                     </div>
920
+
921
+                    
914 922
                   </div>
915 923
 
916 924
                   <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
@@ -1016,8 +1024,17 @@
1016 1024
                       <div class="under_line" style="width: 80px">
1017 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 1038
                       </div>
1022 1039
                     </div>
1023 1040
                     <div class="inline_block" style="flex:1;">
@@ -1109,7 +1126,8 @@ export default {
1109 1126
       totollength: 0,
1110 1127
       queryParams: {
1111 1128
         xtdate: "",
1112
-        xtno: ""
1129
+        xtno: "",
1130
+        patient_id:0,
1113 1131
       },
1114 1132
       patientInfo: {
1115 1133
         birth: "",
@@ -1167,7 +1185,8 @@ export default {
1167 1185
         zongliang_unit: "mg",
1168 1186
         gaimingcheng_unit: "",
1169 1187
         gaijiliang_unit: ""
1170
-      }
1188
+      },
1189
+      org_id:0,
1171 1190
     };
1172 1191
   },
1173 1192
   methods: {
@@ -1954,6 +1973,7 @@ export default {
1954 1973
     }
1955 1974
   },
1956 1975
   created() {
1976
+    this.org_id = this.$store.getters.xt_user.org.id;
1957 1977
     this.way_arr = getDataConfig("hemodialysis", "way");
1958 1978
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1959 1979
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue ファイルの表示

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

+ 4 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirty.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFive.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyNine.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySeven.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue ファイルの表示

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

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyThree.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyTwo.vue ファイルの表示

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

+ 0 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue ファイルの表示


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