Bladeren bron

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

28169 4 dagen geleden
bovenliggende
commit
7f592be7da

+ 24 - 14
src/pages/main/template/DialysisPrintOrderSeventyeight.vue Bestand weergeven

@@ -456,7 +456,7 @@
456 456
                     超滤总量:
457 457
                     <div class="under_line" style="width: 50px; text-align: center">
458 458
                       {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
459
-                    </div>L
459
+                    </div>ml
460 460
                   </div>
461 461
                   <div class="inline_block" style="flex: 1">
462 462
                     透析时长:
@@ -668,12 +668,12 @@
668 668
                       <span v-if="prescription.anticoagulant == 13">iu</span>
669 669
 
670 670
                     </div>
671
-                    <div class="inline_block" style="flex: 1">
671
+                    <!-- <div class="inline_block" style="flex: 1">
672 672
                       透析机型:
673 673
                       <div class="under_line" style="width: 80px; text-align: center">
674 674
                         {{ predialysis.machine_type ? predialysis.machine_type : '' }}
675 675
                       </div>
676
-                    </div>
676
+                    </div> -->
677 677
                 </div>
678 678
 
679 679
                 <div class="row" style="">
@@ -1117,7 +1117,7 @@ import { getDialysisRecord } from '@/api/dialysis'
1117 1117
 import { getDataConfig } from '@/utils/data'
1118 1118
 import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
1119 1119
 import LabelBox from '../printItem/LabelBox'
1120
-
1120
+import {Dialog} from 'vant'
1121 1121
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1122 1122
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1123 1123
 import print from 'print-js'
@@ -1350,10 +1350,12 @@ export default {
1350 1350
       ){
1351 1351
         const obj30 = "透析器"
1352 1352
         checkDate.push(obj30)
1353
-      } if (this.predialysis.machine_type == 0) {
1354
-        const obj31 = "透析机型"
1355
-        checkDate.push(obj31)
1356
-      } if (this.dialysisOrder.DeviceNumber.number == 0) {
1353
+      } 
1354
+      // if (this.predialysis.machine_type == 0) {
1355
+      //   const obj31 = "透析机型"
1356
+      //   checkDate.push(obj31)
1357
+      // } 
1358
+      if (this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1357 1359
         const obj32 = "机号"
1358 1360
         checkDate.push(obj32)
1359 1361
       } if (this.prescription.anticoagulant_name == 0) {
@@ -2000,12 +2002,15 @@ export default {
2000 2002
     getcheckData(val){
2001 2003
       if(val.length >0){
2002 2004
         let message = `记录单未填数据:\n${val.join("\n")}`;
2003
-        Toast({
2004
-          duration:0,
2005
+        Dialog.confirm({
2006
+          allowHtml:true,
2005 2007
           message:message,
2006
-          closeOnClick:true,
2007
-          closeOnClickOverlay:true,
2008
-        })
2008
+        }).then(() => {
2009
+
2010
+          })
2011
+          .catch(() => {
2012
+
2013
+          });
2009 2014
         return message
2010 2015
       }else{
2011 2016
         this.$toast('核对完成');
@@ -2120,7 +2125,12 @@ export default {
2120 2125
 }
2121 2126
 </script>
2122 2127
 
2123
-<style>
2128
+<style >
2129
+#dialysis-print-box-1{
2130
+  margin-left: 10px;
2131
+    height: 70%;
2132
+    width: 90%;
2133
+}
2124 2134
 .print_page_main_content {
2125 2135
   background-color: white;
2126 2136
   width: 960px;

+ 13 - 1
src/pages/main/template/DialysisPrintOrderSix.vue Bestand weergeven

@@ -1478,7 +1478,19 @@
1478 1478
           </tr>
1479 1479
           </tbody>
1480 1480
         </table>
1481
-        <!-- <div  class="print-yema">1</div> -->
1481
+
1482
+        <div style="position: relative; left: 70%;top: 20px;">
1483
+          患者签名:
1484
+          <div class="under_line" style="width: 120px;">
1485
+            <img
1486
+              v-if="dialysisOrder.url!=''"
1487
+              style="height: 50px"
1488
+              :src="dialysisOrder == null? 0: dialysisOrder.url"
1489
+              alt=""
1490
+              srcset=""
1491
+            />
1492
+          </div>
1493
+        </div>
1482 1494
       </div>
1483 1495
     </div>
1484 1496
 

+ 69 - 83
src/pages/main/template/DialysisPrintOrderSixtyTwo.vue Bestand weergeven

@@ -7,8 +7,8 @@
7 7
         <div class="order-title">血液净化治疗记录单</div>
8 8
         <table class="print-table" border="1" style="margin-top: 10px;">
9 9
           <tr>
10
-            <td style="text-align: left; width: 170px" colspan="1">
11
-              <span style="display:inline-block;margin-left:15px">
10
+            <td style="text-align: left; width: 225px" colspan="1">
11
+              <span style="display:inline-block;margin-left:10px">
12 12
                 {{ queryParams.xtdate }}
13 13
               </span>
14 14
             </td>
@@ -102,7 +102,7 @@
102 102
           </tr>
103 103
           <tr>
104 104
             <td style="text-align: left" colspan="2">
105
-              <span style="display: inline-block; margin-left: 15px"
105
+              <span style="display: inline-block; margin-left: 10px"
106 106
                 >治疗方式:</span
107 107
               >
108 108
               <span
@@ -282,7 +282,7 @@
282 282
           </tr>
283 283
           <tr>
284 284
             <td style="text-align:left;" colspan="1">
285
-              <span style="display:inline-block;margin-left:15px;">
285
+              <span style="display:inline-block;margin-left:10px;">
286 286
                 干体重:
287 287
                 {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg
288 288
               </span>
@@ -325,7 +325,7 @@
325 325
           </tr>
326 326
           <tr>
327 327
             <td style="text-align: left" colspan="1">
328
-              <span style="display: inline-block; margin-left: 15px">
328
+              <span style="display: inline-block; margin-left: 10px">
329 329
                 设定脱水量:{{
330 330
                   prescription.target_ultrafiltration
331 331
                     ? prescription.target_ultrafiltration
@@ -334,7 +334,7 @@
334 334
               </span>
335 335
             </td>
336 336
             <td style="text-align: left" colspan="1">
337
-              <span style="display: inline-block; margin-left: 15px">
337
+              <span style="display: inline-block; margin-left: 10px">
338 338
                 <label-box
339 339
                   :isChecked="anticoagulant == 1 ? true : false"
340 340
                   showValue="无肝素"
@@ -342,38 +342,8 @@
342 342
               </span>
343 343
             </td>
344 344
             <td style="text-align: left" colspan="3">
345
-              <span style="display: inline-block; margin-left: 15px">
346
-                <span v-if="prescription.anticoagulant == 2"
347
-                  >普通肝素首剂:</span
348
-                >
349
-                <span v-if="prescription.anticoagulant == 3"
350
-                  >低分子肝素首剂:</span
351
-                >
352
-                <span v-if="prescription.anticoagulant == 4"
353
-                  >阿加曲班肝素首剂:</span
354
-                >
355
-                <span v-if="prescription.anticoagulant == 5"
356
-                  >枸橼酸钠肝素首剂:</span
357
-                >
358
-                <span v-if="prescription.anticoagulant == 6"
359
-                  >低分子肝素钙首剂:</span
360
-                >
361
-                <span v-if="prescription.anticoagulant == 7"
362
-                  >低分子肝素钠首剂:</span
363
-                >
364
-                <span v-if="prescription.anticoagulant == 8"
365
-                  >依诺肝素首剂:</span
366
-                >
367
-                <span v-if="prescription.anticoagulant == 9">达肝素首剂:</span>
368
-                <span v-if="prescription.anticoagulant == 10"
369
-                  >体外抗凝肝素首剂:</span
370
-                >
371
-                <span v-if="prescription.anticoagulant == 11"
372
-                  >那屈肝素首剂:</span
373
-                >
374
-                <span v-if="prescription.anticoagulant == 13"
375
-                  >那屈肝素钙首剂:</span
376
-                >
345
+              <span style="display: inline-block; margin-left: 10px">
346
+                {{ prescription.anticoagulant_name?prescription.anticoagulant_name:'' }}:
377 347
 
378 348
                 {{
379 349
                   prescription.anticoagulant_shouji
@@ -381,19 +351,12 @@
381 351
                     : "/"
382 352
                 }}
383 353
               </span>
384
-              <span v-if="prescription.anticoagulant == 5">iu</span>
385
-              <span v-if="prescription.anticoagulant == 13">iu</span>
386
-              <span v-if="prescription.anticoagulant == 11">iu</span>
387
-              <span v-if="prescription.anticoagulant == 8">iu</span>
388
-              <span v-if="prescription.anticoagulant == 7">iu</span>
389
-              <span v-if="prescription.anticoagulant == 6">iu</span>
390
-              <span v-if="prescription.anticoagulant == 4">mg</span>
391
-              <span v-if="prescription.anticoagulant == 3">iu</span>
392
-              <span v-if="prescription.anticoagulant == 2">mg</span>
393
-              <span v-if="prescription.anticoagulant == 1">mg</span>
354
+              <span v-if="prescription.anticoagulant !=0">
355
+                {{ getshoujiunit(prescription.anticoagulant) }}
356
+              </span>
394 357
             </td>
395 358
             <td style="text-align: left" colspan="1">
396
-              <span style="display: inline-block; margin-left: 15px">
359
+              <span style="display: inline-block; margin-left: 10px">
397 360
                 维持:
398 361
                 {{
399 362
                   prescription.anticoagulant_weichi
@@ -401,16 +364,10 @@
401 364
                     : "/"
402 365
                 }}
403 366
               </span>
404
-              <span v-if="prescription.anticoagulant == 13">iu/h</span>
405
-              <span v-if="prescription.anticoagulant == 11">iu/h</span>
406
-              <span v-if="prescription.anticoagulant == 8">iu/h</span>
407
-              <span v-if="prescription.anticoagulant == 7">iu/h</span>
408
-              <span v-if="prescription.anticoagulant == 6">iu/h</span>
409
-              <span v-if="prescription.anticoagulant == 5">ml/h</span>
410
-              <span v-if="prescription.anticoagulant == 4">mg/h</span>
411
-              <span v-if="prescription.anticoagulant == 3">iu/h</span>
412
-              <span v-if="prescription.anticoagulant == 2">mg/h</span>
413
-              <span v-if="prescription.anticoagulant == 1">mg/h</span>
367
+              <span v-if="prescription.anticoagulant !=0">
368
+                {{ getweichiunit(prescription.anticoagulant) }}
369
+              </span>
370
+             
414 371
             </td>
415 372
             <td style="text-align: left" colspan="1">
416 373
               <span style="display: inline-block; ">
@@ -421,21 +378,14 @@
421 378
                     : "/"
422 379
                 }}
423 380
               </span>
424
-              <span v-if="prescription.anticoagulant == 13">iu</span>
425
-              <span v-if="prescription.anticoagulant == 11">iu</span>
426
-              <span v-if="prescription.anticoagulant == 5">iu</span>
427
-              <span v-if="prescription.anticoagulant == 8">iu</span>
428
-              <span v-if="prescription.anticoagulant == 7">iu</span>
429
-              <span v-if="prescription.anticoagulant == 6">iu</span>
430
-              <span v-if="prescription.anticoagulant == 4">mg</span>
431
-              <span v-if="prescription.anticoagulant == 3">iu</span>
432
-              <span v-if="prescription.anticoagulant == 2">mg</span>
433
-              <span v-if="prescription.anticoagulant == 1">mg</span>
381
+              <span v-if="prescription.anticoagulant !=0">
382
+                {{ getzongliangunit(prescription.anticoagulant) }}
383
+              </span>
434 384
             </td>
435 385
           </tr>
436 386
           <tr>
437 387
             <td style="text-align: left" colspan="1">
438
-               <span style="display: inline-block; margin-left: 15px">
388
+               <span style="display: inline-block; margin-left: 10px">
439 389
                 透前体重:{{
440 390
                   predialysis.weight_before ? predialysis.weight_before : "/"
441 391
                 }}kg
@@ -481,7 +431,7 @@
481 431
           </tr>
482 432
           <tr>
483 433
             <td style="text-align:left;" colspan="1">
484
-              <span style="display:inline-block;margin-left:15px;">
434
+              <span style="display:inline-block;margin-left:10px;">
485 435
                 透后体重:
486 436
                 {{
487 437
                   afterdialysis.weight_after
@@ -543,7 +493,7 @@
543 493
           </tr>
544 494
           <tr>
545 495
             <td style="text-align: left" colspan="1">
546
-              <span style="display: inline-block; margin-left: 15px">
496
+              <span style="display: inline-block; margin-left: 10px">
547 497
                 责任护士:
548 498
                 <span
549 499
                   v-if="setAdminUserES(dialysisOrder.quality_nurse_id) == ''"
@@ -659,7 +609,7 @@
659 609
           </tr>
660 610
           <tr>
661 611
             <td style="text-align:left;" colspan="4">
662
-              <span style="display:inline-block;margin-left:15px;">
612
+              <span style="display:inline-block;margin-left:10px;">
663 613
                 透前评估: 入科方式:
664 614
                 <label-box
665 615
                   :isChecked="receiverTreatmentAccess.way == 1 ? true : false"
@@ -719,7 +669,7 @@
719 669
           </tr>
720 670
           <tr>
721 671
             <td colspan="2" style="text-align:left;">
722
-              <span style="display:inline-block;margin-left:15px;">食欲:</span>
672
+              <span style="display:inline-block;margin-left:10px;">食欲:</span>
723 673
               <label-box
724 674
                 :isChecked="
725 675
                   receiverTreatmentAccess.appetite == 1 ? true : false
@@ -781,7 +731,7 @@
781 731
           </tr>
782 732
           <tr>
783 733
             <td colspan="8" style="text-align:left;">
784
-              <span style="display:inline-block;margin-left:15px;">
734
+              <span style="display:inline-block;margin-left:10px;">
785 735
                 血管通路:内瘘波动及震颤: (
786 736
                 <!-- <label-box
787 737
                              v-for="(item,j) in arr"
@@ -876,7 +826,7 @@
876 826
           </tr>
877 827
           <tr>
878 828
             <td colspan="8" style="text-align:left;">
879
-              <span style="display:inline-block;margin-left:15px;"
829
+              <span style="display:inline-block;margin-left:10px;"
880 830
                 >中心静脉导管:</span
881 831
               >
882 832
               <!-- (部位:{{predialysis.blood_access_part_id}}) -->
@@ -952,7 +902,7 @@
952 902
           </tr>
953 903
           <tr>
954 904
             <td style="text-align:left;" colspan="8">
955
-              <span style="display:inline-block;margin-left:15px;">
905
+              <span style="display:inline-block;margin-left:10px;">
956 906
                 血管通路皮肤情况:
957 907
                 <label-box
958 908
                   :isChecked="
@@ -1305,7 +1255,7 @@
1305 1255
           </tr>
1306 1256
           <tr>
1307 1257
             <td style="text-align:left;" colspan="12">
1308
-              <span style="display:inline-block;margin-left:15px;"
1258
+              <span style="display:inline-block;margin-left:10px;"
1309 1259
                 >透析护理记录:{{ nursing_record }}</span
1310 1260
               >
1311 1261
             </td>
@@ -1424,7 +1374,7 @@
1424 1374
                     </tr> -->
1425 1375
           <tr>
1426 1376
             <td style="text-align:left;" colspan="2">
1427
-              <span style="display:inline-block;margin-left:15px;">
1377
+              <span style="display:inline-block;margin-left:10px;">
1428 1378
                 实际置换量:{{
1429 1379
                   afterdialysis.actual_displacement
1430 1380
                     ? afterdialysis.actual_displacement
@@ -1512,7 +1462,7 @@
1512 1462
                                 </span>
1513 1463
                             </td> -->
1514 1464
             <td style="text-align:left;" colspan="2">
1515
-              <span style="display: inline-block; margin-left: 15px">
1465
+              <span style="display: inline-block; margin-left: 10px">
1516 1466
                 下机护士:
1517 1467
                 <span
1518 1468
                   v-if="
@@ -1621,14 +1571,14 @@
1621 1571
           </tr>
1622 1572
           <tr>
1623 1573
             <td style="text-align:left;" colspan="6">
1624
-              <span style="display:inline-block;margin-left:15px;"
1574
+              <span style="display:inline-block;margin-left:10px;"
1625 1575
                 >特殊记录:{{ summary.special_record }}
1626 1576
               </span>
1627 1577
             </td>
1628 1578
           </tr>
1629 1579
           <tr>
1630 1580
             <td style="text-align:left;" colspan="6">
1631
-              <span style="display:inline-block;margin-left:15px;"
1581
+              <span style="display:inline-block;margin-left:10px;"
1632 1582
                 >透析小结:{{
1633 1583
                   summary.dialysis_summary ? summary.dialysis_summary : ""
1634 1584
                 }}</span
@@ -2449,7 +2399,43 @@ export default {
2449 2399
           // checker: 0,
2450 2400
         }
2451 2401
       );
2452
-    }
2402
+    },
2403
+    getshoujiunit(val){
2404
+      const options = this.anticoagulantsConfit
2405
+      if(val != ''){
2406
+        for(let i in options){
2407
+          if(val == options[i].id){
2408
+            return options[i].shouji_unit
2409
+          }
2410
+        }
2411
+      }else{
2412
+        return ''
2413
+      }
2414
+    },
2415
+    getweichiunit(val){
2416
+      const options = this.anticoagulantsConfit
2417
+      if(val != ''){
2418
+        for(let i in options){
2419
+          if(val == options[i].id){
2420
+            return options[i].weichi_unit
2421
+          }
2422
+        }
2423
+      }else{
2424
+        return ''
2425
+      }
2426
+    },
2427
+    getzongliangunit(val){
2428
+      const options = this.anticoagulantsConfit
2429
+      if(val != ''){
2430
+        for(let i in options){
2431
+          if(val == options[i].id){
2432
+            return options[i].zongliang_unit
2433
+          }
2434
+        }
2435
+      }else{
2436
+        return ''
2437
+      }
2438
+    },
2453 2439
   },
2454 2440
   watch: {
2455 2441
     "patientInfo.gender": function() {

+ 18 - 28
src/pages/main/template/DialysisPrintOrderThirtyOne.vue Bestand weergeven

@@ -472,8 +472,11 @@
472 472
                 <td>&nbsp;{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
473 473
                 <td>&nbsp;{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}</td>
474 474
                 <td>&nbsp;
475
-                  <span v-if="monitor.operate_time <= dialysisOrder.end_time">
476
-                    {{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'0'}}
475
+                  <span v-if="monitor.ultrafiltration_volume !=''">
476
+                    {{monitor.ultrafiltration_volume==0 && monitor.id?'':monitor.ultrafiltration_volume}}
477
+                  </span>
478
+                  <span v-if="monitor.operate_time <= dialysisOrder.end_time && monitor.ultrafiltration_volume ==''">
479
+                    0
477 480
                   </span>
478 481
                   
479 482
                 </td>
@@ -482,8 +485,11 @@
482 485
                 <td>&nbsp;{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ''}}</td>
483 486
                 <!-- <td>&nbsp; <span v-if="monitor.operate_time"> {{ monitor.dialysate_flow ? monitor.dialysate_flow : "" }} </span></td> -->
484 487
                 <td>&nbsp;
485
-                  <span v-if="monitor.operate_time <= dialysisOrder.end_time">
486
-                    {{monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:'0'}}
488
+                  <span v-if="monitor.ultrafiltration_rate !=''">
489
+                    {{monitor.ultrafiltration_rate?monitor.ultrafiltration_rate:''}}
490
+                  </span>
491
+                  <span v-if="monitor.operate_time <= dialysisOrder.end_time && monitor.ultrafiltration_rate ==''">
492
+                    0
487 493
                   </span>
488 494
                 </td>
489 495
                 <td>
@@ -541,27 +547,20 @@
541 547
                           </span>L
542 548
                         </div>
543 549
                       </td>
544
-                      <!-- <td width="70" style="border:none;padding-left:5px">透后症状:</td>
545
-                      <td width="120" style="text-align:left;border:none;">
546
-                        <div>
547
-                          <span class="under_line" style="width:100px;display:inline-block">
548
-                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
549
-                          </span>
550
-                        </div>
551
-                      </td> -->
550
+                      <!--  -->
552 551
                       
553 552
                     </tr>
554 553
                   </tbody>
555 554
                 </table>
556
-                <!-- <table class="table-box">
555
+                <table class="table-box" v-if='org_id !=10727'>
557 556
                   <tbody>
558 557
                     <tr style="height:30px;line-height:30px;">
559
-                      <td width="80" style="border:none;padding-left:5px">实际置换量:</td>
560
-                      <td width="60" style="text-align:left;border:none;">
558
+                      <td width="70" style="border:none;padding-left:5px">透后症状:</td>
559
+                      <td width="120" style="text-align:left;border:none;">
561 560
                         <div>
562
-                          <span class="under_line" style="width:50px;display:inline-block">
563
-                            {{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
564
-                          </span>L
561
+                          <span class="under_line" style="width:100px;display:inline-block">
562
+                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
563
+                          </span>
565 564
                         </div>
566 565
                       </td>
567 566
                       <td width="120" style="border:none;padding-left:5px">透析期间进食:</td>
@@ -574,18 +573,9 @@
574 573
                         </div>
575 574
                       </td>
576 575
                       <td width='20'></td>
577
-                      <td width="70" style="border:none;padding-left:5px">透析进食:</td>
578
-                      <td width="70" style="text-align:left;border:none;">
579
-                        <div>
580
-                          <span class="under_line" style="width:50px;display:inline-block">
581
-                            {{ afterdialysis.is_eat == 1 && afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }}
582
-                          </span>g
583
-                        </div>
584
-                      </td>
585
-                      <td></td>
586 576
                     </tr>
587 577
                   </tbody>
588
-                </table> -->
578
+                </table>
589 579
                 <table class="table-box">
590 580
                   <tbody>
591 581
                     <tr>