Selaa lähdekoodia

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

28169 3 viikkoa sitten
vanhempi
commit
29e0bf55c2

+ 2 - 2
src/pages/main/template/DialysisPrintOrderSeventyeight.vue Näytä tiedosto

@@ -1023,9 +1023,9 @@
1023 1023
                   </div>
1024 1024
                   min
1025 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 1029
                     {{summary.mission ? summary.mission:'/'}}
1030 1030
                   </div>
1031 1031
                 </div>

+ 57 - 55
src/pages/main/template/DialysisPrintOrdereighty.vue Näytä tiedosto

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