yq1 7 mesi fa
parent
commit
250bde6bbb

+ 49 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue Vedi File

@@ -557,28 +557,31 @@
557 557
                     <tr>
558 558
                       <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
559 559
                       <td width="220" style="text-align:left;border:none;">
560
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器0' ? true : false) :false" showValue="0"></label-box>
561
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器+' ? true : false) :false" showValue="+"></label-box>
562
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器++' ? true : false) :false" showValue="+ +"></label-box>
563
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器+++' ? true : false) :false" showValue="+ + +"></label-box>
564
-                        <!-- <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器0') > -1 ? true : false) :false" showValue="0"></label-box>
565
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+') > -1 ? true : false) :false" showValue="+"></label-box>
566
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器++')> -1 ? true : false) :false" showValue="+ +"></label-box>
567
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+++')> -1 ? true : false) :false" showValue="+ + +"></label-box> -->
560
+                        <span class="under_line" style="width:100px;display:inline-block">
561
+                          {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
562
+                        </span>
568 563
                       </td>
569 564
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
570 565
                       <td width="220" style="text-align:left;border:none;">
571
-                        <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
566
+                        <span class="under_line" style="width:100px;display:inline-block">
567
+                          {{  getintravenous(afterdialysis.intravenous_tube) }}
568
+                        </span>
569
+                        
570
+                        <!-- <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
572 571
                         <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
573 572
                         <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
574
-                        <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
573
+                        <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
575 574
                       </td>
576 575
                       <td width="90" style="border:none;padding-left:5px">动脉管道:</td>
577 576
                       <td width="220" style="text-align:left;border:none;">
578
-                        <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
577
+                        <span class="under_line" style="width:100px;display:inline-block">
578
+                          {{ getarterial(afterdialysis.arterial_tube) }}
579
+                        </span>
580
+                        
581
+                        <!-- <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
579 582
                         <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
580 583
                         <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
581
-                        <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
584
+                        <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
582 585
                       </td>
583 586
                       <td></td>
584 587
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
@@ -830,7 +833,9 @@ export default {
830 833
         finish_nurse: '',
831 834
         url: ''
832 835
       },
833
-      displaceLiquiPartOptions: []
836
+      displaceLiquiPartOptions: [],
837
+      arterial_tube:[],
838
+      intravenous_tube:[],
834 839
     }
835 840
   },
836 841
   methods: {
@@ -1745,7 +1750,31 @@ export default {
1745 1750
       }else{
1746 1751
         this.$message.success('核对完成')
1747 1752
       }
1748
-    }
1753
+    },
1754
+    getarterial(val){
1755
+      const options = this.arterial_tube
1756
+      if(val !=''){
1757
+        for(let i in options){
1758
+          if(val == options[i].id){
1759
+            return options[i].name
1760
+          }
1761
+        }
1762
+      }else{
1763
+        return ''
1764
+      }
1765
+    },
1766
+    getintravenous(val){
1767
+      const options = this.intravenous_tube
1768
+      if(val !=''){
1769
+        for(let i in options){
1770
+          if(val == options[i].id){
1771
+            return options[i].name
1772
+          }
1773
+        }
1774
+      }else{
1775
+        return ''
1776
+      }
1777
+    },
1749 1778
   },
1750 1779
   watch: {
1751 1780
     'patientInfo.gender': function() {
@@ -1781,6 +1810,10 @@ export default {
1781 1810
     this.replacementWays = this.$store.getters.replacement_ways
1782 1811
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1783 1812
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1813
+    this.arterial_tube =  this.$store.getters.arterial_tube
1814
+    this.intravenous_tube = this.$store.getters.intravenous_tube
1815
+    console.log('intravenous_tube',this.intravenous_tube);
1816
+    
1784 1817
 
1785 1818
     this.way_arr = getDataConfig('hemodialysis', 'way')
1786 1819
     this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
@@ -1898,13 +1931,13 @@ export default {
1898 1931
   width: 50%;
1899 1932
 }
1900 1933
 
1901
-.under_line::before {
1934
+/* .under_line::before {
1902 1935
   content: "\00A0";
1903 1936
 }
1904 1937
 
1905 1938
 .under_line::after {
1906 1939
   content: "\00A0";
1907
-}
1940
+} */
1908 1941
 
1909 1942
 .flex {
1910 1943
   display: -webkit-box;