Przeglądaj źródła

11月18日,打印单

yq1 4 dni temu
rodzic
commit
1ae1618f48

+ 24 - 14
src/pages/main/template/DialysisPrintOrderSeventyeight.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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() {