Browse Source

打印单抗凝剂问题修改

XMLWAN 5 years ago
parent
commit
a03a291807

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order.vue View File

@@ -654,7 +654,7 @@
654 654
                           "
655 655
                         ></check-box>
656 656
                         ( 首剂
657
-                        <div class="under_line" style="width: 30px;">
657
+                        <div class="under_line" style="width: 50px;">
658 658
                           {{
659 659
                             isCheckBoxChecked(
660 660
                               record.prescription,
@@ -666,7 +666,7 @@
666 666
                           }}
667 667
                         </div>
668 668
                         mg&nbsp; 维持
669
-                        <div class="under_line" style="width: 30px;">
669
+                        <div class="under_line" style="width: 50px;">
670 670
                           {{
671 671
                             isCheckBoxChecked(
672 672
                               record.prescription,

+ 9 - 10
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1207,7 +1207,7 @@ export default {
1207 1207
         "hemodialysis",
1208 1208
         "dialysate_formulation"
1209 1209
       );
1210
-      //this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1210
+      // this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1211 1211
       // console.log("0000000000", this.anticoagulantsConfit);
1212 1212
       var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit;
1213 1213
       console.log("333", anticoagulantsConfitOne);
@@ -1607,7 +1607,7 @@ export default {
1607 1607
       this.isVisibility = false;
1608 1608
     },
1609 1609
     changeThisAnticoagulant: function(val) {
1610
-      console.log("val", val);
1610
+      // console.log("val", val);
1611 1611
       //debugger;
1612 1612
       // var thismode = parseInt(val);
1613 1613
       var thismode = val;
@@ -1615,14 +1615,13 @@ export default {
1615 1615
         return false;
1616 1616
       }
1617 1617
 
1618
-      // if (
1619
-      //   typeof this.anticoagulantsConfit[thismode] === "undefined" ||
1620
-      //   this.anticoagulantsConfit[thismode] == null
1621
-      //  ) {
1622
-      //    return false;
1618
+      //if (
1619
+      // typeof this.anticoagulantsConfit[thismode] === "undefined" ||
1620
+      //  this.anticoagulantsConfit[thismode] == null
1621
+      // ) {
1622
+      //   return false;
1623 1623
       // }
1624
-      console.log("hhhh", this.anticoagulantsConfit);
1625
-      console.log("oooooo", this.anticoagulantsConfit[5]);
1624
+
1626 1625
       if (val < 2) {
1627 1626
         this.anticoagulant = this.anticoagulantsConfit[thismode - 1];
1628 1627
       }
@@ -1630,7 +1629,7 @@ export default {
1630 1629
         this.anticoagulant = this.anticoagulantsConfit[thismode - 2];
1631 1630
       }
1632 1631
 
1633
-      console.log("fffff", this.anticoagulant);
1632
+      //console.log("fffff", this.anticoagulant);
1634 1633
     },
1635 1634
     handleCommit: function() {
1636 1635
       console.log("aaaa----", this.dialysisPrescription.anticoagulant);

+ 60 - 93
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue View File

@@ -753,30 +753,12 @@
753 753
                   <tr>
754 754
                     <td width="40">肝素:</td>
755 755
                     <td width="75">
756
-                      <span v-if="prescription.anticoagulant == 3">
757
-                        <label-box
758
-                          :isChecked="
759
-                            prescription.anticoagulant == 3 ? true : false
760
-                          "
761
-                          showValue="低分子:"
762
-                        ></label-box>
763
-                      </span>
764
-                      <span v-if="prescription.anticoagulant == 6">
765
-                        <label-box
766
-                          :isChecked="
767
-                            prescription.anticoagulant == 6 ? true : false
768
-                          "
769
-                          showValue="低分子:"
770
-                        ></label-box>
771
-                      </span>
772
-                      <span v-if="prescription.anticoagulant == 7">
773
-                        <label-box
774
-                          :isChecked="
775
-                            prescription.anticoagulant == 7 ? true : false
776
-                          "
777
-                          showValue="低分子:"
778
-                        ></label-box>
779
-                      </span>
756
+                      <label-box
757
+                        :isChecked="
758
+                          prescription.anticoagulant == 3 ? true : false
759
+                        "
760
+                        showValue="低分子:"
761
+                      ></label-box>
780 762
                     </td>
781 763
 
782 764
                     <td width="60">
@@ -813,7 +795,9 @@
813 795
                     <td width="40">
814 796
                       <div class="under-line">
815 797
                         &nbsp;
816
-                        <span>{{ prescription.anticoagulant_shouji }}</span>
798
+                        <span v-if="prescription.anticoagulant == 2">{{
799
+                          prescription.anticoagulant_shouji
800
+                        }}</span>
817 801
                       </div>
818 802
                     </td>
819 803
                     <td width="20">
@@ -821,8 +805,6 @@
821 805
                       <span v-if="prescription.anticoagulant == 3">iu</span>
822 806
                       <span v-if="prescription.anticoagulant == 2">iu</span>
823 807
                       <span v-if="prescription.anticoagulant == 1">mg</span>
824
-                      <span v-if="prescription.anticoagulant == 6">iu</span>
825
-                      <span v-if="prescription.anticoagulant == 7">iu</span>
826 808
                     </td>
827 809
                     <td width="10"></td>
828 810
                     <td width="35">追加</td>
@@ -842,8 +824,6 @@
842 824
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
843 825
                       <span v-if="prescription.anticoagulant == 2">iu/h</span>
844 826
                       <span v-if="prescription.anticoagulant == 1">mg/h</span>
845
-                      <span v-if="prescription.anticoagulant == 6">iu/h</span>
846
-                      <span v-if="prescription.anticoagulant == 7">iu/h</span>
847 827
                     </td>
848 828
 
849 829
                     <td width="35">总量:</td>
@@ -861,8 +841,6 @@
861 841
                       <span v-if="prescription.anticoagulant == 3">iu</span>
862 842
                       <span v-if="prescription.anticoagulant == 2">iu</span>
863 843
                       <span v-if="prescription.anticoagulant == 1">mg</span>
864
-                      <span v-if="prescription.anticoagulant == 6">iu</span>
865
-                      <span v-if="prescription.anticoagulant == 7">iu</span>
866 844
                     </td>
867 845
                     <td width="40"></td>
868 846
                   </tr>
@@ -1441,30 +1419,19 @@
1441 1419
                       <div style="display:flex;justify-content:space-between;">
1442 1420
                         <label-box
1443 1421
                           :isChecked="
1444
-                            afterdialysis.internal_fistula.indexOf(
1445
-                              '震颤-存在'
1446
-                            ) > -1
1447
-                              ? true
1448
-                              : false
1422
+                           afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false
1449 1423
                           "
1450 1424
                           showValue="存在"
1451 1425
                         ></label-box>
1452 1426
                         <label-box
1453 1427
                           :isChecked="
1454
-                            afterdialysis.internal_fistula.indexOf(
1455
-                              '震颤-减弱'
1456
-                            ) > -1
1457
-                              ? true
1458
-                              : false
1428
+                            afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1? true : false
1459 1429
                           "
1460 1430
                           showValue="减弱"
1461 1431
                         ></label-box>
1462 1432
                         <label-box
1463 1433
                           :isChecked="
1464
-                            afterdialysis.internal_fistula.indexOf('震颤-无') >
1465
-                            -1
1466
-                              ? true
1467
-                              : false
1434
+                             afterdialysis.internal_fistula.indexOf('震颤-无')>-1 ? true : false
1468 1435
                           "
1469 1436
                           showValue="不存在"
1470 1437
                         ></label-box>
@@ -1527,18 +1494,20 @@
1527 1494
                     <td width="40">肝素:</td>
1528 1495
                     <td width="30">A端</td>
1529 1496
                     <td width="30">
1530
-                      <div class="under-line">
1531
-                        &nbsp;{{
1532
-                          afterdialysis.cvc_a ? afterdialysis.cvc_a : ""
1533
-                        }}
1534
-                      </div>
1497
+                      <div class="under-line">&nbsp;{{
1498
+                        afterdialysis.cvc_a
1499
+                        ? afterdialysis.cvc_a
1500
+                        : ""
1501
+                        }}</div>
1535 1502
                     </td>
1536 1503
                     <td width="20">ml</td>
1537 1504
                     <td width="30">V端</td>
1538 1505
                     <td width="30">
1539
-                      <div class="under-line">
1540
-                        {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "" }}
1541
-                      </div>
1506
+                      <div class="under-line">{{
1507
+                        afterdialysis.cvc_v
1508
+                        ? afterdialysis.cvc_v
1509
+                        : ""
1510
+                        }}</div>
1542 1511
                     </td>
1543 1512
                     <td width="20">ml</td>
1544 1513
                     <td></td>
@@ -1562,7 +1531,8 @@
1562 1531
                         ></label-box>
1563 1532
                         <label-box
1564 1533
                           :isChecked="
1565
-                            afterdialysis.complication.indexOf('头晕') > -1
1534
+                            afterdialysis.complication.indexOf('头晕') >
1535
+                            -1
1566 1536
                               ? true
1567 1537
                               : false
1568 1538
                           "
@@ -1570,7 +1540,8 @@
1570 1540
                         ></label-box>
1571 1541
                         <label-box
1572 1542
                           :isChecked="
1573
-                            afterdialysis.complication.indexOf('头痛') > -1
1543
+                            afterdialysis.complication.indexOf('头痛') >
1544
+                            -1
1574 1545
                               ? true
1575 1546
                               : false
1576 1547
                           "
@@ -1578,7 +1549,8 @@
1578 1549
                         ></label-box>
1579 1550
                         <label-box
1580 1551
                           :isChecked="
1581
-                            afterdialysis.complication.indexOf('呕吐') > -1
1552
+                            afterdialysis.complication.indexOf('呕吐') >
1553
+                            -1
1582 1554
                               ? true
1583 1555
                               : false
1584 1556
                           "
@@ -1586,7 +1558,9 @@
1586 1558
                         ></label-box>
1587 1559
                         <label-box
1588 1560
                           :isChecked="
1589
-                            afterdialysis.complication.indexOf('低血压') > -1
1561
+                            afterdialysis.complication.indexOf(
1562
+                              '低血压'
1563
+                            ) > -1
1590 1564
                               ? true
1591 1565
                               : false
1592 1566
                           "
@@ -1595,7 +1569,8 @@
1595 1569
                         <label-box showValue="发热"></label-box>
1596 1570
                         <label-box
1597 1571
                           :isChecked="
1598
-                            afterdialysis.complication.indexOf('抽搐') > -1
1572
+                            afterdialysis.complication.indexOf('抽搐') >
1573
+                            -1
1599 1574
                               ? true
1600 1575
                               : false
1601 1576
                           "
@@ -1603,7 +1578,9 @@
1603 1578
                         ></label-box>
1604 1579
                         <label-box
1605 1580
                           :isChecked="
1606
-                            afterdialysis.complication.indexOf('高血压') > -1
1581
+                            afterdialysis.complication.indexOf(
1582
+                              '高血压'
1583
+                            ) > -1
1607 1584
                               ? true
1608 1585
                               : false
1609 1586
                           "
@@ -1611,7 +1588,9 @@
1611 1588
                         ></label-box>
1612 1589
                         <label-box
1613 1590
                           :isChecked="
1614
-                            afterdialysis.complication.indexOf('心律失常') > -1
1591
+                            afterdialysis.complication.indexOf(
1592
+                              '心律失常'
1593
+                            ) > -1
1615 1594
                               ? true
1616 1595
                               : false
1617 1596
                           "
@@ -1666,33 +1645,25 @@
1666 1645
                       <div style="display:flex;justify-content:space-between;">
1667 1646
                         <label-box
1668 1647
                           :isChecked="
1669
-                            afterdialysis.cruor.indexOf('透析器-0度') > -1
1670
-                              ? true
1671
-                              : false
1648
+                            afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false
1672 1649
                           "
1673 1650
                           showValue="无"
1674 1651
                         ></label-box>
1675 1652
                         <label-box
1676 1653
                           :isChecked="
1677
-                            afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1
1678
-                              ? true
1679
-                              : false
1654
+                             afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false
1680 1655
                           "
1681 1656
                           showValue="+"
1682 1657
                         ></label-box>
1683 1658
                         <label-box
1684 1659
                           :isChecked="
1685
-                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1
1686
-                              ? true
1687
-                              : false
1660
+                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') >  -1 ? true : false
1688 1661
                           "
1689 1662
                           showValue="+ +"
1690 1663
                         ></label-box>
1691 1664
                         <label-box
1692 1665
                           :isChecked="
1693
-                            afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1
1694
-                              ? true
1695
-                              : false
1666
+                            afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1  ? true : false
1696 1667
                           "
1697 1668
                           showValue="+ + +"
1698 1669
                         ></label-box>
@@ -1701,20 +1672,20 @@
1701 1672
                     <!--<td width="80"></td>-->
1702 1673
                     <!--<td width="60">管路:</td>-->
1703 1674
                     <!--<td width="220">-->
1704
-                    <!--<div style="display:flex;justify-content:space-between;">-->
1705
-                    <!--<label-box showValue="无" :isChecked="-->
1706
-                    <!--afterdialysis.channel == 1 ? true : false-->
1707
-                    <!--"></label-box>-->
1708
-                    <!--<label-box showValue="+" :isChecked="-->
1709
-                    <!--afterdialysis.channel == 2 ? true : false-->
1710
-                    <!--"></label-box>-->
1711
-                    <!--<label-box showValue="+ +" :isChecked="-->
1712
-                    <!--afterdialysis.channel == 3  ? true : false-->
1713
-                    <!--"></label-box>-->
1714
-                    <!--<label-box showValue="+ + +" :isChecked="-->
1715
-                    <!--afterdialysis.channel == 4 ? true : false-->
1716
-                    <!--"></label-box>-->
1717
-                    <!--</div>-->
1675
+                      <!--<div style="display:flex;justify-content:space-between;">-->
1676
+                        <!--<label-box showValue="无" :isChecked="-->
1677
+                            <!--afterdialysis.channel == 1 ? true : false-->
1678
+                          <!--"></label-box>-->
1679
+                        <!--<label-box showValue="+" :isChecked="-->
1680
+                            <!--afterdialysis.channel == 2 ? true : false-->
1681
+                          <!--"></label-box>-->
1682
+                        <!--<label-box showValue="+ +" :isChecked="-->
1683
+                            <!--afterdialysis.channel == 3  ? true : false-->
1684
+                          <!--"></label-box>-->
1685
+                        <!--<label-box showValue="+ + +" :isChecked="-->
1686
+                            <!--afterdialysis.channel == 4 ? true : false-->
1687
+                          <!--"></label-box>-->
1688
+                      <!--</div>-->
1718 1689
                     <!--</td>-->
1719 1690
                     <td></td>
1720 1691
                   </tr>
@@ -2006,13 +1977,9 @@
2006 1977
             <td width="30">医生</td>
2007 1978
             <td width="80">
2008 1979
               <div class="under-line">
2009
-                &nbsp;
2010
-                <span v-if="doctorForm.url === ''">{{
2011
-                  doctorForm.doctor
2012
-                }}</span>
2013
-                <span v-if="doctorForm.url !== ''">
2014
-                  <img style="height:20px" :src="doctorForm.url" />
2015
-                </span>
1980
+                &nbsp
1981
+                <span v-if=" setAdminUserES(prescription.creater) == '' " >{{ getAdminUser(prescription.creater)}}</span >
1982
+                <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else  />
2016 1983
               </div>
2017 1984
             </td>
2018 1985
             <td width="50">治疗护士</td>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

@@ -614,7 +614,7 @@
614 614
                     </td>
615 615
                     <td width="10">(</td>
616 616
                     <td width="35">首剂</td>
617
-                    <td width="40">
617
+                    <td width="50">
618 618
                       <div class="under-line">
619 619
                         &nbsp;
620 620
                         <span v-if="prescription.anticoagulant == 2">{{
@@ -622,7 +622,7 @@
622 622
                         }}</span>
623 623
                       </div>
624 624
                     </td>
625
-                    <td width="20">mg</td>
625
+                    <td width="50">mg</td>
626 626
                     <td width="10"></td>
627 627
                     <td width="35">维持</td>
628 628
                     <td width="40">

+ 7 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1005,10 +1005,10 @@
1005 1005
                       </td>
1006 1006
                       <td
1007 1007
                         v-if="
1008
-                          (prescription.mode_id == 2 ||
1008
+                          prescription.mode_id == 2 ||
1009 1009
                             prescription.mode_id == 5 ||
1010
-                            precaution.mode_id == 12) &&
1011
-                            monitor.operate_time <= dialysisOrder.end_time
1010
+                            (prescription.mode_id == 12 &&
1011
+                              monitor.operate_time <= dialysisOrder.end_time)
1012 1012
                         "
1013 1013
                         width="50"
1014 1014
                       >
@@ -1055,7 +1055,9 @@
1055 1055
                       <td></td>
1056 1056
                       <td
1057 1057
                         v-if="
1058
-                          prescription.mode_id == 2 || prescription.mode_id == 5
1058
+                          prescription.mode_id == 2 ||
1059
+                            prescription.mode_id == 5 ||
1060
+                            prescription.mode_id == 12
1059 1061
                         "
1060 1062
                         width="50"
1061 1063
                       ></td>
@@ -2303,7 +2305,7 @@ export default {
2303 2305
         );
2304 2306
 
2305 2307
         this.prescription = response.data.data.dialysisPrescription;
2306
-
2308
+        // console.log("透析处方", this.prescription);
2307 2309
         this.receiverTreatmentAccess =
2308 2310
           response.data.data.receiverTreatmentAccess;
2309 2311
         this.prescription.mode = this.modeName(this.prescription.mode_id);