Browse Source

Merge branch '20230223_pad_vue_new_branch' of http://git.shengws.com/csx/Pad_New into 20230223_pad_vue_new_branch

28169 3 weeks ago
parent
commit
29e0bf55c2

+ 2 - 2
src/pages/main/template/DialysisPrintOrderSeventyeight.vue View File

1023
                   </div>
1023
                   </div>
1024
                   min
1024
                   min
1025
                 </div>
1025
                 </div>
1026
-                <div class="inline_block" style="flex:2;">
1026
+                <div class="inline_block" style="flex:3;">
1027
                   透后宣教:
1027
                   透后宣教:
1028
-                  <div class="under_line" style="width: 60%;text-align: center;white-space: normal;">
1028
+                  <div class="under_line" style="width: 85%;text-align: left;white-space: normal;">
1029
                     {{summary.mission ? summary.mission:'/'}}
1029
                     {{summary.mission ? summary.mission:'/'}}
1030
                   </div>
1030
                   </div>
1031
                 </div>
1031
                 </div>

+ 57 - 55
src/pages/main/template/DialysisPrintOrdereighty.vue View File

74
         <div class="inline_block" style="flex: 1.1;">
74
         <div class="inline_block" style="flex: 1.1;">
75
           住院号:
75
           住院号:
76
           <div class="under_line" style="width: 70px;text-align: left">
76
           <div class="under_line" style="width: 70px;text-align: left">
77
-            {{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number :'/' }}
77
+            {{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number :'' }}
78
           </div>
78
           </div>
79
         </div>
79
         </div>
80
       </div>
80
       </div>
114
                         patientInfo.user_sys_before_count
114
                         patientInfo.user_sys_before_count
115
                           ? patientInfo.total_dialysis +
115
                           ? patientInfo.total_dialysis +
116
                             patientInfo.user_sys_before_count
116
                             patientInfo.user_sys_before_count
117
-                          : "/"
117
+                          : ""
118
                       }}
118
                       }}
119
                     </div>次
119
                     </div>次
120
                   </div>
120
                   </div>
150
                       {{
150
                       {{
151
                         predialysis.temperature
151
                         predialysis.temperature
152
                           ? predialysis.temperature
152
                           ? predialysis.temperature
153
-                          : "/"
153
+                          : ""
154
                       }}
154
                       }}
155
                     </div>
155
                     </div>
156
                     °C
156
                     °C
161
                       {{
161
                       {{
162
                         predialysis.pulse_frequency
162
                         predialysis.pulse_frequency
163
                           ? predialysis.pulse_frequency
163
                           ? predialysis.pulse_frequency
164
-                          : "/"
164
+                          : ""
165
                       }}
165
                       }}
166
                     </div>
166
                     </div>
167
                     次/分
167
                     次/分
172
                       {{
172
                       {{
173
                         predialysis.systolic_blood_pressure
173
                         predialysis.systolic_blood_pressure
174
                           ? predialysis.systolic_blood_pressure
174
                           ? predialysis.systolic_blood_pressure
175
-                          : "/"
175
+                          : ""
176
                       }}
176
                       }}
177
                     </div>
177
                     </div>
178
-                    /
178
+                    
179
                     <div class="under_line" style="width: 50px; text-align: center">
179
                     <div class="under_line" style="width: 50px; text-align: center">
180
                       {{
180
                       {{
181
                         predialysis.diastolic_blood_pressure
181
                         predialysis.diastolic_blood_pressure
182
                           ? predialysis.diastolic_blood_pressure
182
                           ? predialysis.diastolic_blood_pressure
183
-                          : "/"
183
+                          : ""
184
                       }}
184
                       }}
185
                     </div>
185
                     </div>
186
                     mmHg
186
                     mmHg
191
                       {{
191
                       {{
192
                         predialysis.breathing_rate
192
                         predialysis.breathing_rate
193
                           ? predialysis.breathing_rate
193
                           ? predialysis.breathing_rate
194
-                          : "/"
194
+                          : ""
195
                       }}
195
                       }}
196
                     </div>
196
                     </div>
197
                     次/分
197
                     次/分
214
                     <div class="under_line"
214
                     <div class="under_line"
215
                       style="width: 50%;text-align: center;white-space: normal;"
215
                       style="width: 50%;text-align: center;white-space: normal;"
216
                     >
216
                     >
217
-                      {{prescription.mode ? prescription.mode :'/'}}
217
+                      {{prescription.mode ? prescription.mode :''}}
218
                     </div>
218
                     </div>
219
                   </div>
219
                   </div>
220
 
220
 
232
                     <div class="under_line"
232
                     <div class="under_line"
233
                       style="width: 80%; text-align: center;white-space: normal;"
233
                       style="width: 80%; text-align: center;white-space: normal;"
234
                     >
234
                     >
235
-                      {{ predialysis.catheter ? predialysis.catheter : "/" }}
235
+                      {{ predialysis.catheter ? predialysis.catheter : "" }}
236
                     </div>
236
                     </div>
237
                   </div>
237
                   </div>
238
 
238
 
262
                       {{
262
                       {{
263
                         prescription.dialysis_irrigation
263
                         prescription.dialysis_irrigation
264
                           ? prescription.dialysis_irrigation
264
                           ? prescription.dialysis_irrigation
265
-                          : "/"
265
+                          : ""
266
                       }}
266
                       }}
267
                     </div>
267
                     </div>
268
                   </div>
268
                   </div>
282
                       <span> {{
282
                       <span> {{
283
                         prescription.replacement_total
283
                         prescription.replacement_total
284
                           ? prescription.replacement_total
284
                           ? prescription.replacement_total
285
-                          : "/"
285
+                          : ""
286
                       }}
286
                       }}
287
                       </span>
287
                       </span>
288
                     </div>
288
                     </div>
296
                       {{
296
                       {{
297
                         prescription.blood_flow_volume
297
                         prescription.blood_flow_volume
298
                           ? prescription.blood_flow_volume
298
                           ? prescription.blood_flow_volume
299
-                          : "/"
299
+                          : ""
300
                       }}
300
                       }}
301
                     </div>
301
                     </div>
302
                     ml/min
302
                     ml/min
307
                     干体重:
307
                     干体重:
308
                     <div class="under_line" style="width: 100px; text-align: center">
308
                     <div class="under_line" style="width: 100px; text-align: center">
309
                       {{
309
                       {{
310
-                        predialysis.dry_weight ? predialysis.dry_weight : "/"
310
+                        predialysis.dry_weight ? predialysis.dry_weight : ""
311
                       }}
311
                       }}
312
                     </div>
312
                     </div>
313
                     kg
313
                     kg
328
                                 predialysis.weight_before -
328
                                 predialysis.weight_before -
329
                                   predialysis.additional_weight
329
                                   predialysis.additional_weight
330
                               ).toFixed(1)
330
                               ).toFixed(1)
331
-                            : "/"
331
+                            : ""
332
                         }}
332
                         }}
333
                       </span>
333
                       </span>
334
                     </div>
334
                     </div>
340
                       {{
340
                       {{
341
                         prescription.target_ultrafiltration
341
                         prescription.target_ultrafiltration
342
                           ? prescription.target_ultrafiltration
342
                           ? prescription.target_ultrafiltration
343
-                          : "/"
343
+                          : ""
344
                       }}
344
                       }}
345
                     </div>
345
                     </div>
346
                     L
346
                     L
355
                       {{
355
                       {{
356
                         prescription.dialysate_flow
356
                         prescription.dialysate_flow
357
                           ? prescription.dialysate_flow
357
                           ? prescription.dialysate_flow
358
-                          : "/"
358
+                          : ""
359
                       }}
359
                       }}
360
                     </div>
360
                     </div>
361
                     ml/min
361
                     ml/min
365
                     <div class="under_line"
365
                     <div class="under_line"
366
                       style="width: 50px; text-align: center"
366
                       style="width: 50px; text-align: center"
367
                     >
367
                     >
368
-                      {{ prescription.kalium ? prescription.kalium : "/" }}
368
+                      {{ prescription.kalium ? prescription.kalium : "" }}
369
 
369
 
370
                     </div>
370
                     </div>
371
                     mmol/L
371
                     mmol/L
375
                     <div class="under_line"
375
                     <div class="under_line"
376
                       style="width: 35px; text-align: center"
376
                       style="width: 35px; text-align: center"
377
                     >
377
                     >
378
-                      <span>{{ prescription.sodium ? prescription.sodium : "/" }}</span>
378
+                      <span>{{ prescription.sodium ? prescription.sodium : "" }}</span>
379
                     </div>
379
                     </div>
380
                     mmol/L
380
                     mmol/L
381
                     钙:
381
                     钙:
382
                     <div class="under_line"
382
                     <div class="under_line"
383
                       style="width: 35px; text-align: center"
383
                       style="width: 35px; text-align: center"
384
                     >
384
                     >
385
-                      <span> {{ prescription.calcium ? prescription.calcium : "/" }}</span>
385
+                      <span> {{ prescription.calcium ? prescription.calcium : "" }}</span>
386
                     </div>
386
                     </div>
387
                     mmol/L
387
                     mmol/L
388
                   </div>
388
                   </div>
393
                       style="width: 50px; text-align: center"
393
                       style="width: 50px; text-align: center"
394
                     >
394
                     >
395
                       <span>{{
395
                       <span>{{
396
-                        prescription.bicarbonate ? prescription.bicarbonate : "/"
396
+                        prescription.bicarbonate ? prescription.bicarbonate : ""
397
                       }}
397
                       }}
398
                       </span>
398
                       </span>
399
 
399
 
421
                       {{
421
                       {{
422
                         prescription.anticoagulant_shouji
422
                         prescription.anticoagulant_shouji
423
                           ? prescription.anticoagulant_shouji
423
                           ? prescription.anticoagulant_shouji
424
-                          : "/"
424
+                          : ""
425
                       }}
425
                       }}
426
                     </div>
426
                     </div>
427
                     <span v-if="prescription.anticoagulant!=''">
427
                     <span v-if="prescription.anticoagulant!=''">
456
                       {{
456
                       {{
457
                         prescription.anticoagulant_gaimingcheng
457
                         prescription.anticoagulant_gaimingcheng
458
                           ? prescription.anticoagulant_gaimingcheng
458
                           ? prescription.anticoagulant_gaimingcheng
459
-                          : "/"
459
+                          : ""
460
                       }}
460
                       }}
461
                     </div>
461
                     </div>
462
                   </div>
462
                   </div>
471
                       {{
471
                       {{
472
                         prescription.anticoagulant_gaijiliang
472
                         prescription.anticoagulant_gaijiliang
473
                           ? prescription.anticoagulant_gaijiliang
473
                           ? prescription.anticoagulant_gaijiliang
474
-                          : "/"
474
+                          : ""
475
                       }}
475
                       }}
476
                     </div>
476
                     </div>
477
                     ml
477
                     ml
486
                       {{
486
                       {{
487
                         prescription.anticoagulant_zongliang
487
                         prescription.anticoagulant_zongliang
488
                           ? prescription.anticoagulant_zongliang
488
                           ? prescription.anticoagulant_zongliang
489
-                          : "/"
489
+                          : ""
490
                       }}
490
                       }}
491
                     </div>
491
                     </div>
492
                     <span v-if="prescription.anticoagulant!=''">
492
                     <span v-if="prescription.anticoagulant!=''">
568
 
568
 
569
                     <tr v-for="(monitor, monindex) in monitors" :key="monindex">
569
                     <tr v-for="(monitor, monindex) in monitors" :key="monindex">
570
                       <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
570
                       <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
571
-                      <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
571
+                      <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "": ""}}
572
                         {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
572
                         {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
573
                       <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
573
                       <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
574
                       <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
574
                       <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
575
                       <td>
575
                       <td>
576
-                        {{monitor.arterial_pressure ? monitor.arterial_pressure : "/"}}
576
+                        {{monitor.arterial_pressure ? monitor.arterial_pressure : ""}}
577
                       </td>
577
                       </td>
578
                       <td>
578
                       <td>
579
                         <span>
579
                         <span>
731
                     {{
731
                     {{
732
                       afterdialysis.temperature
732
                       afterdialysis.temperature
733
                         ? afterdialysis.temperature
733
                         ? afterdialysis.temperature
734
-                        : "/"
734
+                        : ""
735
                     }}
735
                     }}
736
                   </div>
736
                   </div>
737
                   °C
737
                   °C
744
                     {{
744
                     {{
745
                       afterdialysis.pulse_frequency
745
                       afterdialysis.pulse_frequency
746
                         ? afterdialysis.pulse_frequency
746
                         ? afterdialysis.pulse_frequency
747
-                        : "/"
747
+                        : ""
748
                     }}
748
                     }}
749
                   </div>
749
                   </div>
750
                   次/分
750
                   次/分
757
                     <!-- {{
757
                     <!-- {{
758
                       afterdialysis.systolic_blood_pressure
758
                       afterdialysis.systolic_blood_pressure
759
                         ? afterdialysis.systolic_blood_pressure
759
                         ? afterdialysis.systolic_blood_pressure
760
-                        : "/"
760
+                        : ""
761
                     }} -->
761
                     }} -->
762
-                    
762
+
763
                     <span v-if="monitors.length>0">
763
                     <span v-if="monitors.length>0">
764
-                      {{ 
764
+                      {{
765
                         monitors[monitors.length-1].systolic_blood_pressure ?
765
                         monitors[monitors.length-1].systolic_blood_pressure ?
766
-                        monitors[monitors.length-1].systolic_blood_pressure :"/"
766
+                        monitors[monitors.length-1].systolic_blood_pressure :""
767
                       }}
767
                       }}
768
                     </span>
768
                     </span>
769
-                      <span v-else>/</span>
769
+                      <span v-else></span>
770
                   </div>
770
                   </div>
771
-                  /
771
+                  
772
                   <div class="under_line"
772
                   <div class="under_line"
773
                     style="width: 50px; text-align: center"
773
                     style="width: 50px; text-align: center"
774
                   >
774
                   >
778
                         : "/"
778
                         : "/"
779
                     }} -->
779
                     }} -->
780
                     <span v-if="monitors.length>0">
780
                     <span v-if="monitors.length>0">
781
-                      {{ 
781
+                      {{
782
                         monitors[monitors.length-1].diastolic_blood_pressure ?
782
                         monitors[monitors.length-1].diastolic_blood_pressure ?
783
-                          monitors[monitors.length-1].diastolic_blood_pressure :"/"
783
+                          monitors[monitors.length-1].diastolic_blood_pressure :""
784
                       }}
784
                       }}
785
                     </span>
785
                     </span>
786
-                    <span v-else>/</span>
786
+                    <span v-else></span>
787
                   </div>
787
                   </div>
788
                   mmHg
788
                   mmHg
789
                 </div>
789
                 </div>
795
                     {{
795
                     {{
796
                       afterdialysis.breathing_rate
796
                       afterdialysis.breathing_rate
797
                         ? afterdialysis.breathing_rate
797
                         ? afterdialysis.breathing_rate
798
-                        : "/"
798
+                        : ""
799
                     }}
799
                     }}
800
                   </div>
800
                   </div>
801
                   次/分
801
                   次/分
814
                       white-space: normal;
814
                       white-space: normal;
815
                     "
815
                     "
816
                   >
816
                   >
817
-                    {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
817
+                    {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
818
                   </div>
818
                   </div>
819
                 </div>
819
                 </div>
820
                 <div class="inline_block" style="flex: 2">
820
                 <div class="inline_block" style="flex: 2">
830
                     {{
830
                     {{
831
                       afterdialysis.internal_fistula
831
                       afterdialysis.internal_fistula
832
                         ? afterdialysis.internal_fistula
832
                         ? afterdialysis.internal_fistula
833
-                        : "/"
833
+                        : ""
834
                     }}
834
                     }}
835
                   </div>
835
                   </div>
836
                 </div>
836
                 </div>
841
                     style="min-width: 70%; text-align: center"
841
                     style="min-width: 70%; text-align: center"
842
                   >
842
                   >
843
                     {{
843
                     {{
844
-                      afterdialysis.catheter ? afterdialysis.catheter : "/"
844
+                      afterdialysis.catheter ? afterdialysis.catheter : ""
845
                     }}
845
                     }}
846
                   </div>
846
                   </div>
847
                 </div>
847
                 </div>
853
                     {{
853
                     {{
854
                       afterdialysis.actual_treatment_hour
854
                       afterdialysis.actual_treatment_hour
855
                         ? afterdialysis.actual_treatment_hour
855
                         ? afterdialysis.actual_treatment_hour
856
-                        : "/"
856
+                        : ""
857
                     }}
857
                     }}
858
                   </div>
858
                   </div>
859
                   h
859
                   h
884
                             afterdialysis.weight_after -
884
                             afterdialysis.weight_after -
885
                               afterdialysis.additional_weight
885
                               afterdialysis.additional_weight
886
                           ).toFixed(1)
886
                           ).toFixed(1)
887
-                        : "/"
887
+                        : ""
888
                     }}
888
                     }}
889
                   </span>
889
                   </span>
890
                   </div>
890
                   </div>
900
                     <!-- <span v-if="org_id!=10598 && org_id!=10551">{{
900
                     <!-- <span v-if="org_id!=10598 && org_id!=10551">{{
901
                       afterdialysis.weight_loss
901
                       afterdialysis.weight_loss
902
                         ? afterdialysis.weight_loss
902
                         ? afterdialysis.weight_loss
903
-                        : "/"
903
+                        : ""
904
                         }}
904
                         }}
905
                       </span> -->
905
                       </span> -->
906
                       <span>
906
                       <span>
923
                     {{
923
                     {{
924
                       afterdialysis.dialysis_intakes
924
                       afterdialysis.dialysis_intakes
925
                         ? afterdialysis.dialysis_intakes
925
                         ? afterdialysis.dialysis_intakes
926
-                        : "/"
926
+                        : ""
927
                     }}
927
                     }}
928
                   </div>
928
                   </div>
929
 
929
 
936
                     class="under_line"
936
                     class="under_line"
937
                     style="width: 70px; text-align: center"
937
                     style="width: 70px; text-align: center"
938
                   >
938
                   >
939
-                    {{
940
-                      afterdialysis.actual_ultrafiltration
941
-                        ? afterdialysis.actual_ultrafiltration
942
-                        : "/"
943
-                    }}
939
+                      <span v-if="monitors.length <=0&& monitors[monitors.length - 1].ultrafiltration_volume !=''">
940
+                        {{ (monitors[monitors.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
941
+                      </span>
942
+                      <span v-else>
943
+                        {{ afterdialysis.actual_ultrafiltration
944
+                          ? afterdialysis.actual_ultrafiltration : '' }}
945
+                      </span>
944
                   </div>
946
                   </div>
945
-                  kg
947
+                  L
946
                 </div>
948
                 </div>
947
               </div>
949
               </div>
948
 
950
 
963
                     {{
965
                     {{
964
                       summary.dialysis_summary
966
                       summary.dialysis_summary
965
                         ? summary.dialysis_summary
967
                         ? summary.dialysis_summary
966
-                        : "/"
968
+                        : ""
967
                     }}
969
                     }}
968
                   </div>
970
                   </div>
969
                 </div>
971
                 </div>
987
                     {{
989
                     {{
988
                       summary.mission
990
                       summary.mission
989
                         ? summary.mission
991
                         ? summary.mission
990
-                        : "/"
992
+                        : ""
991
                     }}
993
                     }}
992
                   </div>
994
                   </div>
993
                 </div>
995
                 </div>
1453
       this.getcheckData(checkDate)
1455
       this.getcheckData(checkDate)
1454
     },
1456
     },
1455
     getDisplaceLiquiPart: function (val) {
1457
     getDisplaceLiquiPart: function (val) {
1456
-      let displace_liqui_part_name = '/'
1458
+      let displace_liqui_part_name = ''
1457
       let displace_liqui_part = this.displaceLiquiPartOptions
1459
       let displace_liqui_part = this.displaceLiquiPartOptions
1458
       for (let i = 0; i < displace_liqui_part.length; i++) {
1460
       for (let i = 0; i < displace_liqui_part.length; i++) {
1459
         if (displace_liqui_part[i].id == val) {
1461
         if (displace_liqui_part[i].id == val) {