Browse Source

打印单抗凝剂问题修改

XMLWAN 5 years ago
parent
commit
a03a291807

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

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

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

1207
         "hemodialysis",
1207
         "hemodialysis",
1208
         "dialysate_formulation"
1208
         "dialysate_formulation"
1209
       );
1209
       );
1210
-      //this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1210
+      // this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1211
       // console.log("0000000000", this.anticoagulantsConfit);
1211
       // console.log("0000000000", this.anticoagulantsConfit);
1212
       var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit;
1212
       var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit;
1213
       console.log("333", anticoagulantsConfitOne);
1213
       console.log("333", anticoagulantsConfitOne);
1607
       this.isVisibility = false;
1607
       this.isVisibility = false;
1608
     },
1608
     },
1609
     changeThisAnticoagulant: function(val) {
1609
     changeThisAnticoagulant: function(val) {
1610
-      console.log("val", val);
1610
+      // console.log("val", val);
1611
       //debugger;
1611
       //debugger;
1612
       // var thismode = parseInt(val);
1612
       // var thismode = parseInt(val);
1613
       var thismode = val;
1613
       var thismode = val;
1615
         return false;
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
       if (val < 2) {
1625
       if (val < 2) {
1627
         this.anticoagulant = this.anticoagulantsConfit[thismode - 1];
1626
         this.anticoagulant = this.anticoagulantsConfit[thismode - 1];
1628
       }
1627
       }
1630
         this.anticoagulant = this.anticoagulantsConfit[thismode - 2];
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
     handleCommit: function() {
1634
     handleCommit: function() {
1636
       console.log("aaaa----", this.dialysisPrescription.anticoagulant);
1635
       console.log("aaaa----", this.dialysisPrescription.anticoagulant);

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

753
                   <tr>
753
                   <tr>
754
                     <td width="40">肝素:</td>
754
                     <td width="40">肝素:</td>
755
                     <td width="75">
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
                     </td>
762
                     </td>
781
 
763
 
782
                     <td width="60">
764
                     <td width="60">
813
                     <td width="40">
795
                     <td width="40">
814
                       <div class="under-line">
796
                       <div class="under-line">
815
                         &nbsp;
797
                         &nbsp;
816
-                        <span>{{ prescription.anticoagulant_shouji }}</span>
798
+                        <span v-if="prescription.anticoagulant == 2">{{
799
+                          prescription.anticoagulant_shouji
800
+                        }}</span>
817
                       </div>
801
                       </div>
818
                     </td>
802
                     </td>
819
                     <td width="20">
803
                     <td width="20">
821
                       <span v-if="prescription.anticoagulant == 3">iu</span>
805
                       <span v-if="prescription.anticoagulant == 3">iu</span>
822
                       <span v-if="prescription.anticoagulant == 2">iu</span>
806
                       <span v-if="prescription.anticoagulant == 2">iu</span>
823
                       <span v-if="prescription.anticoagulant == 1">mg</span>
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
                     </td>
808
                     </td>
827
                     <td width="10"></td>
809
                     <td width="10"></td>
828
                     <td width="35">追加</td>
810
                     <td width="35">追加</td>
842
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
824
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
843
                       <span v-if="prescription.anticoagulant == 2">iu/h</span>
825
                       <span v-if="prescription.anticoagulant == 2">iu/h</span>
844
                       <span v-if="prescription.anticoagulant == 1">mg/h</span>
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
                     </td>
827
                     </td>
848
 
828
 
849
                     <td width="35">总量:</td>
829
                     <td width="35">总量:</td>
861
                       <span v-if="prescription.anticoagulant == 3">iu</span>
841
                       <span v-if="prescription.anticoagulant == 3">iu</span>
862
                       <span v-if="prescription.anticoagulant == 2">iu</span>
842
                       <span v-if="prescription.anticoagulant == 2">iu</span>
863
                       <span v-if="prescription.anticoagulant == 1">mg</span>
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
                     </td>
844
                     </td>
867
                     <td width="40"></td>
845
                     <td width="40"></td>
868
                   </tr>
846
                   </tr>
1441
                       <div style="display:flex;justify-content:space-between;">
1419
                       <div style="display:flex;justify-content:space-between;">
1442
                         <label-box
1420
                         <label-box
1443
                           :isChecked="
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
                           showValue="存在"
1424
                           showValue="存在"
1451
                         ></label-box>
1425
                         ></label-box>
1452
                         <label-box
1426
                         <label-box
1453
                           :isChecked="
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
                           showValue="减弱"
1430
                           showValue="减弱"
1461
                         ></label-box>
1431
                         ></label-box>
1462
                         <label-box
1432
                         <label-box
1463
                           :isChecked="
1433
                           :isChecked="
1464
-                            afterdialysis.internal_fistula.indexOf('震颤-无') >
1465
-                            -1
1466
-                              ? true
1467
-                              : false
1434
+                             afterdialysis.internal_fistula.indexOf('震颤-无')>-1 ? true : false
1468
                           "
1435
                           "
1469
                           showValue="不存在"
1436
                           showValue="不存在"
1470
                         ></label-box>
1437
                         ></label-box>
1527
                     <td width="40">肝素:</td>
1494
                     <td width="40">肝素:</td>
1528
                     <td width="30">A端</td>
1495
                     <td width="30">A端</td>
1529
                     <td width="30">
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
                     </td>
1502
                     </td>
1536
                     <td width="20">ml</td>
1503
                     <td width="20">ml</td>
1537
                     <td width="30">V端</td>
1504
                     <td width="30">V端</td>
1538
                     <td width="30">
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
                     </td>
1511
                     </td>
1543
                     <td width="20">ml</td>
1512
                     <td width="20">ml</td>
1544
                     <td></td>
1513
                     <td></td>
1562
                         ></label-box>
1531
                         ></label-box>
1563
                         <label-box
1532
                         <label-box
1564
                           :isChecked="
1533
                           :isChecked="
1565
-                            afterdialysis.complication.indexOf('头晕') > -1
1534
+                            afterdialysis.complication.indexOf('头晕') >
1535
+                            -1
1566
                               ? true
1536
                               ? true
1567
                               : false
1537
                               : false
1568
                           "
1538
                           "
1570
                         ></label-box>
1540
                         ></label-box>
1571
                         <label-box
1541
                         <label-box
1572
                           :isChecked="
1542
                           :isChecked="
1573
-                            afterdialysis.complication.indexOf('头痛') > -1
1543
+                            afterdialysis.complication.indexOf('头痛') >
1544
+                            -1
1574
                               ? true
1545
                               ? true
1575
                               : false
1546
                               : false
1576
                           "
1547
                           "
1578
                         ></label-box>
1549
                         ></label-box>
1579
                         <label-box
1550
                         <label-box
1580
                           :isChecked="
1551
                           :isChecked="
1581
-                            afterdialysis.complication.indexOf('呕吐') > -1
1552
+                            afterdialysis.complication.indexOf('呕吐') >
1553
+                            -1
1582
                               ? true
1554
                               ? true
1583
                               : false
1555
                               : false
1584
                           "
1556
                           "
1586
                         ></label-box>
1558
                         ></label-box>
1587
                         <label-box
1559
                         <label-box
1588
                           :isChecked="
1560
                           :isChecked="
1589
-                            afterdialysis.complication.indexOf('低血压') > -1
1561
+                            afterdialysis.complication.indexOf(
1562
+                              '低血压'
1563
+                            ) > -1
1590
                               ? true
1564
                               ? true
1591
                               : false
1565
                               : false
1592
                           "
1566
                           "
1595
                         <label-box showValue="发热"></label-box>
1569
                         <label-box showValue="发热"></label-box>
1596
                         <label-box
1570
                         <label-box
1597
                           :isChecked="
1571
                           :isChecked="
1598
-                            afterdialysis.complication.indexOf('抽搐') > -1
1572
+                            afterdialysis.complication.indexOf('抽搐') >
1573
+                            -1
1599
                               ? true
1574
                               ? true
1600
                               : false
1575
                               : false
1601
                           "
1576
                           "
1603
                         ></label-box>
1578
                         ></label-box>
1604
                         <label-box
1579
                         <label-box
1605
                           :isChecked="
1580
                           :isChecked="
1606
-                            afterdialysis.complication.indexOf('高血压') > -1
1581
+                            afterdialysis.complication.indexOf(
1582
+                              '高血压'
1583
+                            ) > -1
1607
                               ? true
1584
                               ? true
1608
                               : false
1585
                               : false
1609
                           "
1586
                           "
1611
                         ></label-box>
1588
                         ></label-box>
1612
                         <label-box
1589
                         <label-box
1613
                           :isChecked="
1590
                           :isChecked="
1614
-                            afterdialysis.complication.indexOf('心律失常') > -1
1591
+                            afterdialysis.complication.indexOf(
1592
+                              '心律失常'
1593
+                            ) > -1
1615
                               ? true
1594
                               ? true
1616
                               : false
1595
                               : false
1617
                           "
1596
                           "
1666
                       <div style="display:flex;justify-content:space-between;">
1645
                       <div style="display:flex;justify-content:space-between;">
1667
                         <label-box
1646
                         <label-box
1668
                           :isChecked="
1647
                           :isChecked="
1669
-                            afterdialysis.cruor.indexOf('透析器-0度') > -1
1670
-                              ? true
1671
-                              : false
1648
+                            afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false
1672
                           "
1649
                           "
1673
                           showValue="无"
1650
                           showValue="无"
1674
                         ></label-box>
1651
                         ></label-box>
1675
                         <label-box
1652
                         <label-box
1676
                           :isChecked="
1653
                           :isChecked="
1677
-                            afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1
1678
-                              ? true
1679
-                              : false
1654
+                             afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false
1680
                           "
1655
                           "
1681
                           showValue="+"
1656
                           showValue="+"
1682
                         ></label-box>
1657
                         ></label-box>
1683
                         <label-box
1658
                         <label-box
1684
                           :isChecked="
1659
                           :isChecked="
1685
-                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1
1686
-                              ? true
1687
-                              : false
1660
+                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') >  -1 ? true : false
1688
                           "
1661
                           "
1689
                           showValue="+ +"
1662
                           showValue="+ +"
1690
                         ></label-box>
1663
                         ></label-box>
1691
                         <label-box
1664
                         <label-box
1692
                           :isChecked="
1665
                           :isChecked="
1693
-                            afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1
1694
-                              ? true
1695
-                              : false
1666
+                            afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1  ? true : false
1696
                           "
1667
                           "
1697
                           showValue="+ + +"
1668
                           showValue="+ + +"
1698
                         ></label-box>
1669
                         ></label-box>
1701
                     <!--<td width="80"></td>-->
1672
                     <!--<td width="80"></td>-->
1702
                     <!--<td width="60">管路:</td>-->
1673
                     <!--<td width="60">管路:</td>-->
1703
                     <!--<td width="220">-->
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
                     <!--</td>-->
1689
                     <!--</td>-->
1719
                     <td></td>
1690
                     <td></td>
1720
                   </tr>
1691
                   </tr>
2006
             <td width="30">医生</td>
1977
             <td width="30">医生</td>
2007
             <td width="80">
1978
             <td width="80">
2008
               <div class="under-line">
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
               </div>
1983
               </div>
2017
             </td>
1984
             </td>
2018
             <td width="50">治疗护士</td>
1985
             <td width="50">治疗护士</td>

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

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

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

1005
                       </td>
1005
                       </td>
1006
                       <td
1006
                       <td
1007
                         v-if="
1007
                         v-if="
1008
-                          (prescription.mode_id == 2 ||
1008
+                          prescription.mode_id == 2 ||
1009
                             prescription.mode_id == 5 ||
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
                         width="50"
1013
                         width="50"
1014
                       >
1014
                       >
1055
                       <td></td>
1055
                       <td></td>
1056
                       <td
1056
                       <td
1057
                         v-if="
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
                         width="50"
1062
                         width="50"
1061
                       ></td>
1063
                       ></td>
2303
         );
2305
         );
2304
 
2306
 
2305
         this.prescription = response.data.data.dialysisPrescription;
2307
         this.prescription = response.data.data.dialysisPrescription;
2306
-
2308
+        // console.log("透析处方", this.prescription);
2307
         this.receiverTreatmentAccess =
2309
         this.receiverTreatmentAccess =
2308
           response.data.data.receiverTreatmentAccess;
2310
           response.data.data.receiverTreatmentAccess;
2309
         this.prescription.mode = this.modeName(this.prescription.mode_id);
2311
         this.prescription.mode = this.modeName(this.prescription.mode_id);