Przeglądaj źródła

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

csx 4 lat temu
rodzic
commit
41bb166862
36 zmienionych plików z 2807 dodań i 158 usunięć
  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 Wyświetl plik

@@ -47,6 +47,7 @@ export function getConfigurationList(limit, page) {
47 47
 }
48 48
 
49 49
 export function getConfigurationDetail(id, params) {
50
+  console.log('id=====', id)
50 51
   return request({
51 52
     url: 'com/api/getconfigurationdetail?id=' + id,
52 53
     method: 'get',
@@ -383,7 +384,7 @@ export function getNormData(params) {
383 384
 }
384 385
 
385 386
 export function getFirstQuarter(params) {
386
-  console.log('params', params)
387
+  // console.log('params', params)
387 388
   return request({
388 389
     url: '/com/api/getfirstquarter',
389 390
     method: 'get',
@@ -415,7 +416,6 @@ export function getPatientsControl(lapstor, startime, endtime, page, limit) {
415 416
     page: page,
416 417
     limit: limit
417 418
   }
418
-  console.log('params', params)
419 419
   return request({
420 420
     url: '/com/api/getpatientscontrol',
421 421
     method: 'get',
@@ -448,7 +448,6 @@ export function getPatientContorlAnalysis(params) {
448 448
 }
449 449
 
450 450
 export function GetQualityControl(params) {
451
-  console.log('params是', params)
452 451
   return request({
453 452
     url: '/com/api/getqualitycontrol',
454 453
     method: 'Get',
@@ -471,3 +470,36 @@ export function getPatientComplianceDetail(params) {
471 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 Wyświetl plik

@@ -153,10 +153,10 @@ export function uParseTime(time, cFormat) {
153 153
 }
154 154
 
155 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 161
   var t = 0.5
162 162
   if (type == 1) {
@@ -172,6 +172,6 @@ export function calculateAnticoagulantZL(type, shouji, shichang, weichi) {
172 172
   if (isNaN(shouji) || isNaN(shichang) || isNaN(weichi)) {
173 173
     return 0
174 174
   }
175
-  console.log((shouji + (shichang - t) * weichi).toFixed(1))
175
+  // console.log((shouji + (shichang - t) * weichi).toFixed(1))
176 176
   return (shouji + (shichang - t) * weichi).toFixed(1)
177 177
 }

+ 22 - 12
src/xt_pages/data/prescription.vue Wyświetl plik

@@ -930,6 +930,17 @@ export default {
930 930
           return false;
931 931
         } else {
932 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 944
            if(prescription.anticoagulant == 3){
934 945
               prescription.anticoagulant = "低分子肝素"
935 946
            }
@@ -969,7 +980,6 @@ export default {
969 980
           return false;
970 981
         } else {
971 982
           this.system_prescription = response.data.data.prescriptions;
972
-          console.log("为什么",this.system_prescription)
973 983
 
974 984
           for (let i = 0; i < this.system_prescription.length; i++) {
975 985
             if (this.system_prescription[i].mode == 1) {
@@ -1017,7 +1027,6 @@ export default {
1017 1027
             this.isEdit = true;
1018 1028
             this.system_prescription = [];
1019 1029
             this.system_prescription = response.data.data.prescriptions;
1020
-            console.log("触发了吗",this.system_prescription)
1021 1030
             this.addPlan.id = response.data.data.prescription.id;
1022 1031
             return false;
1023 1032
           }
@@ -1056,6 +1065,7 @@ export default {
1056 1065
 
1057 1066
     this.blood_filters = this.$store.getters.blood_filters;
1058 1067
     this.dialysate_formulation = this.$store.getters.dialysate_formulation;
1068
+   
1059 1069
     this.body_fluid_option = this.$store.getters.body_fluid;
1060 1070
     this.special_medicine_option = this.$store.getters.special_medicine;
1061 1071
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
@@ -1071,9 +1081,9 @@ export default {
1071 1081
   },
1072 1082
   watch: {
1073 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 1088
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1079 1089
         1,
@@ -1083,21 +1093,21 @@ export default {
1083 1093
       );
1084 1094
     },
1085 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 1099
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1090 1100
         1,
1091 1101
         this.addPlan.anticoagulant_shouji,
1092 1102
         this.addPlan.dialysis_duration,
1093 1103
         this.addPlan.anticoagulant_weichi
1094 1104
       );
1095
-      console.log("总量----", this.addPlan.anticoagulant_zongliang);
1105
+      // console.log("总量----", this.addPlan.anticoagulant_zongliang);
1096 1106
     },
1097 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 1111
       this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(
1102 1112
         1,
1103 1113
         this.addPlan.anticoagulant_shouji,

+ 9 - 1
src/xt_pages/dialysis/batch_print/batch_print_order.vue Wyświetl plik

@@ -410,13 +410,21 @@
410 410
                       </div>
411 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 415
                             record.assessment_before_dislysis
416 416
                               ? record.assessment_before_dislysis
417 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 428
                         </div>
421 429
                       </div>
422 430
                     </div>

+ 38 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue Wyświetl plik

@@ -678,7 +678,7 @@
678 678
                <tr>
679 679
                 <td style="text-align:left;" colspan="8">
680 680
                 <span style="display:inline-block;margin-left:15px;">皮肤:</span>
681
-                 <label-box
681
+                 <!-- <label-box
682 682
                       showValue="完整"
683 683
                       :isChecked="record.assessment_before_dislysis.skin == 1 ? true : false"
684 684
                     ></label-box>
@@ -714,6 +714,43 @@
714 714
                     <label-box
715 715
                       showValue="皮下淤血"
716 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 754
                     ></label-box>
718 755
                </td>
719 756
             </tr>

+ 5 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fifteen.vue Wyświetl plik

@@ -365,9 +365,12 @@
365 365
                         <td style="text-align:left;padding-left:5px;border:none;">
366 366
                             <span style="width:70px;display: inline-block;"></span>
367 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 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 374
                         </td>
372 375
                     </tr>
373 376
                 </table>

+ 16 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue Wyświetl plik

@@ -166,9 +166,12 @@
166 166
                   <div class="row" style="padding: 2px 0;line-height:19px;">
167 167
                     <div class="inline_block">
168 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 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 175
                     </div>
173 176
                     <div class="inline_block" style="margin-left: 30px;">
174 177
                       感染:
@@ -229,7 +232,7 @@
229 232
                   <div class="row" style="padding: 2px 0;line-height:19px;">
230 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 236
                       <check-box text="干燥" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 2)"></check-box>
234 237
                       <check-box text="瘙痒" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 3)"></check-box>
235 238
                       <check-box text="菲薄" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 4)"></check-box>/
@@ -237,7 +240,16 @@
237 240
                       <check-box text="皮疹" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 6)"></check-box>
238 241
                       <check-box text="出血点" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'skin', 7)"></check-box>
239 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 253
                       <div class="inline_block">
242 254
                         其它:
243 255
                         <div class="under_line" style="width: 150px;text-align: left">

+ 73 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue Wyświetl plik

@@ -413,7 +413,79 @@
413 413
                               <div
414 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 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 489
                                   showValue="完整"
418 490
                                   :isChecked="
419 491
                                     record.assessment_before_dislysis.skin == 1
@@ -484,7 +556,7 @@
484 556
                                       ? true
485 557
                                       : false
486 558
                                   "
487
-                                ></label-box>
559
+                                ></label-box> -->
488 560
                                 &ensp;
489 561
                               </div>
490 562
                             </td>

+ 17 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Wyświetl plik

@@ -397,7 +397,22 @@
397 397
                           "
398 398
                         ></check-box
399 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 416
                           text="绳梯"
402 417
                           :checked="
403 418
                             isCheckBoxChecked(
@@ -426,7 +441,7 @@
426 441
                               3
427 442
                             )
428 443
                           "
429
-                        ></check-box>
444
+                        ></check-box> -->
430 445
                       </div>
431 446
                     </div>
432 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 Wyświetl plik

@@ -394,8 +394,25 @@
394 394
                             )
395 395
                           "
396 396
                         ></check-box>
397
+
397 398
                         &emsp;穿刺方式:
398 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 416
                           text="绳梯"
400 417
                           :checked="
401 418
                             isCheckBoxChecked(
@@ -424,7 +441,7 @@
424 441
                               3
425 442
                             )
426 443
                           "
427
-                        ></check-box>
444
+                        ></check-box> -->
428 445
                       </div>
429 446
                     </div>
430 447
                     <div class="row" style="padding: 2px 0;line-height:19px;">

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue Wyświetl plik

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

+ 39 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Wyświetl plik

@@ -336,7 +336,7 @@
336 336
                           v-if="record.assessment_before_dislysis"
337 337
                           style="display: inline-block;"
338 338
                         >
339
-                          <div
339
+                          <!-- <div
340 340
                             class="under_line"
341 341
                             style="width: 100px;text-align: center"
342 342
                             v-if="
@@ -373,6 +373,44 @@
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 414
                           </div>
377 415
                         </div>
378 416
                       </div>

+ 47 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_twenty.vue Wyświetl plik

@@ -182,7 +182,7 @@
182 182
                                 <td width="">
183 183
                                 <div class="under-line">
184 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 186
                                 </div>
187 187
                                 </td>
188 188
                             </tr>
@@ -218,9 +218,13 @@
218 218
                                 <td width="65">穿刺方法:</td>
219 219
                                 <td width="120">
220 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 222
                                     &nbsp;
223 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 228
                                     &nbsp;
225 229
                                 </div>
226 230
                                 </td>
@@ -805,7 +809,7 @@
805 809
                                 </td>
806 810
                                 <td width="20">Kg</td>
807 811
                                 <td></td>
808
-                                <td width="95">透析器凝血:</td>
812
+                                <td width="95">透析器堵塞:</td>
809 813
                                 <td width="200">
810 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 815
                                 <label-box :isChecked="record.assessment_after_dislysis.cruor ? (record.assessment_after_dislysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
@@ -885,7 +889,7 @@
885 889
                                 <td width='40'>其他</td>
886 890
                                 <td width='160'>
887 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 893
                                 </div>
890 894
                                 </td>
891 895
                                 <td></td>
@@ -933,7 +937,7 @@
933 937
                                     <span v-if="record.assessment_after_dislysis.patient_gose == 3">{{ record.assessment_after_dislysis.inpatient_department }}</span>
934 938
                                 </div>
935 939
                                 </td>
936
-                                <td width="70">下机护士:</td>
940
+                                <td width="70">护士签名:</td>
937 941
                                 <td width="100">
938 942
                                 <div class="under-line">&nbsp;
939 943
                                     <span v-if="setAdminUserES(record.dialysis_order, 'finish_nurse') == ''">
@@ -1277,6 +1281,44 @@ export default {
1277 1281
       })
1278 1282
   },
1279 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 1322
     dialysateFormulationName(id) {
1281 1323
       if (id in this.dialysateFormulationOptions) {
1282 1324
         return this.dialysateFormulationOptions[id].name

+ 4 - 2
src/xt_pages/dialysis/details/assessmentBefore.vue Wyświetl plik

@@ -136,7 +136,8 @@
136 136
         </li>
137 137
         <li v-if="isShow('穿刺方式')">
138 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 141
         </li>
141 142
         <li v-if="isShow('其他位置')">
142 143
           <label>其他位置</label>
@@ -261,7 +262,8 @@
261 262
 
262 263
         <li v-if="isShow('皮肤')">
263 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 267
           <span class="unit"></span>
266 268
         </li>
267 269
 

+ 89 - 16
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Wyświetl plik

@@ -227,6 +227,15 @@
227 227
                 <el-option label="有" value="1"></el-option>
228 228
                 <el-option label="无" value="2"></el-option>
229 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 239
             </el-form-item>
231 240
           </el-col>
232 241
 
@@ -247,12 +256,15 @@
247 256
 
248 257
           <el-col :span="8">
249 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 260
                 <el-option :key="0" label="请选择" :value="0"></el-option>
252 261
 
253 262
                 <el-option v-for="item in this.puncture_ways" :label="item.name" :value="item.id"
254 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 268
             </el-form-item>
257 269
           </el-col>
258 270
 
@@ -261,10 +273,18 @@
261 273
             <el-form-item label="出血: " v-if="isShow('出血')">
262 274
               <el-select v-model="assessmentBeforeDislysis.is_hemorrhage">
263 275
                 <el-option :key="0" label="请选择" :value="0"></el-option>
264
-
265 276
                 <el-option label="是" value="1"></el-option>
266 277
                 <el-option label="否" value="2"></el-option>
267 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 288
             </el-form-item>
269 289
           </el-col>
270 290
 
@@ -279,12 +299,16 @@
279 299
 
280 300
           <el-col :span="8" v-if="isShow('皮肤')">
281 301
             <el-form-item label="皮肤: ">
282
-              <el-select v-model="assessmentBeforeDislysis.skin">
302
+              <!-- <el-select v-model="assessmentBeforeDislysis.skin">
283 303
                 <el-option :key="0" label="请选择" :value="0"></el-option>
284 304
 
285 305
                 <el-option v-for="item in this.$store.getters.skin" :label="item.name" :value="item.id"
286 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 312
             </el-form-item>
289 313
           </el-col>
290 314
 
@@ -520,6 +544,16 @@
520 544
     name: 'assessment-after-dislysis-dialog',
521 545
     data() {
522 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 557
         showTxt: '',
524 558
         hasPermission: true,
525 559
         weight_adjust: {
@@ -605,7 +639,8 @@
605 639
           type: '' // 不同弹框类型,用来匹配数据
606 640
         },
607 641
         machineType: [],
608
-        puncture_ways: ''
642
+        puncture_ways: '',
643
+        skins:[]
609 644
 
610 645
       }
611 646
     },
@@ -646,9 +681,21 @@
646 681
         return false
647 682
       },
648 683
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
649
-        console.log(last_predialysis_evaluation)
650
-
651 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 699
         this.assessment = assessment
653 700
         this.getPermission()
654 701
         this.isVisibility = true
@@ -806,6 +853,22 @@
806 853
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_needle
807 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 872
             break
810 873
         }
811 874
       },
@@ -849,25 +912,33 @@
849 912
           case 'puncture_needle':
850 913
             this.assessmentBeforeDislysis.puncture_needle = val.value.join(',')
851 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 923
       innerDialogCancle: function() {
855 924
         this.InnerDialogProps.visibility = false
856 925
       }, handleComfirm: function() {
926
+        
857 927
         var arr = this.assessmentBeforeDislysis
928
+        console.log("arr是多少----------",arr)
858 929
         for (let i = 0; i < this.machineType.length; i++) {
859 930
           if (arr.machine_type == this.machineType[i].id) {
860 931
             arr.machine_type = this.machineType[i].name
861 932
           }
862 933
         }
863
-        console.log('arr', arr)
934
+        // console.log('arr', arr)
864 935
         const ParamsQuery = arr
865
-        console.log('paramsquery', ParamsQuery)
936
+        // console.log('paramsquery', ParamsQuery)
866 937
         ParamsQuery['patient'] = this.patient.id
867 938
         ParamsQuery['record_date'] = this.record_date
868 939
         ParamsQuery['mode'] = '1'
869 940
 
870
-        console.log(this.predialysis_evaluation)
941
+        // console.log(this.predialysis_evaluation)
871 942
 
872 943
         if (this.predialysis_evaluation.id == 0) {
873 944
           ParamsQuery['mode'] = '1'
@@ -895,7 +966,7 @@
895 966
             })
896 967
 
897 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 970
             // prop
900 971
             var predialysis_evaluation = this.predialysis_evaluation
901 972
             for (var index in assessment_before_dislysis_resp) {
@@ -946,9 +1017,9 @@
946 1017
             module: 3
947 1018
           }
948 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 1023
           if (res.data.state == 0) {
953 1024
             this.hasPermission = false
954 1025
           } else if (res.data.state == 1) {
@@ -993,7 +1064,9 @@
993 1064
       this.blood_access_noise = this.$store.getters.blood_access_noise
994 1065
       var date = this.$route.query && this.$route.query.date
995 1066
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
996
-
1067
+      //获取皮肤
1068
+      this.skins = getDataConfig('hemodialysis','skin')
1069
+      console.log("皮肤",this.skins)
997 1070
       // this.weight_adjust.weight = this.dry_weight.dry_weight
998 1071
 
999 1072
       // if(this.predialysis_evaluation.id == 0){

+ 47 - 49
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Wyświetl plik

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

+ 6 - 5
src/xt_pages/dialysis/details/index.vue Wyświetl plik

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

+ 23 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Wyświetl plik

@@ -253,6 +253,16 @@
253 253
           >打印</el-button
254 254
         >
255 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 266
     </div>
257 267
     <div class="app-container" style="min-height:0;">
258 268
       <!--<div class="order-print-btn"-->
@@ -437,6 +447,10 @@
437 447
             v-bind:childResponse="childResponse"
438 448
             v-if="org_template_info.template_id == 20"
439 449
           ></DialysisPrintOrderTwenty>
450
+          <DialysisPrintOrderTwentyOne
451
+            v-bind:childResponse="childResponse"
452
+            v-if="org_template_info.template_id == 21"
453
+          ></DialysisPrintOrderTwentyOne>
440 454
         </div>
441 455
       </el-container>
442 456
     </div>
@@ -476,10 +490,12 @@ import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen"
476 490
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
477 491
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
478 492
 import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
493
+import DialysisPrintOrderTwentyOne from "./template/DialysisPrintOrderTwentyOne";
479 494
 
480 495
 export default {
481 496
   name: "dialysisPrintOrder",
482 497
   components: {
498
+    DialysisPrintOrderTwentyOne,
483 499
     DialysisPrintOrderTwenty,
484 500
     DialysisPrintOrderNineteen,
485 501
     DialysisPrintOrderEighteen,
@@ -806,6 +822,13 @@ export default {
806 822
           style: style,
807 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 834
     printThisOnePage() {

+ 3 - 3
src/xt_pages/dialysis/schedualPatient.vue Wyświetl plik

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

+ 12 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Wyświetl plik

@@ -552,7 +552,7 @@
552 552
         <tr>
553 553
           <td style="text-align:left;" colspan="8">
554 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 556
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
557 557
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
558 558
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
@@ -560,7 +560,17 @@
560 560
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
561 561
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
562 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 574
           </td>
565 575
         </tr>
566 576
         <tr>

+ 14 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue Wyświetl plik

@@ -172,7 +172,19 @@
172 172
                   </div>
173 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 189
                     </div>
178 190
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
@@ -183,7 +195,7 @@
183 195
                     </div>
184 196
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
185 197
                       区域
186
-                    </div>
198
+                    </div> -->
187 199
                   </div>
188 200
                   <div class="inline_block" style="margin-left:10px;flex:1;">
189 201
                     穿刺针:

+ 5 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFifteen.vue Wyświetl plik

@@ -342,9 +342,12 @@
342 342
               <td style="text-align:left;padding-left:5px;border:none;">
343 343
                 <span style="width:70px;display: inline-block;"></span>
344 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 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 351
               </td>
349 352
           </tr>
350 353
       </table>

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue Wyświetl plik

@@ -251,11 +251,17 @@
251 251
                     <td width="65">穿刺方法:</td>
252 252
                     <td width="180">
253 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 255
                         &nbsp;
256 256
                         <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('定点') > -1 ? true : false" showValue="定点"></label-box>
257 257
                         &nbsp;
258 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 265
                         &nbsp;
260 266
                       </div>
261 267
                     </td>

+ 11 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Wyświetl plik

@@ -249,7 +249,7 @@
249 249
                   <td width="40">皮肤:</td>
250 250
                   <td width="600">
251 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 253
                       <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
254 254
                       <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
255 255
                       <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>
@@ -257,7 +257,16 @@
257 257
                       <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
258 258
                       <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
259 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 270
                       &ensp;
262 271
                     </div>
263 272
                   </td>

+ 13 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderNineteen.vue Wyświetl plik

@@ -181,7 +181,7 @@
181 181
                   </div>
182 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 186
                     </div>
187 187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
@@ -192,6 +192,18 @@
192 192
                     </div>
193 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 207
                     </div>
196 208
                   </div>
197 209
                   <div class="inline_block" style="margin-left:10px;flex:1;">

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Wyświetl plik

@@ -202,7 +202,8 @@
202 202
                     <td width="100">
203 203
                       <div class="under-line">
204 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 207
                       </div>
207 208
                     </td>
208 209
 

+ 11 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue Wyświetl plik

@@ -577,7 +577,7 @@
577 577
         <tr>
578 578
           <td style="text-align:left;" colspan="8">
579 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 581
             <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>
582 582
             <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>
583 583
             <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>/
@@ -585,7 +585,16 @@
585 585
             <label-box showValue="皮疹" :isChecked="predialysis.skin == 6 ? true : false"></label-box>
586 586
             <label-box showValue="出血点" :isChecked="predialysis.skin == 7 ? true : false"></label-box>
587 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 598
           </td>
590 599
         </tr>
591 600
         <tr>

+ 13 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Wyświetl plik

@@ -181,7 +181,7 @@
181 181
                   </div>
182 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 186
                     </div>
187 187
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
@@ -192,7 +192,19 @@
192 192
                     </div>
193 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 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 208
                   </div>
197 209
                   <div class="inline_block" style="margin-left:10px;flex:1;">
198 210
                     穿刺针:

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixteen.vue Wyświetl plik

@@ -202,10 +202,11 @@
202 202
                     <td width="100">
203 203
                       <div class="under-line">
204 204
                         &nbsp;
205
-                        <span v-if="predialysis.puncture_way == 1">绳梯</span>
205
+                        <!-- <span v-if="predialysis.puncture_way == 1">绳梯</span>
206 206
                         <span v-if="predialysis.puncture_way == 2">扣眼</span>
207 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 210
                       </div>
210 211
                     </td>
211 212
 

+ 14 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Wyświetl plik

@@ -172,7 +172,19 @@
172 172
                   </div>
173 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 189
                     </div>
178 190
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 1">
@@ -183,7 +195,7 @@
183 195
                     </div>
184 196
                     <div class="under_line" style="width: 100px;text-align: center" v-if="predialysis.puncture_way == 3">
185 197
                       区域
186
-                    </div>
198
+                    </div> -->
187 199
                   </div>
188 200
                   <div class="inline_block" style="margin-left:10px;flex:1;">
189 201
                     穿刺针:

+ 61 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue Wyświetl plik

@@ -21,7 +21,7 @@
21 21
 
22 22
             <td width="50">年 龄:</td>
23 23
             <td width="40">
24
-              <div class="under-line">{{ getAge(patientInfo) }}</div>
24
+              <div class="under-line">{{ getNewAge(patientInfo.id_card_no) }}</div>
25 25
             </td>
26 26
             <td width='10'>岁</td>
27 27
             <td width="30"></td>
@@ -173,7 +173,7 @@
173 173
                     <td width="">
174 174
                       <div class="under-line">
175 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 177
                       </div>
178 178
                     </td>
179 179
                   </tr>
@@ -209,9 +209,12 @@
209 209
                     <td width="65">穿刺方法:</td>
210 210
                     <td width="120">
211 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 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 218
                         &nbsp;
216 219
                       </div>
217 220
                     </td>
@@ -760,7 +763,7 @@
760 763
                     </td>
761 764
                     <td width="20">Kg</td>
762 765
                     <td></td>
763
-                    <td width="95">透析器凝血:</td>
766
+                    <td width="95">透析器堵塞:</td>
764 767
                     <td width="200">
765 768
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
766 769
                       <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
@@ -840,7 +843,7 @@
840 843
                     <td width='40'>其他</td>
841 844
                     <td width='160'>
842 845
                       <div class="under-line">
843
-                        &nbsp;{{ ['低血压','高血压','心律失常','头晕','头痛','呕吐','抽搐','出血','心衰','腹痛'].indexOf(afterdialysis.complication) == -1 ? afterdialysis.complication : '' }}
846
+                        &nbsp;{{ afterdialysis.complication ? getComplication(afterdialysis.complication) : '' }}
844 847
                       </div>
845 848
                     </td>
846 849
                     <td></td>
@@ -888,7 +891,7 @@
888 891
                         <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
889 892
                       </div>
890 893
                     </td>
891
-                    <td width="70">下机护士:</td>
894
+                    <td width="70">护士签名:</td>
892 895
                     <td width="100">
893 896
                       <div class="under-line">&nbsp;
894 897
                         <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
@@ -1075,6 +1078,57 @@ export default {
1075 1078
     }
1076 1079
   },
1077 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 1132
     QueryPartById: function(val) {
1079 1133
       let vascular_access_part_name = '/'
1080 1134
       const vascular_access = getDataConfig('hemodialysis', 'vascular_access')

Plik diff jest za duży
+ 2070 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue


+ 21 - 5
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue Wyświetl plik

@@ -149,10 +149,15 @@
149 149
                 </div>  
150 150
                 <div class="row" style="padding: 2px 0;line-height:19px;">
151 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 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 161
                   </div>
157 162
 
158 163
                   <div class="inline_block" style="margin-left: 30px;">
@@ -218,7 +223,7 @@
218 223
                 <div class="row" style="padding: 2px 0;line-height:19px;">
219 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 227
                     <check-box text="干燥" :checked="predialysis.skin == 2 ? true : false"></check-box>
223 228
                     <check-box text="瘙痒" :checked="predialysis.skin == 3 ? true : false"></check-box>
224 229
                     <check-box text="菲薄" :checked="predialysis.skin == 4 ? true : false"></check-box>
@@ -227,7 +232,18 @@
227 232
                     <check-box text="皮疹" :checked="predialysis.skin == 6 ? true : false"></check-box>
228 233
                     <check-box text="出血点" :checked="predialysis.skin == 7 ? true : false"></check-box>
229 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 247
                     <div class="inline_block">
232 248
                       其它:
233 249
                       <div class="under_line" style="width: 200px;text-align: left">

+ 6 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Wyświetl plik

@@ -131,9 +131,12 @@
131 131
                     <check-box text="不存在" :checked="predialysis.blood_access_noise == 2 ? true : false"></check-box>
132 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 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 140
                   </div>
138 141
                 </div>
139 142
                 <div class="row" style="padding: 2px 0;line-height:19px;">
@@ -1446,7 +1449,7 @@ export default {
1446 1449
         }
1447 1450
         this.check = response.data.data.check;
1448 1451
         this.predialysis = response.data.data.PredialysisEvaluation;
1449
-        // console.log("透前数据", this.predialysis);
1452
+         console.log("透前数据", this.predialysis);
1450 1453
         this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1451 1454
           this.predialysis.blood_access_part_opera_id
1452 1455
         );

+ 1 - 1
src/xt_pages/qcd/patientComplianceDetails.vue Wyświetl plik

@@ -347,7 +347,7 @@ export default {
347 347
               normal: {
348 348
                 show: true,
349 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 Wyświetl plik

@@ -353,7 +353,7 @@
353 353
               ></el-input>
354 354
             </el-form-item>
355 355
           </el-col>
356
-          <el-col :span="8" v-if="isShows('置换量')">
356
+          <el-col :span="8" v-if="isShows('置换量')" v-show="zhiShow">
357 357
             <el-form-item label="置换量(L) : " prop="replacement_total">
358 358
               <el-input
359 359
                 v-model="addPlan.replacement_total"
@@ -466,6 +466,7 @@
466 466
                 isShows('置换液') &&
467 467
                   this.$store.getters.xt_user.template_info.template_id != 6
468 468
               "
469
+              v-show="huShow"
469 470
             >
470 471
               <el-select
471 472
                 v-model="addPlan.displace_liqui_part"
@@ -503,7 +504,7 @@
503 504
             </el-form-item>
504 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 508
             <el-form-item label="置换液总量(L)">
508 509
               <el-input v-model="addPlan.displace_liqui_value"></el-input>
509 510
             </el-form-item>
@@ -647,6 +648,9 @@ export default {
647 648
       callback()
648 649
     }
649 650
     return {
651
+      zhiShow:false,
652
+      huShow:false,
653
+      totalShow:false,
650 654
       InnerDialogProps: {
651 655
         values: [],
652 656
         visibility: false,
@@ -1279,7 +1283,7 @@ export default {
1279 1283
       })
1280 1284
     },
1281 1285
     handleEdit(index, row) {
1282
-      console.log(index, row)
1286
+      // console.log(index, row)
1283 1287
     },
1284 1288
     handleSizeChange(val) {
1285 1289
       this.queryParams.limit = val
@@ -1307,13 +1311,21 @@ export default {
1307 1311
         this.addPlan.anticoagulant = '低分子肝素'
1308 1312
       }
1309 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 1321
       this.addPlan.replacement_total = row.replacement_total
1313 1322
 
1314 1323
       this.addPlan.target_ktv = row.target_ktv.toString()
1315 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 1329
       this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji.toString()
1318 1330
       this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi.toString()
1319 1331
       this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang.toString()
@@ -1330,7 +1342,12 @@ export default {
1330 1342
       this.addPlan.remark = row.remark
1331 1343
 
1332 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 1351
       this.addPlan.body_fluid_other = row.body_fluid_other.toString()
1335 1352
       this.addPlan.special_medicine = row.special_medicine
1336 1353
       this.addPlan.special_medicine_other = row.special_medicine_other.toString()
@@ -1343,6 +1360,9 @@ export default {
1343 1360
 
1344 1361
       this.dialogVisible = true
1345 1362
       this.isEdit = true
1363
+      if(row.dialysate_formulation==0){
1364
+        this.addPlan.dialysate_formulation= ""
1365
+      }
1346 1366
       this.addPlan.dialysate_formulation = row.dialysate_formulation
1347 1367
       this.dialysisTimeShow = new Date(
1348 1368
         2018,
@@ -1500,6 +1520,15 @@ export default {
1500 1520
 
1501 1521
     addPlanModeChange() {
1502 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 1532
       if (isNaN(thismode) || thismode <= 0) {
1504 1533
         return false
1505 1534
       }
@@ -1517,6 +1546,13 @@ export default {
1517 1546
 
1518 1547
       getSystemPrescription(params).then(response => {
1519 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 1556
           if (response.data.data.prescription.id > 0) {
1521 1557
             for (const key in response.data.data.prescription) {
1522 1558
               // 因为el-input特性整数类型或者浮点数类型需要转换成字符串,所以加上toString()