Browse Source

11月26 检验检查

yq1 4 months ago
parent
commit
bf2ec4b568

+ 41 - 34
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue View File

@@ -25,7 +25,7 @@
25 25
               {{ orgname }}<br/>血液净化治疗记录单
26 26
             </div>
27 27
           </div>
28
-          
28
+
29 29
           <div class="row" style="display: flex">
30 30
             <div class="inline_block" style="flex: 1;">
31 31
               姓名:
@@ -150,7 +150,7 @@
150 150
                         透析机型号:
151 151
                         <div class="under_line" style="width: 60%; text-align: center">
152 152
                           <span v-if="record.bed_id !=0 && record.bed_id !=''">
153
-                            {{ getnumberlist(record.bed_id) }} 
153
+                            {{ getnumberlist(record.bed_id) }}
154 154
                           </span>
155 155
                         </div>
156 156
                       </div>
@@ -258,7 +258,7 @@
258 258
                           }}
259 259
                         </div>
260 260
                       </div>
261
-                      
261
+
262 262
                       <div class="inline_block" style="flex: 1">
263 263
                         导管:
264 264
                         <div class="under_line"
@@ -341,7 +341,7 @@
341 341
                         干体重:
342 342
                         <div class="under_line" style="width: 100px; text-align: center">
343 343
                           {{
344
-                            record.assessment_before_dislysis.dry_weight 
344
+                            record.assessment_before_dislysis.dry_weight
345 345
                             ? record.assessment_before_dislysis.dry_weight : "/"
346 346
                           }}
347 347
                         </div>
@@ -403,7 +403,7 @@
403 403
                           style="width: 50px; text-align: center"
404 404
                         >
405 405
                         {{ record.prescription.kalium ? record.prescription.kalium : "/" }}
406
-                        
406
+
407 407
                         </div>
408 408
                         mmol/L
409 409
                       </div>
@@ -419,11 +419,11 @@
419 419
                         <div class="under_line"
420 420
                           style="width: 35px; text-align: center"
421 421
                         >
422
-                        <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>                     
422
+                        <span> {{ record.prescription.calcium ? record.prescription.calcium : "/" }}</span>
423 423
                         </div>
424 424
                         mmol/L
425 425
                       </div>
426
-                      
426
+
427 427
                       <div class="inline_block" style="flex: 1;">
428 428
                         碳酸氢根:
429 429
                         <div class="under_line"
@@ -433,11 +433,11 @@
433 433
                             record.prescription.bicarbonate ? record.prescription.bicarbonate : "/"
434 434
                           }}
435 435
                           </span>
436
-                          
436
+
437 437
                         </div>
438 438
                         mmol/L
439 439
                       </div>
440
-                      
440
+
441 441
                     </div>
442 442
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
443 443
                       <div class="inline_block" style="flex: 1;">
@@ -467,7 +467,7 @@
467 467
                         <span v-if="record.prescription.anticoagulant!=0">
468 468
                           {{ getshouji(record.prescription.anticoagulant) }}
469 469
                         </span>
470
-                        
470
+
471 471
                       </div>
472 472
                       <div class="inline_block" style="flex: 1;">
473 473
                         追加:
@@ -483,7 +483,7 @@
483 483
                         <span v-if="record.prescription.anticoagulant!=0">
484 484
                           {{ getweichi(record.prescription.anticoagulant) }}
485 485
                         </span>
486
-                        
486
+
487 487
                       </div>
488 488
                       <div class="inline_block" style="flex: 1;"
489 489
                         v-if="record.prescription.anticoagulant == 5"
@@ -532,7 +532,7 @@
532 532
                         <span v-if="record.prescription.anticoagulant!=0">
533 533
                           {{ getzongliang(record.prescription.anticoagulant) }}
534 534
                         </span>
535
-                        
535
+
536 536
                       </div>
537 537
                     </div>
538 538
                     <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
@@ -553,7 +553,7 @@
553 553
                             alt="" srcset="" v-else style="height: 30px"
554 554
                           />
555 555
                         </div>
556
-                        
556
+
557 557
                       </div>
558 558
                     </div>
559 559
                   </td>
@@ -612,7 +612,7 @@
612 612
                                 : ""
613 613
                             }}
614 614
                           </td>
615
-                          
615
+
616 616
                           <td>{{ monitor_record.pulse_frequency? monitor_record.pulse_frequency: ""}}</td>
617 617
                           <td>{{monitor_record.blood_flow_volume? monitor_record.blood_flow_volume: ""}}</td>
618 618
                           <td>
@@ -964,7 +964,7 @@
964 964
               </div>
965 965
             </div>
966 966
             <div class="row">
967
-              
967
+
968 968
               <div class="inline_block" style="margin-left: 10px">
969 969
                 诊断:
970 970
                 <div
@@ -1042,7 +1042,7 @@
1042 1042
                               : "/"
1043 1043
                           }} -->
1044 1044
                           <span v-if="record.monitor_records.length>0">
1045
-                            {{ 
1045
+                            {{
1046 1046
                               record.monitor_records[record.monitor_records.length-1].systolic_blood_pressure ?
1047 1047
                               record.monitor_records[record.monitor_records.length-1].systolic_blood_pressure :'/'
1048 1048
                             }}
@@ -1059,7 +1059,7 @@
1059 1059
                               : "/"
1060 1060
                           }} -->
1061 1061
                           <span v-if="record.monitor_records.length>0">
1062
-                            {{ 
1062
+                            {{
1063 1063
                               record.monitor_records[record.monitor_records.length-1].diastolic_blood_pressure ?
1064 1064
                               record.monitor_records[record.monitor_records.length-1].diastolic_blood_pressure : '/'
1065 1065
                             }}
@@ -1193,11 +1193,18 @@
1193 1193
                         <div class="under_line"
1194 1194
                           style="width: 70px; text-align: center"
1195 1195
                         >
1196
-                          {{
1196
+                          <span v-if="record.monitor_records[record.monitor_records.length - 1].ultrafiltration_volume !=''">
1197
+                            {{ (record.monitor_records[record.monitor_records.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
1198
+                          </span>
1199
+                          <span v-else>
1200
+                            {{ record.assessment_after_dislysis.actual_ultrafiltration
1201
+                              ? record.assessment_after_dislysis.actual_ultrafiltration : '/' }}
1202
+                          </span>
1203
+                          <!-- {{
1197 1204
                             record.assessment_after_dislysis.actual_ultrafiltration
1198 1205
                               ? record.assessment_after_dislysis.actual_ultrafiltration
1199 1206
                               : "/"
1200
-                          }}
1207
+                          }} -->
1201 1208
                         </div>
1202 1209
                         L
1203 1210
                       </div>
@@ -1244,7 +1251,7 @@
1244 1251
                         </div>
1245 1252
                       </div>
1246 1253
                     </div>
1247
-            
1254
+
1248 1255
                   </td>
1249 1256
                 </tr>
1250 1257
                 <tr>
@@ -1279,7 +1286,7 @@
1279 1286
                         />
1280 1287
                         </div>
1281 1288
                       </div>
1282
-                     
1289
+
1283 1290
                       <div class="inline_block" style="flex: 1">
1284 1291
                         核对护士:
1285 1292
                         <div
@@ -1407,7 +1414,7 @@
1407 1414
                           v-if="!record.check"
1408 1415
                         ></div> -->
1409 1416
                       </div>
1410
- 
1417
+
1411 1418
                       <div class="inline_block" style="flex: 1">
1412 1419
                         下机护士:
1413 1420
                         <div class="under_line"
@@ -1453,8 +1460,8 @@
1453 1460
                         <div class="under_line" style="width: 64%; text-align: center">
1454 1461
                           <span style="height: 30px;display: inline-block;"></span>
1455 1462
                           <span v-if="record.dialysis_order !=null">
1456
-                            {{getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") ? 
1457
-                            getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") :''}} 
1463
+                            {{getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") ?
1464
+                            getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") :''}}
1458 1465
                           </span>
1459 1466
                         </div>
1460 1467
                       </div>
@@ -1464,7 +1471,7 @@
1464 1471
                           <span style="height: 30px; display: inline-block">
1465 1472
                           </span>
1466 1473
                           <span v-if="record.dialysis_order!=null">
1467
-                            {{ getTime(record.dialysis_order.end_time, "{y}-{m}-{d} {h}:{i}") ? 
1474
+                            {{ getTime(record.dialysis_order.end_time, "{y}-{m}-{d} {h}:{i}") ?
1468 1475
                             getTime(record.dialysis_order.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}
1469 1476
                           </span>
1470 1477
                         </div>
@@ -1553,7 +1560,7 @@ export default {
1553 1560
     };
1554 1561
   },
1555 1562
   created() {
1556
-   
1563
+
1557 1564
     var bloodAccessParOpera = getDataConfig(
1558 1565
       "hemodialysis",
1559 1566
       "vascular_access_desc"
@@ -1589,7 +1596,7 @@ export default {
1589 1596
     // }
1590 1597
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
1591 1598
 
1592
-   
1599
+
1593 1600
 
1594 1601
     this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
1595 1602
 
@@ -1855,7 +1862,7 @@ export default {
1855 1862
 
1856 1863
 
1857 1864
           if(this.records!=null && this.records.length>0){
1858
-           
1865
+
1859 1866
             for(let i=0;i<this.records.length;i++){
1860 1867
               this.records[i].new_his_advices = []
1861 1868
                 for(let j=0;j<this.records[i].his_advices.length;j++){
@@ -1957,13 +1964,13 @@ export default {
1957 1964
     const birthYear = parseInt(idNumber.substring(6, 10), 10);
1958 1965
     const birthMonth = parseInt(idNumber.substring(10, 12), 10);
1959 1966
     const birthDay = parseInt(idNumber.substring(12, 14), 10);
1960
- 
1967
+
1961 1968
     const today = new Date();
1962 1969
     // console.log("today============",today)
1963 1970
     var ageYear = year - birthYear;
1964 1971
     let ageMonth = month - birthMonth; // 月份是从0开始的
1965 1972
     let ageDay = day - birthDay;
1966
- 
1973
+
1967 1974
     // 调整月份和日期,以便于正确计算
1968 1975
       if (ageDay < 0) {
1969 1976
           ageMonth -= 1;
@@ -1975,8 +1982,8 @@ export default {
1975 1982
           ageYear -= 1;
1976 1983
           ageMonth += 12;
1977 1984
       }
1978
-   
1979
-     return ageYear 
1985
+
1986
+     return ageYear
1980 1987
     },
1981 1988
     getTimeOne(val) {
1982 1989
       return uParseTime(val, "{y}");
@@ -2017,7 +2024,7 @@ export default {
2017 2024
       if(id != 0){
2018 2025
         for(let i in options){
2019 2026
           if(id == options[i].id){
2020
-            console.log('anticoagulantsConfit11111',id); 
2027
+            console.log('anticoagulantsConfit11111',id);
2021 2028
             return options[i].shouji_unit
2022 2029
           }
2023 2030
         }
@@ -2306,7 +2313,7 @@ export default {
2306 2313
            name = this.bloodAccessParOpera[i].name
2307 2314
         }
2308 2315
       }
2309
-      
2316
+
2310 2317
       return name
2311 2318
       // if (id in this.bloodAccessParOpera) {
2312 2319
 

+ 26 - 7
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

@@ -882,7 +882,7 @@
882 882
                             : "/"
883 883
                         }} -->
884 884
                           <span v-if="monitors.length>0">
885
-                            {{ 
885
+                            {{
886 886
                               monitors[monitors.length-1].systolic_blood_pressure ?
887 887
                               monitors[monitors.length-1].systolic_blood_pressure :"/"
888 888
                             }}
@@ -900,7 +900,7 @@
900 900
                             : "/"
901 901
                         }} -->
902 902
                         <span v-if="monitors.length>0">
903
-                          {{ 
903
+                          {{
904 904
                             monitors[monitors.length-1].diastolic_blood_pressure ?
905 905
                               monitors[monitors.length-1].diastolic_blood_pressure :"/"
906 906
                           }}
@@ -1049,11 +1049,13 @@
1049 1049
                       <div class="under_line"
1050 1050
                         style="width: 70px; text-align: center"
1051 1051
                       >
1052
-                        {{
1053
-                          afterdialysis.actual_ultrafiltration
1054
-                            ? afterdialysis.actual_ultrafiltration
1055
-                            : "/"
1056
-                        }}
1052
+                        <span v-if="monitors[monitors.length - 1].ultrafiltration_volume !=''">
1053
+                          {{ (monitors[monitors.length - 1].ultrafiltration_volume/1000).toFixed(1) }}
1054
+                        </span>
1055
+                        <span v-else>
1056
+                          {{ afterdialysis.actual_ultrafiltration
1057
+                            ? afterdialysis.actual_ultrafiltration : '/' }}
1058
+                        </span>
1057 1059
                       </div>
1058 1060
                       L
1059 1061
                     </div>
@@ -2738,7 +2740,24 @@ export default {
2738 2740
 
2739 2741
      return ageYear
2740 2742
     },
2743
+    // getmonitor(){
2744
+    //   const options = this.monitors
2745
+    //   console.log('1111111111',this.monitors,this.dialysisOrder.end_time);
2746
+
2747
+    //   if(this.dialysisOrder.end_time !=''){
2748
+    //     for(let i in options){
2749
+    //       console.log('222222',options[i].operate_time==this.dialysisOrder.end_time);
2750
+
2751
+    //       if(options[i].operate_time == this.dialysisOrder.end_time){
2752
+
2753
+    //         console.log('444445555',options[i].ultrafiltration_volume);
2754
+    //         return options[i].ultrafiltration_volume
2755
+    //       }
2756
+    //     }
2757
+    //   }
2741 2758
 
2759
+    //   // for(v-for="(monitor, monindex) in monitors" :key="monindex" style="")
2760
+    // }
2742 2761
   },
2743 2762
   watch: {
2744 2763
     "patientInfo.gender": function () {