瀏覽代碼

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

csx 4 年之前
父節點
當前提交
41bb166862
共有 36 個文件被更改,包括 2807 次插入158 次删除
  1. 35 3
      src/api/common/common.js
  2. 5 5
      src/utils/tools.js
  3. 22 12
      src/xt_pages/data/prescription.vue
  4. 9 1
      src/xt_pages/dialysis/batch_print/batch_print_order.vue
  5. 38 1
      src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue
  6. 5 2
      src/xt_pages/dialysis/batch_print/batch_print_order_fifteen.vue
  7. 16 4
      src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue
  8. 73 1
      src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue
  9. 17 2
      src/xt_pages/dialysis/batch_print/batch_print_order_other.vue
  10. 18 1
      src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue
  11. 5 5
      src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue
  12. 39 1
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  13. 47 5
      src/xt_pages/dialysis/batch_print/batch_print_order_twenty.vue
  14. 4 2
      src/xt_pages/dialysis/details/assessmentBefore.vue
  15. 89 16
      src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue
  16. 47 49
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  17. 6 5
      src/xt_pages/dialysis/details/index.vue
  18. 23 0
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  19. 3 3
      src/xt_pages/dialysis/schedualPatient.vue
  20. 12 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue
  21. 14 2
      src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue
  22. 5 2
      src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue
  23. 7 1
      src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue
  24. 11 2
      src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue
  25. 13 1
      src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue
  26. 2 1
      src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue
  27. 11 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue
  28. 13 1
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  29. 3 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue
  30. 14 2
      src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue
  31. 61 7
      src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue
  32. 2070 0
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue
  33. 21 5
      src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue
  34. 6 3
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue
  35. 1 1
      src/xt_pages/qcd/patientComplianceDetails.vue
  36. 42 6
      src/xt_pages/user/dialysisSolution.vue

+ 35 - 3
src/api/common/common.js 查看文件

47
 }
47
 }
48
 
48
 
49
 export function getConfigurationDetail(id, params) {
49
 export function getConfigurationDetail(id, params) {
50
+  console.log('id=====', id)
50
   return request({
51
   return request({
51
     url: 'com/api/getconfigurationdetail?id=' + id,
52
     url: 'com/api/getconfigurationdetail?id=' + id,
52
     method: 'get',
53
     method: 'get',
383
 }
384
 }
384
 
385
 
385
 export function getFirstQuarter(params) {
386
 export function getFirstQuarter(params) {
386
-  console.log('params', params)
387
+  // console.log('params', params)
387
   return request({
388
   return request({
388
     url: '/com/api/getfirstquarter',
389
     url: '/com/api/getfirstquarter',
389
     method: 'get',
390
     method: 'get',
415
     page: page,
416
     page: page,
416
     limit: limit
417
     limit: limit
417
   }
418
   }
418
-  console.log('params', params)
419
   return request({
419
   return request({
420
     url: '/com/api/getpatientscontrol',
420
     url: '/com/api/getpatientscontrol',
421
     method: 'get',
421
     method: 'get',
448
 }
448
 }
449
 
449
 
450
 export function GetQualityControl(params) {
450
 export function GetQualityControl(params) {
451
-  console.log('params是', params)
452
   return request({
451
   return request({
453
     url: '/com/api/getqualitycontrol',
452
     url: '/com/api/getqualitycontrol',
454
     method: 'Get',
453
     method: 'Get',
471
     params: params
470
     params: params
472
   })
471
   })
473
 }
472
 }
473
+
474
+export function getBloodPressureDetail(id, params) {
475
+  return request({
476
+    url: '/com/api/getbloodpressuredetail?id=' + id,
477
+    method: 'get',
478
+    params: params
479
+  })
480
+}
481
+
482
+export function UpdateBloodPrussre(id, data) {
483
+  console.log('data', data)
484
+  return request({
485
+    url: '/com/api/updatebloodprussre?id=' + id,
486
+    method: 'post',
487
+    data: data
488
+  })
489
+}
490
+
491
+export function getBloodPressureList(params) {
492
+  return request({
493
+    url: '/com/api/getbloodpressurelist',
494
+    method: 'get',
495
+    params: params
496
+  })
497
+}
498
+
499
+export function getMonthBloodList(params) {
500
+  return request({
501
+    url: '/com/api/getmonthbloodlist',
502
+    method: 'get',
503
+    params: params
504
+  })
505
+}

+ 5 - 5
src/utils/tools.js 查看文件

153
 }
153
 }
154
 
154
 
155
 export function calculateAnticoagulantZL(type, shouji, shichang, weichi) {
155
 export function calculateAnticoagulantZL(type, shouji, shichang, weichi) {
156
-  console.log(type)
157
-  console.log(shouji)
158
-  console.log(shichang)
159
-  console.log(weichi)
156
+  // console.log(type)
157
+  // console.log('首剂', shouji)
158
+  // console.log('总量', shichang)
159
+  // console.log('维持', weichi)
160
 
160
 
161
   var t = 0.5
161
   var t = 0.5
162
   if (type == 1) {
162
   if (type == 1) {
172
   if (isNaN(shouji) || isNaN(shichang) || isNaN(weichi)) {
172
   if (isNaN(shouji) || isNaN(shichang) || isNaN(weichi)) {
173
     return 0
173
     return 0
174
   }
174
   }
175
-  console.log((shouji + (shichang - t) * weichi).toFixed(1))
175
+  // console.log((shouji + (shichang - t) * weichi).toFixed(1))
176
   return (shouji + (shichang - t) * weichi).toFixed(1)
176
   return (shouji + (shichang - t) * weichi).toFixed(1)
177
 }
177
 }

+ 22 - 12
src/xt_pages/data/prescription.vue 查看文件

930
           return false;
930
           return false;
931
         } else {
931
         } else {
932
            var prescription =  response.data.data.prescription
932
            var prescription =  response.data.data.prescription
933
+           console.log("prescription",prescription)
934
+            prescription.dialysis_duration = parseFloat(prescription.dialysis_duration_hour) + parseFloat((prescription.dialysis_duration_minute / 60).toFixed(2))
935
+           if(prescription.dialysate_formulation == 0){
936
+              prescription.dialysate_formulation = ""
937
+           } 
938
+           if(prescription.body_fluid ==0 ){
939
+             prescription.body_fluid = ""
940
+           }
941
+           if(prescription.anticoagulant == 0){
942
+               prescription.anticoagulant = ""
943
+           }
933
            if(prescription.anticoagulant == 3){
944
            if(prescription.anticoagulant == 3){
934
               prescription.anticoagulant = "低分子肝素"
945
               prescription.anticoagulant = "低分子肝素"
935
            }
946
            }
969
           return false;
980
           return false;
970
         } else {
981
         } else {
971
           this.system_prescription = response.data.data.prescriptions;
982
           this.system_prescription = response.data.data.prescriptions;
972
-          console.log("为什么",this.system_prescription)
973
 
983
 
974
           for (let i = 0; i < this.system_prescription.length; i++) {
984
           for (let i = 0; i < this.system_prescription.length; i++) {
975
             if (this.system_prescription[i].mode == 1) {
985
             if (this.system_prescription[i].mode == 1) {
1017
             this.isEdit = true;
1027
             this.isEdit = true;
1018
             this.system_prescription = [];
1028
             this.system_prescription = [];
1019
             this.system_prescription = response.data.data.prescriptions;
1029
             this.system_prescription = response.data.data.prescriptions;
1020
-            console.log("触发了吗",this.system_prescription)
1021
             this.addPlan.id = response.data.data.prescription.id;
1030
             this.addPlan.id = response.data.data.prescription.id;
1022
             return false;
1031
             return false;
1023
           }
1032
           }
1056
 
1065
 
1057
     this.blood_filters = this.$store.getters.blood_filters;
1066
     this.blood_filters = this.$store.getters.blood_filters;
1058
     this.dialysate_formulation = this.$store.getters.dialysate_formulation;
1067
     this.dialysate_formulation = this.$store.getters.dialysate_formulation;
1068
+   
1059
     this.body_fluid_option = this.$store.getters.body_fluid;
1069
     this.body_fluid_option = this.$store.getters.body_fluid;
1060
     this.special_medicine_option = this.$store.getters.special_medicine;
1070
     this.special_medicine_option = this.$store.getters.special_medicine;
1061
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1071
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1071
   },
1081
   },
1072
   watch: {
1082
   watch: {
1073
     "addPlan.dialysis_duration": function() {
1083
     "addPlan.dialysis_duration": function() {
1074
-      console.log(this.addPlan.anticoagulant_shouji);
1075
-      console.log(this.addPlan.dialysis_duration);
1076
-      console.log(this.addPlan.anticoagulant_weichi);
1084
+      // console.log(this.addPlan.anticoagulant_shouji);
1085
+      // console.log(this.addPlan.dialysis_duration);
1086
+      // console.log(this.addPlan.anticoagulant_weichi);
1077
 
1087
 
1078
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1088
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1079
         1,
1089
         1,
1083
       );
1093
       );
1084
     },
1094
     },
1085
     "addPlan.anticoagulant_shouji": function() {
1095
     "addPlan.anticoagulant_shouji": function() {
1086
-      console.log("首剂", this.addPlan.anticoagulant_shouji);
1087
-      console.log("维持", this.addPlan.anticoagulant_weichi);
1088
-      console.log("总量", this.addPlan.dialysis_duration);
1096
+      // console.log("首剂", this.addPlan.anticoagulant_shouji);
1097
+      // console.log("维持", this.addPlan.anticoagulant_weichi);
1098
+      // console.log("总量", this.addPlan.dialysis_duration);
1089
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1099
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1090
         1,
1100
         1,
1091
         this.addPlan.anticoagulant_shouji,
1101
         this.addPlan.anticoagulant_shouji,
1092
         this.addPlan.dialysis_duration,
1102
         this.addPlan.dialysis_duration,
1093
         this.addPlan.anticoagulant_weichi
1103
         this.addPlan.anticoagulant_weichi
1094
       );
1104
       );
1095
-      console.log("总量----", this.addPlan.anticoagulant_zongliang);
1105
+      // console.log("总量----", this.addPlan.anticoagulant_zongliang);
1096
     },
1106
     },
1097
     "addPlan.anticoagulant_weichi": function() {
1107
     "addPlan.anticoagulant_weichi": function() {
1098
-      console.log(this.addPlan.anticoagulant_shouji);
1099
-      console.log(this.addPlan.dialysis_duration);
1100
-      console.log(this.addPlan.anticoagulant_weichi);
1108
+      // console.log(this.addPlan.anticoagulant_shouji);
1109
+      // console.log(this.addPlan.dialysis_duration);
1110
+      // console.log(this.addPlan.anticoagulant_weichi);
1101
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1111
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1102
         1,
1112
         1,
1103
         this.addPlan.anticoagulant_shouji,
1113
         this.addPlan.anticoagulant_shouji,

+ 9 - 1
src/xt_pages/dialysis/batch_print/batch_print_order.vue 查看文件

410
                       </div>
410
                       </div>
411
                       <div class="inline_block">
411
                       <div class="inline_block">
412
                         穿刺方法:
412
                         穿刺方法:
413
-                        <div class="under_line" style="width: 300px;">
413
+                        <!-- <div class="under_line" style="width: 300px;">
414
                           {{
414
                           {{
415
                             record.assessment_before_dislysis
415
                             record.assessment_before_dislysis
416
                               ? record.assessment_before_dislysis
416
                               ? record.assessment_before_dislysis
417
                                   .puncture_method
417
                                   .puncture_method
418
                               : ""
418
                               : ""
419
                           }}
419
                           }}
420
+                        </div> -->
421
+                        <div class="under_line" style="width: 300px;">
422
+                          {{
423
+                            record.assessment_before_dislysis
424
+                              ? record.assessment_before_dislysis
425
+                                  .puncture_way
426
+                              : ""
427
+                          }}
420
                         </div>
428
                         </div>
421
                       </div>
429
                       </div>
422
                     </div>
430
                     </div>

+ 38 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue 查看文件

678
                <tr>
678
                <tr>
679
                 <td style="text-align:left;" colspan="8">
679
                 <td style="text-align:left;" colspan="8">
680
                 <span style="display:inline-block;margin-left:15px;">皮肤:</span>
680
                 <span style="display:inline-block;margin-left:15px;">皮肤:</span>
681
-                 <label-box
681
+                 <!-- <label-box
682
                       showValue="完整"
682
                       showValue="完整"
683
                       :isChecked="record.assessment_before_dislysis.skin == 1 ? true : false"
683
                       :isChecked="record.assessment_before_dislysis.skin == 1 ? true : false"
684
                     ></label-box>
684
                     ></label-box>
714
                     <label-box
714
                     <label-box
715
                       showValue="皮下淤血"
715
                       showValue="皮下淤血"
716
                       :isChecked="record.assessment_before_dislysis.skin == 9 ? true : false"
716
                       :isChecked="record.assessment_before_dislysis.skin == 9 ? true : false"
717
+                    ></label-box> -->
718
+                    <label-box
719
+                      showValue="完整"
720
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('完整') >-1 ? true : false"
721
+                    ></label-box>
722
+                    <label-box
723
+                      showValue="干燥"
724
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('干燥') >-1 ? true : false"
725
+                    ></label-box>
726
+                    <label-box
727
+                      showValue="瘙痒"
728
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('瘙痒') >-1 ? true : false"
729
+                    ></label-box>
730
+                    <label-box
731
+                      showValue="菲薄"
732
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('菲薄') >-1 ? true : false"
733
+                    ></label-box
734
+                    >/
735
+                    <label-box
736
+                      showValue="水肿"
737
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('水肿') >-1 ? true : false"
738
+                    ></label-box>
739
+                    <label-box
740
+                      showValue="皮疹"
741
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('皮疹') >-1 ? true : false"
742
+                    ></label-box>
743
+                    <label-box
744
+                      showValue="出血点"
745
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('出血点') >-1 ? true : false"
746
+                    ></label-box>
747
+                    <label-box
748
+                      showValue="压疮"
749
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('压疮') >-1 ? true : false"
750
+                    ></label-box>
751
+                    <label-box
752
+                      showValue="皮下淤血"
753
+                      :isChecked="record.assessment_before_dislysis.skin.indexOf('皮下淤血') >-1 ? true : false"
717
                     ></label-box>
754
                     ></label-box>
718
                </td>
755
                </td>
719
             </tr>
756
             </tr>

+ 5 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fifteen.vue 查看文件

365
                         <td style="text-align:left;padding-left:5px;border:none;">
365
                         <td style="text-align:left;padding-left:5px;border:none;">
366
                             <span style="width:70px;display: inline-block;"></span>
366
                             <span style="width:70px;display: inline-block;"></span>
367
                             <span style="width:60px;display: inline-block;">穿刺方式:</span>
367
                             <span style="width:60px;display: inline-block;">穿刺方式:</span>
368
-                            <label-box showValue="绳梯" :isChecked="record.assessment_before_dislysis.puncture_way == 1 ? true : false"></label-box>&nbsp;&nbsp;
368
+                            <!-- <label-box showValue="绳梯" :isChecked="record.assessment_before_dislysis.puncture_way == 1 ? true : false"></label-box>&nbsp;&nbsp;
369
                             <label-box showValue="扣眼" :isChecked="record.assessment_before_dislysis.puncture_way == 2 ? true : false"></label-box>&nbsp;&nbsp;
369
                             <label-box showValue="扣眼" :isChecked="record.assessment_before_dislysis.puncture_way == 2 ? true : false"></label-box>&nbsp;&nbsp;
370
-                            <label-box showValue="其他" :isChecked="record.assessment_before_dislysis.puncture_way > 0 ? ((record.assessment_before_dislysis.puncture_way != 1 && record.assessment_before_dislysis.puncture_way != 2) ? true : false) : false"></label-box>&nbsp;&nbsp;
370
+                            <label-box showValue="其他" :isChecked="record.assessment_before_dislysis.puncture_way > 0 ? ((record.assessment_before_dislysis.puncture_way != 1 && record.assessment_before_dislysis.puncture_way != 2) ? true : false) : false"></label-box>&nbsp;&nbsp; -->
371
+                             <label-box showValue="绳梯" :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯')>-1 ? true : false"></label-box>&nbsp;&nbsp;
372
+                            <label-box showValue="扣眼" :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼')>-1? true : false"></label-box>&nbsp;&nbsp;
373
+                            <label-box showValue="其他" :isChecked="record.assessment_before_dislysis.puncture_way.indexOf('其他')>-1? true : false"></label-box>&nbsp;&nbsp;
371
                         </td>
374
                         </td>
372
                     </tr>
375
                     </tr>
373
                 </table>
376
                 </table>

+ 16 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue 查看文件

166
                   <div class="row" style="padding: 2px 0;line-height:19px;">
166
                   <div class="row" style="padding: 2px 0;line-height:19px;">
167
                     <div class="inline_block">
167
                     <div class="inline_block">
168
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;穿刺方式:
168
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;穿刺方式:
169
-                      <check-box text="绳梯" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 1)"></check-box>
169
+                      <!-- <check-box text="绳梯" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 1)"></check-box>
170
                       <check-box text="扣眼" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 2)"></check-box>
170
                       <check-box text="扣眼" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 2)"></check-box>
171
-                      <check-box text="区域" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 3)"></check-box>
171
+                      <check-box text="区域" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'puncture_way', 3)"></check-box> -->
172
+                      <check-box text="绳梯" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'puncture_way', '绳梯')"></check-box>
173
+                      <check-box text="扣眼" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'puncture_way', '扣眼')"></check-box>
174
+                      <check-box text="区域" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'puncture_way', '区域')"></check-box>
172
                     </div>
175
                     </div>
173
                     <div class="inline_block" style="margin-left: 30px;">
176
                     <div class="inline_block" style="margin-left: 30px;">
174
                       感染:
177
                       感染:
229
                   <div class="row" style="padding: 2px 0;line-height:19px;">
232
                   <div class="row" style="padding: 2px 0;line-height:19px;">
230
                     <div class="inline_block">
233
                     <div class="inline_block">
231
                       皮肤:
234
                       皮肤:
232
-                      <check-box text="完整" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 1)"></check-box>
235
+                      <!-- <check-box text="完整" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 1)"></check-box>
233
                       <check-box text="干燥" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 2)"></check-box>
236
                       <check-box text="干燥" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 2)"></check-box>
234
                       <check-box text="瘙痒" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 3)"></check-box>
237
                       <check-box text="瘙痒" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 3)"></check-box>
235
                       <check-box text="菲薄" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 4)"></check-box>/
238
                       <check-box text="菲薄" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 4)"></check-box>/
237
                       <check-box text="皮疹" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 6)"></check-box>
240
                       <check-box text="皮疹" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 6)"></check-box>
238
                       <check-box text="出血点" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 7)"></check-box>
241
                       <check-box text="出血点" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 7)"></check-box>
239
                       <check-box text="压疮" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 8)"></check-box>
242
                       <check-box text="压疮" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 8)"></check-box>
240
-                      <check-box text="皮下淤血" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 9)"></check-box>
243
+                      <check-box text="皮下淤血" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 9)"></check-box> -->
244
+                      <check-box text="完整" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '完整')"></check-box>
245
+                      <check-box text="干燥" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '干燥')"></check-box>
246
+                      <check-box text="瘙痒" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '瘙痒')"></check-box>
247
+                      <check-box text="菲薄" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '菲薄')"></check-box>/
248
+                      <check-box text="水肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '水肿')"></check-box>
249
+                      <check-box text="皮疹" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '皮疹')"></check-box>
250
+                      <check-box text="出血点" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '出血点')"></check-box>
251
+                      <check-box text="压疮" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '压疮')"></check-box>
252
+                      <check-box text="皮下淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'skin', '皮下淤血')"></check-box>
241
                       <div class="inline_block">
253
                       <div class="inline_block">
242
                         其它:
254
                         其它:
243
                         <div class="under_line" style="width: 150px;text-align: left">
255
                         <div class="under_line" style="width: 150px;text-align: left">

+ 73 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue 查看文件

413
                               <div
413
                               <div
414
                                 style="display:flex;justify-content:space-between;"
414
                                 style="display:flex;justify-content:space-between;"
415
                               >
415
                               >
416
+                               <label-box
417
+                                  showValue="完整"
418
+                                  :isChecked="
419
+                                    record.assessment_before_dislysis.skin.indexOf('完整')>-1
420
+                                      ? true
421
+                                      : false
422
+                                  "
423
+                                ></label-box>
424
+                                <label-box
425
+                                  showValue="干燥"
426
+                                  :isChecked="
427
+                                    record.assessment_before_dislysis.skin.indexOf('干燥')>-1
428
+                                      ? true
429
+                                      : false
430
+                                  "
431
+                                ></label-box>
432
+                                <label-box
433
+                                  showValue="瘙痒"
434
+                                  :isChecked="
435
+                                    record.assessment_before_dislysis.skin.indexOf('瘙痒')>-1
436
+                                      ? true
437
+                                      : false
438
+                                  "
439
+                                ></label-box>
440
+                                <label-box
441
+                                  showValue="菲薄"
442
+                                  :isChecked="
443
+                                    record.assessment_before_dislysis.skin.indexOf('菲薄')>-1
444
+                                      ? true
445
+                                      : false
446
+                                  "
447
+                                ></label-box>
448
+                                <label-box
449
+                                  showValue="水肿"
450
+                                  :isChecked="
451
+                                    record.assessment_before_dislysis.skin.indexOf('水肿')>-1
452
+                                      ? true
453
+                                      : false
454
+                                  "
455
+                                ></label-box>
456
+                                <label-box
457
+                                  showValue="皮疹"
458
+                                  :isChecked="
459
+                                    record.assessment_before_dislysis.skin.indexOf('皮疹')>-1
460
+                                      ? true
461
+                                      : false
462
+                                  "
463
+                                ></label-box>
416
                                 <label-box
464
                                 <label-box
465
+                                  showValue="出血点"
466
+                                  :isChecked="
467
+                                    record.assessment_before_dislysis.skin.indexOf('出血点')>-1
468
+                                      ? true
469
+                                      : false
470
+                                  "
471
+                                ></label-box>
472
+                                <label-box
473
+                                  showValue="压疮"
474
+                                  :isChecked="
475
+                                    record.assessment_before_dislysis.skin.indexOf('压疮')>-1
476
+                                      ? true
477
+                                      : false
478
+                                  "
479
+                                ></label-box>
480
+                                <label-box
481
+                                  showValue="皮下淤血"
482
+                                  :isChecked="
483
+                                    record.assessment_before_dislysis.skin.indexOf('皮下淤血')>-1
484
+                                      ? true
485
+                                      : false
486
+                                  "
487
+                                ></label-box>
488
+                                <!-- <label-box
417
                                   showValue="完整"
489
                                   showValue="完整"
418
                                   :isChecked="
490
                                   :isChecked="
419
                                     record.assessment_before_dislysis.skin == 1
491
                                     record.assessment_before_dislysis.skin == 1
484
                                       ? true
556
                                       ? true
485
                                       : false
557
                                       : false
486
                                   "
558
                                   "
487
-                                ></label-box>
559
+                                ></label-box> -->
488
                                 &ensp;
560
                                 &ensp;
489
                               </div>
561
                               </div>
490
                             </td>
562
                             </td>

+ 17 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue 查看文件

397
                           "
397
                           "
398
                         ></check-box
398
                         ></check-box
399
                         >&emsp;穿刺方式:
399
                         >&emsp;穿刺方式:
400
-                        <check-box
400
+                          <check_box
401
+                           text="绳梯"
402
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯')>-1?true:false"
403
+                          >
404
+                          </check_box>
405
+                           <check_box
406
+                           text="扣眼"
407
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼')>-1?true:false"
408
+                          >
409
+                          </check_box>
410
+                           <check_box
411
+                           text="区域"
412
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('区域')>-1?true:false"
413
+                          >
414
+                          </check_box>
415
+                        <!-- <check-box
401
                           text="绳梯"
416
                           text="绳梯"
402
                           :checked="
417
                           :checked="
403
                             isCheckBoxChecked(
418
                             isCheckBoxChecked(
426
                               3
441
                               3
427
                             )
442
                             )
428
                           "
443
                           "
429
-                        ></check-box>
444
+                        ></check-box> -->
430
                       </div>
445
                       </div>
431
                     </div>
446
                     </div>
432
                     <div class="row" style="padding: 2px 0;line-height:19px;">
447
                     <div class="row" style="padding: 2px 0;line-height:19px;">

+ 18 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue 查看文件

394
                             )
394
                             )
395
                           "
395
                           "
396
                         ></check-box>
396
                         ></check-box>
397
+
397
                         &emsp;穿刺方式:
398
                         &emsp;穿刺方式:
398
                         <check-box
399
                         <check-box
400
+                           text="绳梯"
401
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('绳梯')>-1?true:false"
402
+                          >
403
+                          </check-box>
404
+                           <check-box
405
+                           text="扣眼"
406
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('扣眼')>-1?true:false"
407
+                          >
408
+                          </check-box>
409
+                           <check-box
410
+                           text="区域"
411
+                            :checked="record.assessment_before_dislysis.puncture_way.indexOf('区域')>-1?true:false"
412
+                          >
413
+                          </check-box>
414
+                        
415
+                        <!-- <check-box
399
                           text="绳梯"
416
                           text="绳梯"
400
                           :checked="
417
                           :checked="
401
                             isCheckBoxChecked(
418
                             isCheckBoxChecked(
424
                               3
441
                               3
425
                             )
442
                             )
426
                           "
443
                           "
427
-                        ></check-box>
444
+                        ></check-box> -->
428
                       </div>
445
                       </div>
429
                     </div>
446
                     </div>
430
                     <div class="row" style="padding: 2px 0;line-height:19px;">
447
                     <div class="row" style="padding: 2px 0;line-height:19px;">

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue 查看文件

767
                   <td>
767
                   <td>
768
                    <span v-if="getTime(monitor.operate_time)!=''">{{
768
                    <span v-if="getTime(monitor.operate_time)!=''">{{
769
                     monitor.systolic_blood_pressure
769
                     monitor.systolic_blood_pressure
770
-                    ? monitor.systolic_blood_pressure 
770
+                    ? monitor.systolic_blood_pressure
771
                     : '0'
771
                     : '0'
772
                     }}/{{
772
                     }}/{{
773
                     monitor.diastolic_blood_pressure
773
                     monitor.diastolic_blood_pressure
774
                     ? monitor.diastolic_blood_pressure
774
                     ? monitor.diastolic_blood_pressure
775
                     : '0'
775
                     : '0'
776
                     }}
776
                     }}
777
-                    </span> 
777
+                    </span>
778
                   </td>
778
                   </td>
779
                   <td>
779
                   <td>
780
                    <span v-if="getTime(monitor.operate_time)!=''">
780
                    <span v-if="getTime(monitor.operate_time)!=''">
795
                     <span v-if="getTime(monitor.operate_time)!=''">{{
795
                     <span v-if="getTime(monitor.operate_time)!=''">{{
796
                        monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0'
796
                        monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '0'
797
                      }}
797
                      }}
798
-                    </span> 
798
+                    </span>
799
                   </td>
799
                   </td>
800
                   <td>
800
                   <td>
801
                     <span v-if="getTime(monitor.operate_time)!=''">
801
                     <span v-if="getTime(monitor.operate_time)!=''">
1009
                           核对护士:
1009
                           核对护士:
1010
                          <span class="under-line">&nbsp;
1010
                          <span class="under-line">&nbsp;
1011
                            <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')?getAdminUser(record.check, 'modifier'):"/"}}</span>
1011
                            <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')?getAdminUser(record.check, 'modifier'):"/"}}</span>
1012
-                            <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px"> 
1012
+                            <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px">
1013
                          </span>
1013
                          </span>
1014
                       </td>
1014
                       </td>
1015
                     </tr>
1015
                     </tr>
1301
 
1301
 
1302
             this.records = this.records.concat(resp.data.schedules)
1302
             this.records = this.records.concat(resp.data.schedules)
1303
 
1303
 
1304
-            console.log('记录', this.records)
1304
+              console.log('记录', this.records)
1305
 
1305
 
1306
             for (const recordIndex in this.records) {
1306
             for (const recordIndex in this.records) {
1307
               var dlegh = 0
1307
               var dlegh = 0

+ 39 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

336
                           v-if="record.assessment_before_dislysis"
336
                           v-if="record.assessment_before_dislysis"
337
                           style="display: inline-block;"
337
                           style="display: inline-block;"
338
                         >
338
                         >
339
-                          <div
339
+                          <!-- <div
340
                             class="under_line"
340
                             class="under_line"
341
                             style="width: 100px;text-align: center"
341
                             style="width: 100px;text-align: center"
342
                             v-if="
342
                             v-if="
373
                             "
373
                             "
374
                           >
374
                           >
375
                             区域
375
                             区域
376
+                          </div> -->
377
+
378
+                          <div
379
+                            class="under_line"
380
+                            style="width: 100px;text-align: center"
381
+                            v-if="
382
+                              record.assessment_before_dislysis.puncture_way == ''
383
+                                
384
+                            "
385
+                          ></div>
386
+                          <div
387
+                            class="under_line"
388
+                            style="width: 100px;text-align: center"
389
+                            v-if="
390
+                              record.assessment_before_dislysis.puncture_way.indexOf('绳梯')>-1
391
+                            "
392
+                          >
393
+                            绳梯
394
+                          </div>
395
+                          <div
396
+                            class="under_line"
397
+                            style="width: 100px;text-align: center"
398
+                            v-if="
399
+                              record.assessment_before_dislysis.puncture_way.indexOf('扣眼')>-1
400
+                               
401
+                            "
402
+                          >
403
+                            扣眼
404
+                          </div>
405
+                          <div
406
+                            class="under_line"
407
+                            style="width: 100px;text-align: center"
408
+                            v-if="
409
+                              record.assessment_before_dislysis.puncture_way.indexOf('区域')>-1
410
+                                
411
+                            "
412
+                          >
413
+                            区域
376
                           </div>
414
                           </div>
377
                         </div>
415
                         </div>
378
                       </div>
416
                       </div>

+ 47 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_twenty.vue 查看文件

182
                                 <td width="">
182
                                 <td width="">
183
                                 <div class="under-line">
183
                                 <div class="under-line">
184
                                     &nbsp;
184
                                     &nbsp;
185
-                                    <span v-if="record.assessment_before_dislysis.is_hemorrhage == 1">{{ record.assessment_before_dislysis.hemorrhage && ['穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(record.assessment_before_dislysis.hemorrhage) == -1 ? record.assessment_before_dislysis.hemorrhage : '' }}</span>
185
+                                    <span v-if="record.assessment_before_dislysis.is_hemorrhage == 1">{{ record.assessment_before_dislysis.hemorrhage_other ? record.assessment_before_dislysis.hemorrhage_other : '' }}</span>
186
                                 </div>
186
                                 </div>
187
                                 </td>
187
                                 </td>
188
                             </tr>
188
                             </tr>
218
                                 <td width="65">穿刺方法:</td>
218
                                 <td width="65">穿刺方法:</td>
219
                                 <td width="120">
219
                                 <td width="120">
220
                                 <div>
220
                                 <div>
221
-                                    <label-box :isChecked="record.assessment_before_dislysis.puncture_way && getPunctureWay(record.assessment_before_dislysis.puncture_way).indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
221
+                                    <!-- <label-box :isChecked="record.assessment_before_dislysis.puncture_way && getPunctureWay(record.assessment_before_dislysis.puncture_way).indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
222
                                     &nbsp;
222
                                     &nbsp;
223
                                     <label-box :isChecked="record.assessment_before_dislysis.puncture_way && getPunctureWay(record.assessment_before_dislysis.puncture_way).indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
223
                                     <label-box :isChecked="record.assessment_before_dislysis.puncture_way && getPunctureWay(record.assessment_before_dislysis.puncture_way).indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
224
+                                    &nbsp; -->
225
+                                   <label-box :isChecked="record.assessment_before_dislysis.puncture_way && record.assessment_before_dislysis.puncture_way.indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
226
+                                    &nbsp;
227
+                                    <label-box :isChecked="record.assessment_before_dislysis.puncture_way && record.assessment_before_dislysis.puncture_way.indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
224
                                     &nbsp;
228
                                     &nbsp;
225
                                 </div>
229
                                 </div>
226
                                 </td>
230
                                 </td>
805
                                 </td>
809
                                 </td>
806
                                 <td width="20">Kg</td>
810
                                 <td width="20">Kg</td>
807
                                 <td></td>
811
                                 <td></td>
808
-                                <td width="95">透析器凝血:</td>
812
+                                <td width="95">透析器堵塞:</td>
809
                                 <td width="200">
813
                                 <td width="200">
810
                                 <label-box :isChecked="record.assessment_after_dislysis.cruor ? (record.assessment_after_dislysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
814
                                 <label-box :isChecked="record.assessment_after_dislysis.cruor ? (record.assessment_after_dislysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
811
                                 <label-box :isChecked="record.assessment_after_dislysis.cruor ? (record.assessment_after_dislysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
815
                                 <label-box :isChecked="record.assessment_after_dislysis.cruor ? (record.assessment_after_dislysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
885
                                 <td width='40'>其他</td>
889
                                 <td width='40'>其他</td>
886
                                 <td width='160'>
890
                                 <td width='160'>
887
                                 <div class="under-line">
891
                                 <div class="under-line">
888
-                                    &nbsp;{{ ['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(record.assessment_after_dislysis.complication) == -1 ? record.assessment_after_dislysis.complication : '' }}
892
+                                    &nbsp;{{ record.assessment_after_dislysis.complication ? getComplication(record.assessment_after_dislysis.complication) : '' }}
889
                                 </div>
893
                                 </div>
890
                                 </td>
894
                                 </td>
891
                                 <td></td>
895
                                 <td></td>
933
                                     <span v-if="record.assessment_after_dislysis.patient_gose == 3">{{ record.assessment_after_dislysis.inpatient_department }}</span>
937
                                     <span v-if="record.assessment_after_dislysis.patient_gose == 3">{{ record.assessment_after_dislysis.inpatient_department }}</span>
934
                                 </div>
938
                                 </div>
935
                                 </td>
939
                                 </td>
936
-                                <td width="70">下机护士:</td>
940
+                                <td width="70">护士签名:</td>
937
                                 <td width="100">
941
                                 <td width="100">
938
                                 <div class="under-line">&nbsp;
942
                                 <div class="under-line">&nbsp;
939
                                     <span v-if="setAdminUserES(record.dialysis_order, 'finish_nurse') == ''">
943
                                     <span v-if="setAdminUserES(record.dialysis_order, 'finish_nurse') == ''">
1277
       })
1281
       })
1278
   },
1282
   },
1279
   methods: {
1283
   methods: {
1284
+    getComplication(complication){
1285
+      if(complication.indexOf(',') == -1){
1286
+        let str = complication
1287
+        if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
1288
+          return str
1289
+        }
1290
+      }else if(complication.indexOf(',') > -1){
1291
+        let str = complication
1292
+        if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
1293
+          let newStr = ''
1294
+          str.split(',').map(item => {
1295
+            if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(item) == -1){
1296
+              newStr += item + ','
1297
+            }
1298
+          })
1299
+          return newStr.substring(0, newStr.length - 1)
1300
+        }
1301
+      }
1302
+    },
1303
+    getHemorrhage(hemorrhage){
1304
+      if(hemorrhage.indexOf(',') == -1){
1305
+        let str = hemorrhage
1306
+        if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(str) == -1){
1307
+          return str
1308
+        }
1309
+      }else if(hemorrhage.indexOf(',') > -1){
1310
+        let str = hemorrhage
1311
+        if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(str) == -1){
1312
+          let newStr = ''
1313
+          str.split(',').map(item => {
1314
+            if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(item) == -1){
1315
+              newStr += item + ','
1316
+            }
1317
+          })
1318
+          return newStr.substring(0, newStr.length - 1)
1319
+        }
1320
+      }
1321
+    },
1280
     dialysateFormulationName(id) {
1322
     dialysateFormulationName(id) {
1281
       if (id in this.dialysateFormulationOptions) {
1323
       if (id in this.dialysateFormulationOptions) {
1282
         return this.dialysateFormulationOptions[id].name
1324
         return this.dialysateFormulationOptions[id].name

+ 4 - 2
src/xt_pages/dialysis/details/assessmentBefore.vue 查看文件

136
         </li>
136
         </li>
137
         <li v-if="isShow('穿刺方式')">
137
         <li v-if="isShow('穿刺方式')">
138
           <label>穿刺方式 : </label>
138
           <label>穿刺方式 : </label>
139
-          <span class="content">{{ getWay(this.record.puncture_way) }}</span>
139
+          <!-- <span class="content">{{ getWay(this.record.puncture_way) }}</span> -->
140
+           <span class="content">{{record.puncture_way}}</span>
140
         </li>
141
         </li>
141
         <li v-if="isShow('其他位置')">
142
         <li v-if="isShow('其他位置')">
142
           <label>其他位置</label>
143
           <label>其他位置</label>
261
 
262
 
262
         <li v-if="isShow('皮肤')">
263
         <li v-if="isShow('皮肤')">
263
           <label>皮肤:</label>
264
           <label>皮肤:</label>
264
-          <span class="content">{{ getSkin(this.record.skin) }}</span>
265
+          <!-- <span class="content">{{ getSkin(this.record.skin) }}</span> -->
266
+          <span class="content">{{this.record.skin}}</span>
265
           <span class="unit"></span>
267
           <span class="unit"></span>
266
         </li>
268
         </li>
267
 
269
 

+ 89 - 16
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

227
                 <el-option label="有" value="1"></el-option>
227
                 <el-option label="有" value="1"></el-option>
228
                 <el-option label="无" value="2"></el-option>
228
                 <el-option label="无" value="2"></el-option>
229
               </el-select>
229
               </el-select>
230
+
231
+              <!-- <el-select v-model="assessmentBeforeDislysis.catheter_bend" placeholder="请选择">
232
+                <el-option
233
+                  v-for="item in catheters"
234
+                  :key="item.value"
235
+                  :label="item.label"
236
+                  :value="item.value">
237
+                </el-option>
238
+              </el-select> -->
230
             </el-form-item>
239
             </el-form-item>
231
           </el-col>
240
           </el-col>
232
 
241
 
247
 
256
 
248
           <el-col :span="8">
257
           <el-col :span="8">
249
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
258
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
250
-              <el-select v-model="assessmentBeforeDislysis.puncture_way">
259
+              <!-- <el-select v-model="assessmentBeforeDislysis.puncture_way">
251
                 <el-option :key="0" label="请选择" :value="0"></el-option>
260
                 <el-option :key="0" label="请选择" :value="0"></el-option>
252
 
261
 
253
                 <el-option v-for="item in this.puncture_ways" :label="item.name" :value="item.id"
262
                 <el-option v-for="item in this.puncture_ways" :label="item.name" :value="item.id"
254
                            :key="item.id"></el-option>
263
                            :key="item.id"></el-option>
255
-              </el-select>
264
+              </el-select> -->
265
+              <el-input v-model="assessmentBeforeDislysis.puncture_way" readonly
266
+                      @focus="showInnerDialog('13')">
267
+              </el-input>
256
             </el-form-item>
268
             </el-form-item>
257
           </el-col>
269
           </el-col>
258
 
270
 
261
             <el-form-item label="出血: " v-if="isShow('出血')">
273
             <el-form-item label="出血: " v-if="isShow('出血')">
262
               <el-select v-model="assessmentBeforeDislysis.is_hemorrhage">
274
               <el-select v-model="assessmentBeforeDislysis.is_hemorrhage">
263
                 <el-option :key="0" label="请选择" :value="0"></el-option>
275
                 <el-option :key="0" label="请选择" :value="0"></el-option>
264
-
265
                 <el-option label="是" value="1"></el-option>
276
                 <el-option label="是" value="1"></el-option>
266
                 <el-option label="否" value="2"></el-option>
277
                 <el-option label="否" value="2"></el-option>
267
               </el-select>
278
               </el-select>
279
+
280
+             <!-- <el-select v-model="assessmentBeforeDislysis.is_hemorrhage" placeholder="请选择">
281
+                <el-option
282
+                  v-for="item in hemorrhages"
283
+                  :key="item.value"
284
+                  :label="item.label"
285
+                  :value="item.value">
286
+                </el-option>
287
+              </el-select> -->
268
             </el-form-item>
288
             </el-form-item>
269
           </el-col>
289
           </el-col>
270
 
290
 
279
 
299
 
280
           <el-col :span="8" v-if="isShow('皮肤')">
300
           <el-col :span="8" v-if="isShow('皮肤')">
281
             <el-form-item label="皮肤: ">
301
             <el-form-item label="皮肤: ">
282
-              <el-select v-model="assessmentBeforeDislysis.skin">
302
+              <!-- <el-select v-model="assessmentBeforeDislysis.skin">
283
                 <el-option :key="0" label="请选择" :value="0"></el-option>
303
                 <el-option :key="0" label="请选择" :value="0"></el-option>
284
 
304
 
285
                 <el-option v-for="item in this.$store.getters.skin" :label="item.name" :value="item.id"
305
                 <el-option v-for="item in this.$store.getters.skin" :label="item.name" :value="item.id"
286
                            :key="item.id"></el-option>
306
                            :key="item.id"></el-option>
287
-              </el-select>
307
+              </el-select> -->
308
+             
309
+              <el-input v-model="assessmentBeforeDislysis.skin" readonly
310
+                      @focus="showInnerDialog('12')">
311
+              </el-input>
288
             </el-form-item>
312
             </el-form-item>
289
           </el-col>
313
           </el-col>
290
 
314
 
520
     name: 'assessment-after-dislysis-dialog',
544
     name: 'assessment-after-dislysis-dialog',
521
     data() {
545
     data() {
522
       return {
546
       return {
547
+        hemorrhages:[
548
+          {value:0,label:'请选择'},
549
+          {value:1,label: '是'},
550
+          {value:2,label: '否'},
551
+        ],
552
+        catheters:[
553
+          {value:0,label:'请选择'},
554
+          {value:1,label:'有'},
555
+          {value:2,label:'无'}
556
+          ],
523
         showTxt: '',
557
         showTxt: '',
524
         hasPermission: true,
558
         hasPermission: true,
525
         weight_adjust: {
559
         weight_adjust: {
605
           type: '' // 不同弹框类型,用来匹配数据
639
           type: '' // 不同弹框类型,用来匹配数据
606
         },
640
         },
607
         machineType: [],
641
         machineType: [],
608
-        puncture_ways: ''
642
+        puncture_ways: '',
643
+        skins:[]
609
 
644
 
610
       }
645
       }
611
     },
646
     },
646
         return false
681
         return false
647
       },
682
       },
648
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
683
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
649
-        console.log(last_predialysis_evaluation)
650
-
651
         this.lastPredialysisEvaluation = last_predialysis_evaluation
684
         this.lastPredialysisEvaluation = last_predialysis_evaluation
685
+        if(this.lastPredialysisEvaluation.is_hemorrhage == 1){
686
+           this.lastPredialysisEvaluation.is_hemorrhage = "1"
687
+        }
688
+        if(this.lastPredialysisEvaluation.is_hemorrhage == 2){
689
+          this.lastPredialysisEvaluation.is_hemorrhage = "2"
690
+        }
691
+        if(this.lastPredialysisEvaluation.catheter_bend == 1){
692
+          this.lastPredialysisEvaluation.catheter_bend = "1"
693
+        }
694
+        if(this.lastPredialysisEvaluation.catheter_bend == 2){
695
+            this.lastPredialysisEvaluation.catheter_bend = "2"
696
+        }
697
+         console.log("22222222",this.lastPredialysisEvaluation)
698
+        // console.log("乐行",typeof(this.lastPredialysisEvaluation.is_hemorrhage))
652
         this.assessment = assessment
699
         this.assessment = assessment
653
         this.getPermission()
700
         this.getPermission()
654
         this.isVisibility = true
701
         this.isVisibility = true
806
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_needle
853
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_needle
807
             this.InnerDialogProps.isShowTextArea = false
854
             this.InnerDialogProps.isShowTextArea = false
808
 
855
 
856
+            break
857
+            case '12': // 皮肤
858
+            this.InnerDialogProps.values = this.skins
859
+            this.InnerDialogProps.titles = '皮肤'
860
+            this.InnerDialogProps.type = 'skin'
861
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.skin
862
+            this.InnerDialogProps.isShowTextArea = false
863
+
864
+            break
865
+            case '13': // 穿刺方式
866
+            this.InnerDialogProps.values =  this.puncture_ways
867
+            this.InnerDialogProps.titles = '穿刺方式'
868
+            this.InnerDialogProps.type = 'puncture_way'
869
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_way
870
+            this.InnerDialogProps.isShowTextArea = false
871
+
809
             break
872
             break
810
         }
873
         }
811
       },
874
       },
849
           case 'puncture_needle':
912
           case 'puncture_needle':
850
             this.assessmentBeforeDislysis.puncture_needle = val.value.join(',')
913
             this.assessmentBeforeDislysis.puncture_needle = val.value.join(',')
851
             break
914
             break
915
+          case 'skin':
916
+            this.assessmentBeforeDislysis.skin = val.value.join(',')
917
+            break
918
+          case 'puncture_way':
919
+            this.assessmentBeforeDislysis.puncture_way = val.value.join(',')
920
+            break
852
         }
921
         }
853
       },
922
       },
854
       innerDialogCancle: function() {
923
       innerDialogCancle: function() {
855
         this.InnerDialogProps.visibility = false
924
         this.InnerDialogProps.visibility = false
856
       }, handleComfirm: function() {
925
       }, handleComfirm: function() {
926
+        
857
         var arr = this.assessmentBeforeDislysis
927
         var arr = this.assessmentBeforeDislysis
928
+        console.log("arr是多少----------",arr)
858
         for (let i = 0; i < this.machineType.length; i++) {
929
         for (let i = 0; i < this.machineType.length; i++) {
859
           if (arr.machine_type == this.machineType[i].id) {
930
           if (arr.machine_type == this.machineType[i].id) {
860
             arr.machine_type = this.machineType[i].name
931
             arr.machine_type = this.machineType[i].name
861
           }
932
           }
862
         }
933
         }
863
-        console.log('arr', arr)
934
+        // console.log('arr', arr)
864
         const ParamsQuery = arr
935
         const ParamsQuery = arr
865
-        console.log('paramsquery', ParamsQuery)
936
+        // console.log('paramsquery', ParamsQuery)
866
         ParamsQuery['patient'] = this.patient.id
937
         ParamsQuery['patient'] = this.patient.id
867
         ParamsQuery['record_date'] = this.record_date
938
         ParamsQuery['record_date'] = this.record_date
868
         ParamsQuery['mode'] = '1'
939
         ParamsQuery['mode'] = '1'
869
 
940
 
870
-        console.log(this.predialysis_evaluation)
941
+        // console.log(this.predialysis_evaluation)
871
 
942
 
872
         if (this.predialysis_evaluation.id == 0) {
943
         if (this.predialysis_evaluation.id == 0) {
873
           ParamsQuery['mode'] = '1'
944
           ParamsQuery['mode'] = '1'
895
             })
966
             })
896
 
967
 
897
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
968
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
898
-            console.log("返回数据",assessment_before_dislysis_resp)
969
+            // console.log("返回数据",assessment_before_dislysis_resp)
899
             // prop
970
             // prop
900
             var predialysis_evaluation = this.predialysis_evaluation
971
             var predialysis_evaluation = this.predialysis_evaluation
901
             for (var index in assessment_before_dislysis_resp) {
972
             for (var index in assessment_before_dislysis_resp) {
946
             module: 3
1017
             module: 3
947
           }
1018
           }
948
         }).then(res => {
1019
         }).then(res => {
949
-          console.log(res)
950
-          console.log('透前', this.patient_prop)
951
-          console.log('透前', this.assessment)
1020
+          // console.log(res)
1021
+          // console.log('透前', this.patient_prop)
1022
+           console.log('透前', this.assessment)
952
           if (res.data.state == 0) {
1023
           if (res.data.state == 0) {
953
             this.hasPermission = false
1024
             this.hasPermission = false
954
           } else if (res.data.state == 1) {
1025
           } else if (res.data.state == 1) {
993
       this.blood_access_noise = this.$store.getters.blood_access_noise
1064
       this.blood_access_noise = this.$store.getters.blood_access_noise
994
       var date = this.$route.query && this.$route.query.date
1065
       var date = this.$route.query && this.$route.query.date
995
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
1066
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
996
-
1067
+      //获取皮肤
1068
+      this.skins = getDataConfig('hemodialysis','skin')
1069
+      console.log("皮肤",this.skins)
997
       // this.weight_adjust.weight = this.dry_weight.dry_weight
1070
       // this.weight_adjust.weight = this.dry_weight.dry_weight
998
 
1071
 
999
       // if(this.predialysis_evaluation.id == 0){
1072
       // if(this.predialysis_evaluation.id == 0){

+ 47 - 49
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

1300
           'vascular_access_desc'
1300
           'vascular_access_desc'
1301
         )
1301
         )
1302
 
1302
 
1303
-        console.log('血管通路', this.blood_access_option)
1303
+        // console.log('血管通路', this.blood_access_option)
1304
         this.dialyzerPerfusionApparatus = getDataConfig(
1304
         this.dialyzerPerfusionApparatus = getDataConfig(
1305
           'hemodialysis',
1305
           'hemodialysis',
1306
           'dialyzer_perfusion_apparatus'
1306
           'dialyzer_perfusion_apparatus'
1307
         )
1307
         )
1308
-        console.log('灌流器', this.dialyzerPerfusionApparatus)
1308
+       console.log('灌流器', this.dialyzerPerfusionApparatus)
1309
 
1309
 
1310
         if (this.$route.query && this.$route.query.date) {
1310
         if (this.$route.query && this.$route.query.date) {
1311
           var date = this.$route.query && this.$route.query.date
1311
           var date = this.$route.query && this.$route.query.date
1354
             }
1354
             }
1355
           }
1355
           }
1356
         } else {
1356
         } else {
1357
-          console.log('排班----------', schedual.mode_id)
1358
           if (
1357
           if (
1359
             schedual.mode_id == 2 ||
1358
             schedual.mode_id == 2 ||
1360
             schedual.mode_id == 5 ||
1359
             schedual.mode_id == 5 ||
1361
             schedual.mode_id == 12
1360
             schedual.mode_id == 12
1362
           ) {
1361
           ) {
1363
-            console.log('进来----')
1364
             this.zhiShow = true
1362
             this.zhiShow = true
1365
             this.huShow = true
1363
             this.huShow = true
1366
             this.totalShow = true
1364
             this.totalShow = true
1422
             }
1420
             }
1423
 
1421
 
1424
             var arr = this.dialysisPrescription
1422
             var arr = this.dialysisPrescription
1425
-            console.log('arr', arr)
1423
+            // console.log('arr', arr)
1426
 
1424
 
1427
 
1425
 
1428
             const ParamsQuery = arr
1426
             const ParamsQuery = arr
1429
-            console.log('医嘱推送2', ParamsQuery)
1427
+            // console.log('医嘱推送2', ParamsQuery)
1430
 
1428
 
1431
             ParamsQuery['patient'] = this.patient.id
1429
             ParamsQuery['patient'] = this.patient.id
1432
             ParamsQuery['record_date'] = this.record_date
1430
             ParamsQuery['record_date'] = this.record_date
1501
               return
1499
               return
1502
             }
1500
             }
1503
             var arr = this.dialysisPrescription
1501
             var arr = this.dialysisPrescription
1504
-            console.log('arr', arr)
1502
+            // console.log('arr', arr)
1505
 
1503
 
1506
 
1504
 
1507
             const ParamsQuery = arr
1505
             const ParamsQuery = arr
1508
-            console.log('医嘱推送3', ParamsQuery)
1506
+            // console.log('医嘱推送3', ParamsQuery)
1509
 
1507
 
1510
             ParamsQuery['patient'] = this.patient.id
1508
             ParamsQuery['patient'] = this.patient.id
1511
             ParamsQuery['record_date'] = this.record_date
1509
             ParamsQuery['record_date'] = this.record_date
1521
                   type: 'success',
1519
                   type: 'success',
1522
                   duration: 2000
1520
                   duration: 2000
1523
                 })
1521
                 })
1524
-                console.log(hour + ':' + minute)
1522
+                // console.log(hour + ':' + minute)
1525
                 var date = new Date()
1523
                 var date = new Date()
1526
 
1524
 
1527
                 var hour =
1525
                 var hour =
1584
 
1582
 
1585
 
1583
 
1586
             const ParamsQuery = arr
1584
             const ParamsQuery = arr
1587
-            console.log('医嘱推送4', ParamsQuery)
1585
+            // console.log('医嘱推送4', ParamsQuery)
1588
 
1586
 
1589
             ParamsQuery['patient'] = this.patient.id
1587
             ParamsQuery['patient'] = this.patient.id
1590
             ParamsQuery['record_date'] = this.record_date
1588
             ParamsQuery['record_date'] = this.record_date
1591
-            console.log(this.prescription)
1589
+            // console.log(this.prescription)
1592
             let mode = ''
1590
             let mode = ''
1593
             if (this.prescription.creater <= 0) {
1591
             if (this.prescription.creater <= 0) {
1594
               mode = 1
1592
               mode = 1
1754
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
1752
           this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
1755
             2
1753
             2
1756
           )
1754
           )
1757
-          console.log('体重增加', this.add_weight)
1755
+          // console.log('体重增加', this.add_weight)
1758
         }
1756
         }
1759
 
1757
 
1760
         this.isVisibility = true
1758
         this.isVisibility = true
1820
             var arr = this.dialysisPrescription
1818
             var arr = this.dialysisPrescription
1821
 
1819
 
1822
             const ParamsQuery = arr
1820
             const ParamsQuery = arr
1823
-            console.log('night', ParamsQuery)
1821
+            // console.log('night', ParamsQuery)
1824
             ParamsQuery['patient'] = this.patient.id
1822
             ParamsQuery['patient'] = this.patient.id
1825
             ParamsQuery['record_date'] = this.record_date
1823
             ParamsQuery['record_date'] = this.record_date
1826
             ParamsQuery['mode'] = '1'
1824
             ParamsQuery['mode'] = '1'
1862
 
1860
 
1863
 
1861
 
1864
               const ParamsQuery = arr
1862
               const ParamsQuery = arr
1865
-              console.log('ParamsQuerytwo', ParamsQuery)
1863
+              // console.log('ParamsQuerytwo', ParamsQuery)
1866
               ParamsQuery['patient'] = this.patient.id
1864
               ParamsQuery['patient'] = this.patient.id
1867
               ParamsQuery['record_date'] = this.record_date
1865
               ParamsQuery['record_date'] = this.record_date
1868
               ParamsQuery['mode'] = '1'
1866
               ParamsQuery['mode'] = '1'
1909
               var arr = this.dialysisPrescription
1907
               var arr = this.dialysisPrescription
1910
 
1908
 
1911
               const ParamsQuery = arr
1909
               const ParamsQuery = arr
1912
-              console.log('paramsquerythree', ParamsQuery)
1910
+              // console.log('paramsquerythree', ParamsQuery)
1913
               ParamsQuery['patient'] = this.patient.id
1911
               ParamsQuery['patient'] = this.patient.id
1914
               ParamsQuery['record_date'] = this.record_date
1912
               ParamsQuery['record_date'] = this.record_date
1915
               ParamsQuery['mode'] = '1'
1913
               ParamsQuery['mode'] = '1'
1973
               var arr = this.dialysisPrescription
1971
               var arr = this.dialysisPrescription
1974
 
1972
 
1975
               const ParamsQuery = arr
1973
               const ParamsQuery = arr
1976
-              console.log('paramsqueryfour', ParamsQuery)
1977
-              console.log('创建者', this.prescription.creater)
1974
+              // console.log('paramsqueryfour', ParamsQuery)
1975
+              // console.log('创建者', this.prescription.creater)
1978
               // if (this.prescription.creater <= 0) {
1976
               // if (this.prescription.creater <= 0) {
1979
               //  mode = 1;
1977
               //  mode = 1;
1980
               // } else {
1978
               // } else {
2018
               }
2016
               }
2019
 
2017
 
2020
               var arr = this.dialysisPrescription
2018
               var arr = this.dialysisPrescription
2021
-              console.log('arr', arr)
2019
+              // console.log('arr', arr)
2022
 
2020
 
2023
 
2021
 
2024
               const ParamsQuery = arr
2022
               const ParamsQuery = arr
2025
-              console.log('paramsqueryfive', ParamsQuery)
2023
+              // console.log('paramsqueryfive', ParamsQuery)
2026
               ParamsQuery['patient'] = this.patient.id
2024
               ParamsQuery['patient'] = this.patient.id
2027
               ParamsQuery['record_date'] = this.record_date
2025
               ParamsQuery['record_date'] = this.record_date
2028
               ParamsQuery['mode'] = '1'
2026
               ParamsQuery['mode'] = '1'
2061
                 }
2059
                 }
2062
 
2060
 
2063
                 var arr = this.dialysisPrescription
2061
                 var arr = this.dialysisPrescription
2064
-                console.log('arr', arr)
2062
+                // console.log('arr', arr)
2065
 
2063
 
2066
 
2064
 
2067
                 const ParamsQuery = arr
2065
                 const ParamsQuery = arr
2068
-                console.log('ParamsQuerysix', ParamsQuery)
2066
+                // console.log('ParamsQuerysix', ParamsQuery)
2069
                 ParamsQuery['patient'] = this.patient.id
2067
                 ParamsQuery['patient'] = this.patient.id
2070
                 ParamsQuery['record_date'] = this.record_date
2068
                 ParamsQuery['record_date'] = this.record_date
2071
                 ParamsQuery['mode'] = '1'
2069
                 ParamsQuery['mode'] = '1'
2110
                 }
2108
                 }
2111
 
2109
 
2112
                 var arr = this.dialysisPrescription
2110
                 var arr = this.dialysisPrescription
2113
-                console.log('arr', arr)
2111
+                // console.log('arr', arr)
2114
 
2112
 
2115
 
2113
 
2116
                 const ParamsQuery = arr
2114
                 const ParamsQuery = arr
2117
-                console.log('parasmqueryseven', parasmqueryseven)
2115
+                // console.log('parasmqueryseven', parasmqueryseven)
2118
                 ParamsQuery['patient'] = this.patient.id
2116
                 ParamsQuery['patient'] = this.patient.id
2119
                 ParamsQuery['record_date'] = this.record_date
2117
                 ParamsQuery['record_date'] = this.record_date
2120
                 ParamsQuery['mode'] = '1'
2118
                 ParamsQuery['mode'] = '1'
2180
                 }
2178
                 }
2181
 
2179
 
2182
                 var arr = this.dialysisPrescription
2180
                 var arr = this.dialysisPrescription
2183
-                console.log('arr', arr)
2181
+                // console.log('arr', arr)
2184
 
2182
 
2185
                 const ParamsQuery = arr
2183
                 const ParamsQuery = arr
2186
-                console.log('eight', ParamsQuery)
2184
+                // console.log('eight', ParamsQuery)
2187
                 ParamsQuery['patient'] = this.patient.id
2185
                 ParamsQuery['patient'] = this.patient.id
2188
                 ParamsQuery['record_date'] = this.record_date
2186
                 ParamsQuery['record_date'] = this.record_date
2189
                 ParamsQuery['mode'] = '1'
2187
                 ParamsQuery['mode'] = '1'
2219
             }
2217
             }
2220
 
2218
 
2221
             var arr = this.dialysisPrescription
2219
             var arr = this.dialysisPrescription
2222
-            console.log('arr', arr)
2220
+            // console.log('arr', arr)
2223
 
2221
 
2224
 
2222
 
2225
             const ParamsQuery = arr
2223
             const ParamsQuery = arr
2226
-            console.log('night', ParamsQuery)
2224
+            // console.log('night', ParamsQuery)
2227
             ParamsQuery['patient'] = this.patient.id
2225
             ParamsQuery['patient'] = this.patient.id
2228
             ParamsQuery['record_date'] = this.record_date
2226
             ParamsQuery['record_date'] = this.record_date
2229
             ParamsQuery['mode'] = '2'
2227
             ParamsQuery['mode'] = '2'
2291
               return
2289
               return
2292
             }
2290
             }
2293
             var arr = this.dialysisPrescription
2291
             var arr = this.dialysisPrescription
2294
-            console.log('arr', arr)
2292
+            // console.log('arr', arr)
2295
 
2293
 
2296
 
2294
 
2297
             const ParamsQuery = arr
2295
             const ParamsQuery = arr
2298
-            console.log('长期处方1', ParamsQuery)
2296
+            // console.log('长期处方1', ParamsQuery)
2299
             ParamsQuery['patient'] = this.patient.id
2297
             ParamsQuery['patient'] = this.patient.id
2300
             ParamsQuery['record_date'] = this.record_date
2298
             ParamsQuery['record_date'] = this.record_date
2301
             ParamsQuery['mode'] = '1'
2299
             ParamsQuery['mode'] = '1'
2339
                 return
2337
                 return
2340
               }
2338
               }
2341
               var arr = this.dialysisPrescription
2339
               var arr = this.dialysisPrescription
2342
-              console.log('arr', arr)
2340
+              // console.log('arr', arr)
2343
 
2341
 
2344
 
2342
 
2345
               const ParamsQuery = arr
2343
               const ParamsQuery = arr
2346
-              console.log('长期处方2', ParamsQuery)
2344
+              // console.log('长期处方2', ParamsQuery)
2347
 
2345
 
2348
               ParamsQuery['patient'] = this.patient.id
2346
               ParamsQuery['patient'] = this.patient.id
2349
               ParamsQuery['record_date'] = this.record_date
2347
               ParamsQuery['record_date'] = this.record_date
2395
               }
2393
               }
2396
 
2394
 
2397
               var arr = this.dialysisPrescription
2395
               var arr = this.dialysisPrescription
2398
-              console.log('arr', arr)
2396
+              // console.log('arr', arr)
2399
 
2397
 
2400
 
2398
 
2401
               const ParamsQuery = arr
2399
               const ParamsQuery = arr
2402
-              console.log('长期处方3', ParamsQuery)
2400
+              // console.log('长期处方3', ParamsQuery)
2403
 
2401
 
2404
               ParamsQuery['patient'] = this.patient.id
2402
               ParamsQuery['patient'] = this.patient.id
2405
               ParamsQuery['record_date'] = this.record_date
2403
               ParamsQuery['record_date'] = this.record_date
2406
-              console.log(this.prescription)
2404
+              // console.log(this.prescription)
2407
 
2405
 
2408
               ParamsQuery['mode'] = '1'
2406
               ParamsQuery['mode'] = '1'
2409
 
2407
 
2464
                 return
2462
                 return
2465
               }
2463
               }
2466
               var arr = this.dialysisPrescription
2464
               var arr = this.dialysisPrescription
2467
-              console.log('arr', arr)
2465
+              // console.log('arr', arr)
2468
 
2466
 
2469
 
2467
 
2470
               const ParamsQuery = arr
2468
               const ParamsQuery = arr
2471
-              console.log('长期处方5', ParamsQuery)
2469
+              // console.log('长期处方5', ParamsQuery)
2472
 
2470
 
2473
               ParamsQuery['patient'] = this.patient.id
2471
               ParamsQuery['patient'] = this.patient.id
2474
               ParamsQuery['record_date'] = this.record_date
2472
               ParamsQuery['record_date'] = this.record_date
2512
                 return
2510
                 return
2513
               }
2511
               }
2514
               var arr = this.dialysisPrescription
2512
               var arr = this.dialysisPrescription
2515
-              console.log('arr', arr)
2513
+              // console.log('arr', arr)
2516
 
2514
 
2517
 
2515
 
2518
               const ParamsQuery = arr
2516
               const ParamsQuery = arr
2519
-              console.log('长期处方6', ParamsQuery)
2517
+              // console.log('长期处方6', ParamsQuery)
2520
               ParamsQuery['patient'] = this.patient.id
2518
               ParamsQuery['patient'] = this.patient.id
2521
               ParamsQuery['record_date'] = this.record_date
2519
               ParamsQuery['record_date'] = this.record_date
2522
               ParamsQuery['mode'] = '1'
2520
               ParamsQuery['mode'] = '1'
2560
                   return
2558
                   return
2561
                 }
2559
                 }
2562
                 var arr = this.dialysisPrescription
2560
                 var arr = this.dialysisPrescription
2563
-                console.log('arr', arr)
2561
+                // console.log('arr', arr)
2564
 
2562
 
2565
 
2563
 
2566
                 const ParamsQuery = arr
2564
                 const ParamsQuery = arr
2567
-                console.log('长期处方7', ParamsQuery)
2565
+                // console.log('长期处方7', ParamsQuery)
2568
                 ParamsQuery['patient'] = this.patient.id
2566
                 ParamsQuery['patient'] = this.patient.id
2569
                 ParamsQuery['record_date'] = this.record_date
2567
                 ParamsQuery['record_date'] = this.record_date
2570
                 ParamsQuery['mode'] = '1'
2568
                 ParamsQuery['mode'] = '1'
2614
                   return
2612
                   return
2615
                 }
2613
                 }
2616
                 var arr = this.dialysisPrescription
2614
                 var arr = this.dialysisPrescription
2617
-                console.log('arr', arr)
2615
+                // console.log('arr', arr)
2618
 
2616
 
2619
 
2617
 
2620
                 const ParamsQuery = arr
2618
                 const ParamsQuery = arr
2621
-                console.log('长期处方8', ParamsQuery)
2619
+                // console.log('长期处方8', ParamsQuery)
2622
                 ParamsQuery['patient'] = this.patient.id
2620
                 ParamsQuery['patient'] = this.patient.id
2623
                 ParamsQuery['record_date'] = this.record_date
2621
                 ParamsQuery['record_date'] = this.record_date
2624
                 ParamsQuery['mode'] = '1'
2622
                 ParamsQuery['mode'] = '1'
2688
                   return
2686
                   return
2689
                 }
2687
                 }
2690
                 var arr = this.dialysisPrescription
2688
                 var arr = this.dialysisPrescription
2691
-                console.log('arr', arr)
2689
+                // console.log('arr', arr)
2692
 
2690
 
2693
                 const ParamsQuery = arr
2691
                 const ParamsQuery = arr
2694
-                console.log('长期处方9', ParamsQuery)
2692
+                // console.log('长期处方9', ParamsQuery)
2695
                 ParamsQuery['patient'] = this.patient.id
2693
                 ParamsQuery['patient'] = this.patient.id
2696
                 ParamsQuery['record_date'] = this.record_date
2694
                 ParamsQuery['record_date'] = this.record_date
2697
                 ParamsQuery['mode'] = '1'
2695
                 ParamsQuery['mode'] = '1'
2732
               return
2730
               return
2733
             }
2731
             }
2734
             var arr = this.dialysisPrescription
2732
             var arr = this.dialysisPrescription
2735
-            console.log('arr', arr)
2733
+            // console.log('arr', arr)
2736
 
2734
 
2737
             const ParamsQuery = arr
2735
             const ParamsQuery = arr
2738
-            console.log('长期处方10', ParamsQuery)
2736
+            // console.log('长期处方10', ParamsQuery)
2739
 
2737
 
2740
             ParamsQuery['patient'] = this.patient.id
2738
             ParamsQuery['patient'] = this.patient.id
2741
             ParamsQuery['record_date'] = this.record_date
2739
             ParamsQuery['record_date'] = this.record_date
2997
             }
2995
             }
2998
           })
2996
           })
2999
           .then(res => {
2997
           .then(res => {
3000
-            console.log(res)
3001
-            console.log('predialysis.creater', this.pre.creater)
3002
-            console.log('admin.id', this.$store.getters.xt_user.user.id)
2998
+            // console.log(res)
2999
+            // console.log('predialysis.creater', this.pre.creater)
3000
+            // console.log('admin.id', this.$store.getters.xt_user.user.id)
3003
             if (res.data.state == 0) {
3001
             if (res.data.state == 0) {
3004
               this.hasPermission = false
3002
               this.hasPermission = false
3005
             } else if (res.data.state == 1) {
3003
             } else if (res.data.state == 1) {

+ 6 - 5
src/xt_pages/dialysis/details/index.vue 查看文件

607
       search_keyword: '', // 确定用于搜索的关键字
607
       search_keyword: '', // 确定用于搜索的关键字
608
       search_input: '', // 输入中的关键字
608
       search_input: '', // 输入中的关键字
609
       patient_state: [
609
       patient_state: [
610
-        { value: 0, label: '全部' },
610
+        { value: 0, label: '全部患者' },
611
         { value: 1, label: '已签到' },
611
         { value: 1, label: '已签到' },
612
         { value: 2, label: '未签到' },
612
         { value: 2, label: '未签到' },
613
         { value: 3, label: '已上机' },
613
         { value: 3, label: '已上机' },
615
       ],
615
       ],
616
       patientStateVal: 0,
616
       patientStateVal: 0,
617
       treat_state: [
617
       treat_state: [
618
-        { value: 0, label: '全部' },
618
+        { value: 0, label: '全部治疗' },
619
         { value: 1, label: '待开处方' },
619
         { value: 1, label: '待开处方' },
620
         { value: 2, label: '待开小结' }
620
         { value: 2, label: '待开小结' }
621
       ],
621
       ],
622
       treatStateVal: 0,
622
       treatStateVal: 0,
623
       schedule_options: [
623
       schedule_options: [
624
-        { value: 0, label: '全部' },
624
+        { value: 0, label: '全部' },
625
         { value: 1, label: '上午' },
625
         { value: 1, label: '上午' },
626
         { value: 2, label: '下午' },
626
         { value: 2, label: '下午' },
627
         { value: 3, label: '晚上' }
627
         { value: 3, label: '晚上' }
628
       ],
628
       ],
629
       scheduleStateVal: 0,
629
       scheduleStateVal: 0,
630
       zone_options: [
630
       zone_options: [
631
-        { id: 0, text: '全部' }
631
+        { id: 0, text: '全部分区' }
632
       ],
632
       ],
633
       zoneVal: 0,
633
       zoneVal: 0,
634
       tableData: [],
634
       tableData: [],
882
           console.log('receiver_treatment_access', receiver_treatment_access)
882
           console.log('receiver_treatment_access', receiver_treatment_access)
883
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
883
           var predialysis_evaluation = resp.data.predialysis_evaluation // 透前评估
884
           console.log('透前评估', predialysis_evaluation)
884
           console.log('透前评估', predialysis_evaluation)
885
+          
885
           if (predialysis_evaluation != null) {
886
           if (predialysis_evaluation != null) {
886
             if (predialysis_evaluation.blood_access_part_id == -2) {
887
             if (predialysis_evaluation.blood_access_part_id == -2) {
887
               predialysis_evaluation.blood_access_part_id = 0
888
               predialysis_evaluation.blood_access_part_id = 0
1056
         if (resp.state == 1) {
1057
         if (resp.state == 1) {
1057
           var zones = resp.data.zones
1058
           var zones = resp.data.zones
1058
           var schedules = resp.data.schedules
1059
           var schedules = resp.data.schedules
1059
-          var zone_options = [{ id: 0, text: '全部' }]
1060
+          var zone_options = [{ id: 0, text: '全部分区' }]
1060
           for (let z_i = 0; z_i < zones.length; z_i++) {
1061
           for (let z_i = 0; z_i < zones.length; z_i++) {
1061
             const zone = zones[z_i]
1062
             const zone = zones[z_i]
1062
             zone_options.push({ id: zone.id, text: zone.name })
1063
             zone_options.push({ id: zone.id, text: zone.name })

+ 23 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

253
           >打印</el-button
253
           >打印</el-button
254
         >
254
         >
255
       </template>
255
       </template>
256
+      <template v-if="org_template_info.template_id == 21">
257
+        <el-button
258
+          :loading="loading"
259
+          size="small"
260
+          icon="el-icon-printer"
261
+          @click="printThisPage"
262
+          type="primary"
263
+          >打印</el-button
264
+        >
265
+      </template>
256
     </div>
266
     </div>
257
     <div class="app-container" style="min-height:0;">
267
     <div class="app-container" style="min-height:0;">
258
       <!--<div class="order-print-btn"-->
268
       <!--<div class="order-print-btn"-->
437
             v-bind:childResponse="childResponse"
447
             v-bind:childResponse="childResponse"
438
             v-if="org_template_info.template_id == 20"
448
             v-if="org_template_info.template_id == 20"
439
           ></DialysisPrintOrderTwenty>
449
           ></DialysisPrintOrderTwenty>
450
+          <DialysisPrintOrderTwentyOne
451
+            v-bind:childResponse="childResponse"
452
+            v-if="org_template_info.template_id == 21"
453
+          ></DialysisPrintOrderTwentyOne>
440
         </div>
454
         </div>
441
       </el-container>
455
       </el-container>
442
     </div>
456
     </div>
476
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
490
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
477
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
491
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
478
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
492
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
493
+import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
479
 
494
 
480
 export default {
495
 export default {
481
   name: "dialysisPrintOrder",
496
   name: "dialysisPrintOrder",
482
   components: {
497
   components: {
498
+    DialysisPrintOrderTwentyOne,
483
     DialysisPrintOrderTwenty,
499
     DialysisPrintOrderTwenty,
484
     DialysisPrintOrderNineteen,
500
     DialysisPrintOrderNineteen,
485
     DialysisPrintOrderEighteen,
501
     DialysisPrintOrderEighteen,
806
           style: style,
822
           style: style,
807
           scanStyles: false
823
           scanStyles: false
808
         });
824
         });
825
+      } else if (this.org_template_info.template_id == 21) {
826
+        printJS({
827
+          printable: "dialysis-print-box",
828
+          type: "html",
829
+          style: style,
830
+          scanStyles: false
831
+        });
809
       } 
832
       } 
810
     },
833
     },
811
     printThisOnePage() {
834
     printThisOnePage() {

+ 3 - 3
src/xt_pages/dialysis/schedualPatient.vue 查看文件

108
         selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
108
         selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
109
         schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
109
         schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
110
         schedule_type_options: [
110
         schedule_type_options: [
111
-          { value: 0, text: '全部' },
111
+          { value: 0, text: '全部' },
112
           { value: 1, text: '上午' },
112
           { value: 1, text: '上午' },
113
           { value: 2, text: '下午' },
113
           { value: 2, text: '下午' },
114
           { value: 3, text: '晚上' }
114
           { value: 3, text: '晚上' }
115
         ],
115
         ],
116
         zone_selected: 0, // this.$store.getters.app.dialysis_area.zone_select_index,
116
         zone_selected: 0, // this.$store.getters.app.dialysis_area.zone_select_index,
117
         zone_options: [
117
         zone_options: [
118
-          { id: 0, text: '全部' }
118
+          { id: 0, text: '全部分区' }
119
         ],
119
         ],
120
         zone_schedules: [],
120
         zone_schedules: [],
121
 
121
 
324
           if (resp.state == 1) {
324
           if (resp.state == 1) {
325
             var zones = resp.data.zones
325
             var zones = resp.data.zones
326
             var schedules = resp.data.schedules
326
             var schedules = resp.data.schedules
327
-            var zone_options = [{ id: 0, text: '全部' }]
327
+            var zone_options = [{ id: 0, text: '全部分区' }]
328
             for (let z_i = 0; z_i < zones.length; z_i++) {
328
             for (let z_i = 0; z_i < zones.length; z_i++) {
329
               const zone = zones[z_i]
329
               const zone = zones[z_i]
330
               zone_options.push({ id: zone.id, text: zone.name })
330
               zone_options.push({ id: zone.id, text: zone.name })

+ 12 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue 查看文件

552
         <tr>
552
         <tr>
553
           <td style="text-align:left;" colspan="8">
553
           <td style="text-align:left;" colspan="8">
554
             <span style="display:inline-block;margin-left:15px;">皮肤:</span>
554
             <span style="display:inline-block;margin-left:15px;">皮肤:</span>
555
-            <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
555
+            <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
556
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
556
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
557
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
557
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
558
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
558
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
560
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
560
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
561
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
561
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
562
             <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
562
             <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
563
-            <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box>
563
+            <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
564
+
565
+            <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整') >-1 ? true : false"></label-box>
566
+            <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥') >-1? true : false"></label-box>
567
+            <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒') >-1 ? true : false"></label-box>
568
+            <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄') >-1 ? true : false"></label-box>/
569
+            <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿') >-1? true : false"></label-box>
570
+            <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹') >-1? true : false"></label-box>
571
+            <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点') >-1 ? true : false"></label-box>
572
+            <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮') >-1 ? true : false"></label-box>
573
+            <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血') >-1 ? true : false"></label-box>
564
           </td>
574
           </td>
565
         </tr>
575
         </tr>
566
         <tr>
576
         <tr>

+ 14 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue 查看文件

172
                   </div>
172
                   </div>
173
                   <div class="inline_block" style="margin-left:10px;flex:1;">
173
                   <div class="inline_block" style="margin-left:10px;flex:1;">
174
                     穿刺方式:
174
                     穿刺方式:
175
-                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
175
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == ''">
176
+                      /
177
+                    </div>
178
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('绳梯')>-1">
179
+                      绳梯
180
+                    </div>
181
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('扣眼')>-1">
182
+                      扣眼
183
+                    </div>
184
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('区域')>-1">
185
+                      区域
186
+                    </div>
187
+                    <!-- <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
176
                       /
188
                       /
177
                     </div>
189
                     </div>
178
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
190
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
183
                     </div>
195
                     </div>
184
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
196
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
185
                       区域
197
                       区域
186
-                    </div>
198
+                    </div> -->
187
                   </div>
199
                   </div>
188
                   <div class="inline_block" style="margin-left:10px;flex:1;">
200
                   <div class="inline_block" style="margin-left:10px;flex:1;">
189
                     穿刺针:
201
                     穿刺针:

+ 5 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue 查看文件

342
               <td style="text-align:left;padding-left:5px;border:none;">
342
               <td style="text-align:left;padding-left:5px;border:none;">
343
                 <span style="width:70px;display: inline-block;"></span>
343
                 <span style="width:70px;display: inline-block;"></span>
344
                 <span style="width:60px;display: inline-block;">穿刺方式:</span>
344
                 <span style="width:60px;display: inline-block;">穿刺方式:</span>
345
-                <label-box showValue="绳梯" :isChecked="predialysis.puncture_way == 1 ? true : false"></label-box>&nbsp;&nbsp;
345
+                <!-- <label-box showValue="绳梯" :isChecked="predialysis.puncture_way == 1 ? true : false"></label-box>&nbsp;&nbsp;
346
                 <label-box showValue="扣眼" :isChecked="predialysis.puncture_way == 2 ? true : false"></label-box>&nbsp;&nbsp;
346
                 <label-box showValue="扣眼" :isChecked="predialysis.puncture_way == 2 ? true : false"></label-box>&nbsp;&nbsp;
347
-                <label-box showValue="其他" :isChecked="predialysis.puncture_way > 0 ? ((predialysis.puncture_way != 1 && predialysis.puncture_way != 2) ? true : false) : false"></label-box>&nbsp;&nbsp;
347
+                <label-box showValue="其他" :isChecked="predialysis.puncture_way > 0 ? ((predialysis.puncture_way != 1 && predialysis.puncture_way != 2) ? true : false) : false"></label-box>&nbsp;&nbsp; -->
348
+                <label-box showValue="绳梯" :isChecked="predialysis.puncture_way.indexOf('绳梯')>-1 ? true : false"></label-box>&nbsp;&nbsp;
349
+                <label-box showValue="扣眼" :isChecked="predialysis.puncture_way.indexOf('扣眼')>-1 ? true : false"></label-box>&nbsp;&nbsp;
350
+                <label-box showValue="其他" :isChecked="predialysis.puncture_way.indexOf('其他')>-1 ? true:false"></label-box>&nbsp;&nbsp;
348
               </td>
351
               </td>
349
           </tr>
352
           </tr>
350
       </table>
353
       </table>

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue 查看文件

251
                     <td width="65">穿刺方法:</td>
251
                     <td width="65">穿刺方法:</td>
252
                     <td width="180">
252
                     <td width="180">
253
                       <div>
253
                       <div>
254
-                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('绳梯') > -1 ? true : false" showValue="绳梯"></label-box>
254
+                        <!-- <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('绳梯') > -1 ? true : false" showValue="绳梯"></label-box>
255
                         &nbsp;
255
                         &nbsp;
256
                         <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('定点') > -1 ? true : false" showValue="定点"></label-box>
256
                         <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('定点') > -1 ? true : false" showValue="定点"></label-box>
257
                         &nbsp;
257
                         &nbsp;
258
                         <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('区域') > -1 ? true : false" showValue="区域"></label-box>
258
                         <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('区域') > -1 ? true : false" showValue="区域"></label-box>
259
+                        &nbsp; -->
260
+                        <label-box :isChecked="predialysis.puncture_way.indexOf('绳梯') > -1 ? true : false" showValue="绳梯"></label-box>
261
+                        &nbsp;
262
+                        <label-box :isChecked="predialysis.puncture_way.indexOf('定点') > -1 ? true : false" showValue="定点"></label-box>
263
+                        &nbsp;
264
+                        <label-box :isChecked="predialysis.puncture_way.indexOf('区域') > -1 ? true : false" showValue="区域"></label-box>
259
                         &nbsp;
265
                         &nbsp;
260
                       </div>
266
                       </div>
261
                     </td>
267
                     </td>

+ 11 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue 查看文件

249
                   <td width="40">皮肤:</td>
249
                   <td width="40">皮肤:</td>
250
                   <td width="600">
250
                   <td width="600">
251
                     <div style="display:flex;justify-content:space-between;">
251
                     <div style="display:flex;justify-content:space-between;">
252
-                      <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
252
+                      <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
253
                       <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
253
                       <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
254
                       <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
254
                       <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
255
                       <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>
255
                       <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>
257
                       <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
257
                       <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
258
                       <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
258
                       <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
259
                       <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
259
                       <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
260
-                      <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box>
260
+                      <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
261
+                      <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整')>-1 ? true : false"></label-box>
262
+                      <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥')>-1? true : false"></label-box>
263
+                      <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒')>-1 ? true : false"></label-box>
264
+                      <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄')>-1? true : false"></label-box>
265
+                      <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿')>-1 ? true : false"></label-box>
266
+                      <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹')>-1 ? true : false"></label-box>
267
+                      <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点')>-1 ? true : false"></label-box>
268
+                      <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮')>-1 ? true : false"></label-box>
269
+                      <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血')>-1 ? true : false"></label-box>
261
                       &ensp;
270
                       &ensp;
262
                     </div>
271
                     </div>
263
                   </td>
272
                   </td>

+ 13 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue 查看文件

181
                   </div>
181
                   </div>
182
                   <div class="inline_block" style="margin-left:10px;flex:1;">
182
                   <div class="inline_block" style="margin-left:10px;flex:1;">
183
                     穿刺方式:
183
                     穿刺方式:
184
-                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
184
+                    <!-- <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
185
                       /
185
                       /
186
                     </div>
186
                     </div>
187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
192
                     </div>
192
                     </div>
193
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
193
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
194
                       区域
194
                       区域
195
+                    </div> -->
196
+                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == ''">
197
+                      /
198
+                    </div>
199
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('绳梯')>-1">
200
+                      绳梯
201
+                    </div>
202
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('扣眼')>-1">
203
+                      扣眼
204
+                    </div>
205
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('区域')>-1">
206
+                      区域
195
                     </div>
207
                     </div>
196
                   </div>
208
                   </div>
197
                   <div class="inline_block" style="margin-left:10px;flex:1;">
209
                   <div class="inline_block" style="margin-left:10px;flex:1;">

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue 查看文件

202
                     <td width="100">
202
                     <td width="100">
203
                       <div class="under-line">
203
                       <div class="under-line">
204
                         &nbsp;
204
                         &nbsp;
205
-                        <span v-if="predialysis.puncture_method">{{ predialysis.puncture_method }}</span>
205
+                        <!-- <span v-if="predialysis.puncture_method">{{ predialysis.puncture_method }}</span> -->
206
+                        <span v-if="predialysis.puncture_way">{{ predialysis.puncture_way }}</span>
206
                       </div>
207
                       </div>
207
                     </td>
208
                     </td>
208
 
209
 

+ 11 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue 查看文件

577
         <tr>
577
         <tr>
578
           <td style="text-align:left;" colspan="8">
578
           <td style="text-align:left;" colspan="8">
579
             <span style="display:inline-block;margin-left:15px;">皮肤:</span>
579
             <span style="display:inline-block;margin-left:15px;">皮肤:</span>
580
-            <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
580
+            <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>
581
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
581
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
582
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
582
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
583
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
583
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
585
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
585
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
586
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
586
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
587
             <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
587
             <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
588
-            <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box>
588
+            <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
589
+             <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整')>-1 ? true : false"></label-box>
590
+            <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥')>-1 ? true : false"></label-box>
591
+            <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒')>-1? true : false"></label-box>
592
+            <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄')>-1? true : false"></label-box>/
593
+            <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿')>-1? true : false"></label-box>
594
+            <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹')>-1 ? true : false"></label-box>
595
+            <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点')>-1? true : false"></label-box>
596
+            <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮')>-1 ? true : false"></label-box>
597
+            <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血')>-1 ? true : false"></label-box>
589
           </td>
598
           </td>
590
         </tr>
599
         </tr>
591
         <tr>
600
         <tr>

+ 13 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

181
                   </div>
181
                   </div>
182
                   <div class="inline_block" style="margin-left:10px;flex:1;">
182
                   <div class="inline_block" style="margin-left:10px;flex:1;">
183
                     穿刺方式:
183
                     穿刺方式:
184
-                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
184
+                    <!-- <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
185
                       /
185
                       /
186
                     </div>
186
                     </div>
187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
192
                     </div>
192
                     </div>
193
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
193
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
194
                       区域
194
                       区域
195
+                    </div> -->
196
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == ''">
197
+                      /
198
+                    </div>
199
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('绳梯')>-1">
200
+                      绳梯
195
                     </div>
201
                     </div>
202
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('扣眼')>-1">
203
+                      扣眼
204
+                    </div>
205
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('区域')>-1">
206
+                      区域
207
+                    </div> 
196
                   </div>
208
                   </div>
197
                   <div class="inline_block" style="margin-left:10px;flex:1;">
209
                   <div class="inline_block" style="margin-left:10px;flex:1;">
198
                     穿刺针:
210
                     穿刺针:

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue 查看文件

202
                     <td width="100">
202
                     <td width="100">
203
                       <div class="under-line">
203
                       <div class="under-line">
204
                         &nbsp;
204
                         &nbsp;
205
-                        <span v-if="predialysis.puncture_way == 1">绳梯</span>
205
+                        <!-- <span v-if="predialysis.puncture_way == 1">绳梯</span>
206
                         <span v-if="predialysis.puncture_way == 2">扣眼</span>
206
                         <span v-if="predialysis.puncture_way == 2">扣眼</span>
207
                         <span v-if="predialysis.puncture_way == 3">区域</span>
207
                         <span v-if="predialysis.puncture_way == 3">区域</span>
208
-                        <span v-if="predialysis.puncture_way == 4">其他</span>
208
+                        <span v-if="predialysis.puncture_way == 4">其他</span> -->
209
+                        <span>{{predialysis.puncture_way}}</span> 
209
                       </div>
210
                       </div>
210
                     </td>
211
                     </td>
211
 
212
 

+ 14 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue 查看文件

172
                   </div>
172
                   </div>
173
                   <div class="inline_block" style="margin-left:10px;flex:1;">
173
                   <div class="inline_block" style="margin-left:10px;flex:1;">
174
                     穿刺方式:
174
                     穿刺方式:
175
-                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
175
+                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == ''">
176
+                      /
177
+                    </div>
178
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('绳梯')>-1">
179
+                      绳梯
180
+                    </div>
181
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('扣眼')>-1">
182
+                      扣眼
183
+                    </div>
184
+                    <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way.indexOf('区域')>-1">
185
+                      区域
186
+                    </div>
187
+                    <!-- <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 0">
176
                       /
188
                       /
177
                     </div>
189
                     </div>
178
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
190
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
183
                     </div>
195
                     </div>
184
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
196
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
185
                       区域
197
                       区域
186
-                    </div>
198
+                    </div> -->
187
                   </div>
199
                   </div>
188
                   <div class="inline_block" style="margin-left:10px;flex:1;">
200
                   <div class="inline_block" style="margin-left:10px;flex:1;">
189
                     穿刺针:
201
                     穿刺针:

+ 61 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue 查看文件

21
 
21
 
22
             <td width="50">年 龄:</td>
22
             <td width="50">年 龄:</td>
23
             <td width="40">
23
             <td width="40">
24
-              <div class="under-line">{{ getAge(patientInfo) }}</div>
24
+              <div class="under-line">{{ getNewAge(patientInfo.id_card_no) }}</div>
25
             </td>
25
             </td>
26
             <td width='10'>岁</td>
26
             <td width='10'>岁</td>
27
             <td width="30"></td>
27
             <td width="30"></td>
173
                     <td width="">
173
                     <td width="">
174
                       <div class="under-line">
174
                       <div class="under-line">
175
                         &nbsp;
175
                         &nbsp;
176
-                        <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage && ['穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(predialysis.hemorrhage) == -1 ? predialysis.hemorrhage : '' }}</span>
176
+                        <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage_other ? predialysis.hemorrhage_other : '' }}</span>
177
                       </div>
177
                       </div>
178
                     </td>
178
                     </td>
179
                   </tr>
179
                   </tr>
209
                     <td width="65">穿刺方法:</td>
209
                     <td width="65">穿刺方法:</td>
210
                     <td width="120">
210
                     <td width="120">
211
                       <div>
211
                       <div>
212
-                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
212
+                        <!-- <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
213
                         &nbsp;
213
                         &nbsp;
214
-                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
214
+                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box> -->
215
+                          <label-box :isChecked="predialysis.puncture_way && predialysis.puncture_way.indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
216
+                        &nbsp;
217
+                        <label-box :isChecked="predialysis.puncture_way && predialysis.puncture_way.indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
215
                         &nbsp;
218
                         &nbsp;
216
                       </div>
219
                       </div>
217
                     </td>
220
                     </td>
760
                     </td>
763
                     </td>
761
                     <td width="20">Kg</td>
764
                     <td width="20">Kg</td>
762
                     <td></td>
765
                     <td></td>
763
-                    <td width="95">透析器凝血:</td>
766
+                    <td width="95">透析器堵塞:</td>
764
                     <td width="200">
767
                     <td width="200">
765
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
768
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
766
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
769
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
840
                     <td width='40'>其他</td>
843
                     <td width='40'>其他</td>
841
                     <td width='160'>
844
                     <td width='160'>
842
                       <div class="under-line">
845
                       <div class="under-line">
843
-                        &nbsp;{{ ['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(afterdialysis.complication) == -1 ? afterdialysis.complication : '' }}
846
+                        &nbsp;{{ afterdialysis.complication ? getComplication(afterdialysis.complication) : '' }}
844
                       </div>
847
                       </div>
845
                     </td>
848
                     </td>
846
                     <td></td>
849
                     <td></td>
888
                         <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
891
                         <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
889
                       </div>
892
                       </div>
890
                     </td>
893
                     </td>
891
-                    <td width="70">下机护士:</td>
894
+                    <td width="70">护士签名:</td>
892
                     <td width="100">
895
                     <td width="100">
893
                       <div class="under-line">&nbsp;
896
                       <div class="under-line">&nbsp;
894
                         <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
897
                         <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
1075
     }
1078
     }
1076
   },
1079
   },
1077
   methods: {
1080
   methods: {
1081
+    getNewAge(UUserCard) {
1082
+      if (UUserCard != null && UUserCard != '') {
1083
+        // 获取年龄
1084
+        var myDate = new Date()
1085
+        var month = myDate.getMonth() + 1
1086
+        var day = myDate.getDate()
1087
+        var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
1088
+        if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
1089
+          age++
1090
+        }
1091
+        return age
1092
+      }
1093
+    },
1094
+    getComplication(complication){
1095
+      if(complication.indexOf(',') == -1){
1096
+        let str = complication
1097
+        if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
1098
+          return str
1099
+        }
1100
+      }else if(complication.indexOf(',') > -1){
1101
+        let str = complication
1102
+        if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(str) == -1){
1103
+          let newStr = ''
1104
+          str.split(',').map(item => {
1105
+            if(['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(item) == -1){
1106
+              newStr += item + ','
1107
+            }
1108
+          })
1109
+          return newStr.substring(0, newStr.length - 1)
1110
+        }
1111
+      }
1112
+    },
1113
+    getHemorrhage(hemorrhage){
1114
+      if(hemorrhage.indexOf(',') == -1){
1115
+        let str = hemorrhage
1116
+        if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(str) == -1){
1117
+          return str
1118
+        }
1119
+      }else if(hemorrhage.indexOf(',') > -1){
1120
+        let str = hemorrhage
1121
+        if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(str) == -1){
1122
+          let newStr = ''
1123
+          str.split(',').map(item => {
1124
+            if(['无','穿刺点渗血','牙龈出血','消化道出血','女性经期','置管处渗血'].indexOf(item) == -1){
1125
+              newStr += item + ','
1126
+            }
1127
+          })
1128
+          return newStr.substring(0, newStr.length - 1)
1129
+        }
1130
+      }
1131
+    },
1078
     QueryPartById: function(val) {
1132
     QueryPartById: function(val) {
1079
       let vascular_access_part_name = '/'
1133
       let vascular_access_part_name = '/'
1080
       const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
1134
       const vascular_access = getDataConfig('hemodialysis', 'vascular_access')

文件差異過大導致無法顯示
+ 2070 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue


+ 21 - 5
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue 查看文件

149
                 </div>  
149
                 </div>  
150
                 <div class="row" style="padding: 2px 0;line-height:19px;">
150
                 <div class="row" style="padding: 2px 0;line-height:19px;">
151
                   <div class="inline_block">
151
                   <div class="inline_block">
152
-                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;穿刺方式:
153
-                    <check-box text="绳梯" :checked="predialysis.puncture_way == 1 ? true : false"></check-box>
152
+                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
153
+                    穿刺方式:
154
+                    <!-- <check-box text="绳梯" :checked="predialysis.puncture_way == 1 ? true : false"></check-box>
154
                     <check-box text="扣眼" :checked="predialysis.puncture_way == 2 ? true : false"></check-box>
155
                     <check-box text="扣眼" :checked="predialysis.puncture_way == 2 ? true : false"></check-box>
155
-                    <check-box text="区域" :checked="predialysis.puncture_way == 3 ? true : false"></check-box>
156
+                    <check-box text="区域" :checked="predialysis.puncture_way == 3 ? true : false"></check-box> -->
157
+
158
+                    <check-box text="绳梯" :checked="predialysis.puncture_way.indexOf('绳梯')>-1 ? true : false"></check-box>
159
+                    <check-box text="扣眼" :checked="predialysis.puncture_way.indexOf('扣眼')>-1 ? true : false"></check-box>
160
+                    <check-box text="区域" :checked="predialysis.puncture_way.indexOf('区域')>-1 ? true : false"></check-box>
156
                   </div>
161
                   </div>
157
 
162
 
158
                   <div class="inline_block" style="margin-left: 30px;">
163
                   <div class="inline_block" style="margin-left: 30px;">
218
                 <div class="row" style="padding: 2px 0;line-height:19px;">
223
                 <div class="row" style="padding: 2px 0;line-height:19px;">
219
                   <div class="inline_block">
224
                   <div class="inline_block">
220
                     皮肤:
225
                     皮肤:
221
-                    <check-box text="完整" :checked="predialysis.skin == 1 ? true : false"></check-box>
226
+                    <!-- <check-box text="完整" :checked="predialysis.skin == 1 ? true : false"></check-box>
222
                     <check-box text="干燥" :checked="predialysis.skin == 2 ? true : false"></check-box>
227
                     <check-box text="干燥" :checked="predialysis.skin == 2 ? true : false"></check-box>
223
                     <check-box text="瘙痒" :checked="predialysis.skin == 3 ? true : false"></check-box>
228
                     <check-box text="瘙痒" :checked="predialysis.skin == 3 ? true : false"></check-box>
224
                     <check-box text="菲薄" :checked="predialysis.skin == 4 ? true : false"></check-box>
229
                     <check-box text="菲薄" :checked="predialysis.skin == 4 ? true : false"></check-box>
227
                     <check-box text="皮疹" :checked="predialysis.skin == 6 ? true : false"></check-box>
232
                     <check-box text="皮疹" :checked="predialysis.skin == 6 ? true : false"></check-box>
228
                     <check-box text="出血点" :checked="predialysis.skin == 7 ? true : false"></check-box>
233
                     <check-box text="出血点" :checked="predialysis.skin == 7 ? true : false"></check-box>
229
                     <check-box text="压疮" :checked="predialysis.skin == 8 ? true : false"></check-box>
234
                     <check-box text="压疮" :checked="predialysis.skin == 8 ? true : false"></check-box>
230
-                    <check-box text="皮下淤血" :checked="predialysis.skin == 9 ? true : false"></check-box>
235
+                    <check-box text="皮下淤血" :checked="predialysis.skin == 9 ? true : false"></check-box> -->
236
+
237
+                    <check-box text="完整" :checked="predialysis.skin.indexOf('完整')>-1 ? true : false"></check-box>
238
+                    <check-box text="干燥" :checked="predialysis.skin.indexOf('干燥')>-1 ? true : false"></check-box>
239
+                    <check-box text="瘙痒" :checked="predialysis.skin.indexOf('瘙痒')>-1 ? true : false"></check-box>
240
+                    <check-box text="菲薄" :checked="predialysis.skin.indexOf('菲薄')>-1 ? true : false"></check-box>
241
+                     /
242
+                    <check-box text="水肿" :checked="predialysis.skin.indexOf('水肿')>-1 ? true : false"></check-box>
243
+                    <check-box text="皮疹" :checked="predialysis.skin.indexOf('皮疹')>-1 ? true : false"></check-box>
244
+                    <check-box text="出血点" :checked="predialysis.skin.indexOf('出血点')>-1 ? true : false"></check-box>
245
+                    <check-box text="压疮" :checked="predialysis.skin.indexOf('压疮')>-1? true : false"></check-box>
246
+                    <check-box text="皮下淤血" :checked="predialysis.skin.indexOf('皮下淤血')>-1? true : false"></check-box>
231
                     <div class="inline_block">
247
                     <div class="inline_block">
232
                       其它:
248
                       其它:
233
                       <div class="under_line" style="width: 200px;text-align: left">
249
                       <div class="under_line" style="width: 200px;text-align: left">

+ 6 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue 查看文件

131
                     <check-box text="不存在" :checked="predialysis.blood_access_noise == 2 ? true : false"></check-box>
131
                     <check-box text="不存在" :checked="predialysis.blood_access_noise == 2 ? true : false"></check-box>
132
                     <check-box text="减弱" :checked="predialysis.blood_access_noise == 3 ? true : false"></check-box>&emsp;
132
                     <check-box text="减弱" :checked="predialysis.blood_access_noise == 3 ? true : false"></check-box>&emsp;
133
                     穿刺方式:
133
                     穿刺方式:
134
-                    <check-box text="绳梯" :checked="predialysis.puncture_way == 1 ? true : false"></check-box>
134
+                    <!-- <check-box text="绳梯" :checked="predialysis.puncture_way == 1 ? true : false"></check-box>
135
                     <check-box text="扣眼" :checked="predialysis.puncture_way == 2 ? true : false"></check-box>
135
                     <check-box text="扣眼" :checked="predialysis.puncture_way == 2 ? true : false"></check-box>
136
-                    <check-box text="区域" :checked="predialysis.puncture_way == 3 ? true : false"></check-box>
136
+                    <check-box text="区域" :checked="predialysis.puncture_way == 3 ? true : false"></check-box> -->
137
+                    <check-box text="绳梯" :checked="predialysis.puncture_way.indexOf('绳梯')>-1? true : false"></check-box>
138
+                    <check-box text="扣眼" :checked="predialysis.puncture_way.indexOf('扣眼')>-1 ? true : false"></check-box>
139
+                    <check-box text="区域" :checked="predialysis.puncture_way.indexOf('区域')>-1 ? true : false"></check-box>
137
                   </div>
140
                   </div>
138
                 </div>
141
                 </div>
139
                 <div class="row" style="padding: 2px 0;line-height:19px;">
142
                 <div class="row" style="padding: 2px 0;line-height:19px;">
1446
         }
1449
         }
1447
         this.check = response.data.data.check;
1450
         this.check = response.data.data.check;
1448
         this.predialysis = response.data.data.PredialysisEvaluation;
1451
         this.predialysis = response.data.data.PredialysisEvaluation;
1449
-        // console.log("透前数据", this.predialysis);
1452
+         console.log("透前数据", this.predialysis);
1450
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1453
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1451
           this.predialysis.blood_access_part_opera_id
1454
           this.predialysis.blood_access_part_opera_id
1452
         );
1455
         );

+ 1 - 1
src/xt_pages/qcd/patientComplianceDetails.vue 查看文件

347
               normal: {
347
               normal: {
348
                 show: true,
348
                 show: true,
349
                 position: "top",
349
                 position: "top",
350
-                formatter: "{c}g/L"
350
+                formatter: "{c}"
351
               }
351
               }
352
             },
352
             },
353
             //配置样式
353
             //配置样式

+ 42 - 6
src/xt_pages/user/dialysisSolution.vue 查看文件

353
               ></el-input>
353
               ></el-input>
354
             </el-form-item>
354
             </el-form-item>
355
           </el-col>
355
           </el-col>
356
-          <el-col :span="8" v-if="isShows('置换量')">
356
+          <el-col :span="8" v-if="isShows('置换量')" v-show="zhiShow">
357
             <el-form-item label="置换量(L) : " prop="replacement_total">
357
             <el-form-item label="置换量(L) : " prop="replacement_total">
358
               <el-input
358
               <el-input
359
                 v-model="addPlan.replacement_total"
359
                 v-model="addPlan.replacement_total"
466
                 isShows('置换液') &&
466
                 isShows('置换液') &&
467
                   this.$store.getters.xt_user.template_info.template_id != 6
467
                   this.$store.getters.xt_user.template_info.template_id != 6
468
               "
468
               "
469
+              v-show="huShow"
469
             >
470
             >
470
               <el-select
471
               <el-select
471
                 v-model="addPlan.displace_liqui_part"
472
                 v-model="addPlan.displace_liqui_part"
503
             </el-form-item>
504
             </el-form-item>
504
           </el-col>
505
           </el-col>
505
 
506
 
506
-          <el-col :span="8" v-if="isShows('置换液总量')">
507
+          <el-col :span="8" v-if="isShows('置换液总量')" v-show="totalShow">
507
             <el-form-item label="置换液总量(L)">
508
             <el-form-item label="置换液总量(L)">
508
               <el-input v-model="addPlan.displace_liqui_value"></el-input>
509
               <el-input v-model="addPlan.displace_liqui_value"></el-input>
509
             </el-form-item>
510
             </el-form-item>
647
       callback()
648
       callback()
648
     }
649
     }
649
     return {
650
     return {
651
+      zhiShow:false,
652
+      huShow:false,
653
+      totalShow:false,
650
       InnerDialogProps: {
654
       InnerDialogProps: {
651
         values: [],
655
         values: [],
652
         visibility: false,
656
         visibility: false,
1279
       })
1283
       })
1280
     },
1284
     },
1281
     handleEdit(index, row) {
1285
     handleEdit(index, row) {
1282
-      console.log(index, row)
1286
+      // console.log(index, row)
1283
     },
1287
     },
1284
     handleSizeChange(val) {
1288
     handleSizeChange(val) {
1285
       this.queryParams.limit = val
1289
       this.queryParams.limit = val
1307
         this.addPlan.anticoagulant = '低分子肝素'
1311
         this.addPlan.anticoagulant = '低分子肝素'
1308
       }
1312
       }
1309
       if (row.anticoagulant != 3) {
1313
       if (row.anticoagulant != 3) {
1310
-        this.addPlan.anticoagulant = row.anticoagulant
1314
+        if(row.anticoagulant == 0){
1315
+           this.addPlan.anticoagulant = ""
1316
+        }else{
1317
+          this.addPlan.anticoagulant = row.anticoagulant
1318
+        }
1319
+        
1311
       }
1320
       }
1312
       this.addPlan.replacement_total = row.replacement_total
1321
       this.addPlan.replacement_total = row.replacement_total
1313
 
1322
 
1314
       this.addPlan.target_ktv = row.target_ktv.toString()
1323
       this.addPlan.target_ktv = row.target_ktv.toString()
1315
       this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1324
       this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
1316
-
1325
+      
1326
+      this.addPlan.dialysis_duration = parseFloat(row.dialysis_duration_hour) + parseFloat((row.dialysis_duration_minute / 60).toFixed(2))
1327
+      this.addPlan.dialysis_duration_hour = row.dialysis_duration_hour
1328
+      this.addPlan.dialysis_duration_minute = row.dialysis_duration_minute
1317
       this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji.toString()
1329
       this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji.toString()
1318
       this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi.toString()
1330
       this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi.toString()
1319
       this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang.toString()
1331
       this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang.toString()
1330
       this.addPlan.remark = row.remark
1342
       this.addPlan.remark = row.remark
1331
 
1343
 
1332
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1344
       this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
1333
-      this.addPlan.body_fluid = row.body_fluid
1345
+
1346
+     if(row.body_fluid == 0){
1347
+       this.addPlan.body_fluid = ""
1348
+      }else{
1349
+        this.addPlan.body_fluid = row.body_fluid
1350
+      }
1334
       this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1351
       this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1335
       this.addPlan.special_medicine = row.special_medicine
1352
       this.addPlan.special_medicine = row.special_medicine
1336
       this.addPlan.special_medicine_other = row.special_medicine_other.toString()
1353
       this.addPlan.special_medicine_other = row.special_medicine_other.toString()
1343
 
1360
 
1344
       this.dialogVisible = true
1361
       this.dialogVisible = true
1345
       this.isEdit = true
1362
       this.isEdit = true
1363
+      if(row.dialysate_formulation==0){
1364
+        this.addPlan.dialysate_formulation= ""
1365
+      }
1346
       this.addPlan.dialysate_formulation = row.dialysate_formulation
1366
       this.addPlan.dialysate_formulation = row.dialysate_formulation
1347
       this.dialysisTimeShow = new Date(
1367
       this.dialysisTimeShow = new Date(
1348
         2018,
1368
         2018,
1500
 
1520
 
1501
     addPlanModeChange() {
1521
     addPlanModeChange() {
1502
       var thismode = parseInt(this.addPlan.mode)
1522
       var thismode = parseInt(this.addPlan.mode)
1523
+      if(thismode == 2 || thismode == 5 || thismode ==12){
1524
+          this.zhiShow = true
1525
+          this.huShow= true
1526
+          this.totalShow = true
1527
+      }else{
1528
+        this.zhiShow= false
1529
+        this.huShow = false
1530
+        this.totalShow = false
1531
+      }
1503
       if (isNaN(thismode) || thismode <= 0) {
1532
       if (isNaN(thismode) || thismode <= 0) {
1504
         return false
1533
         return false
1505
       }
1534
       }
1517
 
1546
 
1518
       getSystemPrescription(params).then(response => {
1547
       getSystemPrescription(params).then(response => {
1519
         if (response.data.state == 1) {
1548
         if (response.data.state == 1) {
1549
+           var prescription =   response.data.data.prescription
1550
+           if(prescription.anticoagulant == 0){
1551
+              prescription.anticoagulant = ""
1552
+           }
1553
+           if(prescription.body_fluid == 0){
1554
+             prescription.body_fluid = ""
1555
+           }
1520
           if (response.data.data.prescription.id > 0) {
1556
           if (response.data.data.prescription.id > 0) {
1521
             for (const key in response.data.data.prescription) {
1557
             for (const key in response.data.data.prescription) {
1522
               // 因为el-input特性整数类型或者浮点数类型需要转换成字符串,所以加上toString()
1558
               // 因为el-input特性整数类型或者浮点数类型需要转换成字符串,所以加上toString()