Browse Source

10月30日,杏康

yq1 3 months ago
parent
commit
9fcbd6c6af
1 changed files with 56 additions and 21 deletions
  1. 56 21
      src/pages/main/template/DialysisPrintOrderThirtyOne.vue

+ 56 - 21
src/pages/main/template/DialysisPrintOrderThirtyOne.vue View File

553
                     <tr>
553
                     <tr>
554
                       <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
554
                       <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
555
                       <td width="220" style="text-align:left;border:none;">
555
                       <td width="220" style="text-align:left;border:none;">
556
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器0') > -1 ? true : false) :false" showValue="0"></label-box>
557
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+') > -1 ? true : false) :false" showValue="+"></label-box>
558
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器++') > -1 ? true : false) :false" showValue="+ +"></label-box>
559
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+++') > -1 ? true : false) :false" showValue="+ + +"></label-box>
556
+                        <span class="under_line" style="width:100px;display:inline-block">
557
+                          {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
558
+                        </span>
560
                       </td>
559
                       </td>
561
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
560
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
562
                       <td width="220" style="text-align:left;border:none;">
561
                       <td width="220" style="text-align:left;border:none;">
563
-                        <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
562
+                        <span class="under_line" style="width:100px;display:inline-block">
563
+                          {{  getintravenous(afterdialysis.intravenous_tube) }}
564
+                        </span>
565
+                        <!-- <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
564
                         <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
566
                         <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
565
                         <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
567
                         <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
566
-                        <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
568
+                        <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
567
                       </td>
569
                       </td>
568
                       <td width="90" style="border:none;padding-left:5px">动脉管道:</td>
570
                       <td width="90" style="border:none;padding-left:5px">动脉管道:</td>
569
                       <td width="220" style="text-align:left;border:none;">
571
                       <td width="220" style="text-align:left;border:none;">
570
-                        <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
572
+                        <span class="under_line" style="width:100px;display:inline-block">
573
+                          {{ getarterial(afterdialysis.arterial_tube) }}
574
+                        </span>
575
+                        <!-- <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
571
                         <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
576
                         <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
572
                         <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
577
                         <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
573
-                        <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
578
+                        <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp; -->
574
                       </td>
579
                       </td>
575
                       <td></td>
580
                       <td></td>
576
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
581
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
582
                   <tbody>
587
                   <tbody>
583
                     <tr style="height:30px;line-height:30px;">
588
                     <tr style="height:30px;line-height:30px;">
584
                       <td width="50" style="border:none;padding-left:5px;">内瘘:</td>
589
                       <td width="50" style="border:none;padding-left:5px;">内瘘:</td>
585
-                      <td width="150" colspan="3" style="text-align:left;border:none;">
590
+                      <td width="400" colspan="3" style="text-align:left;border:none;">
586
                         <div>
591
                         <div>
587
-                          <span class="under_line" style="width:150px;display:inline-block;">
592
+                          <span class="under_line" style="width:300px;display:inline-block;">
588
                             {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
593
                             {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
589
                           </span>
594
                           </span>
590
                         </div>
595
                         </div>
599
                           </span>
604
                           </span>
600
                         </div>
605
                         </div>
601
                       </td>
606
                       </td>
602
-                      <td></td>
607
+                      <!-- <td></td> -->
603
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
608
                       <!-- <td width="10" style="text-align:left;border:none;"></td>
604
                       <td width="110" style="text-align:left;border:none;"></td> -->
609
                       <td width="110" style="text-align:left;border:none;"></td> -->
605
                       <!-- <td width="110" style="text-align:left;border:none;"></td> -->
610
                       <!-- <td width="110" style="text-align:left;border:none;"></td> -->
629
           </tr>
634
           </tr>
630
           <tr style="height:40px">
635
           <tr style="height:40px">
631
             <td rowspan="11" style="border:none;text-align:right;height:40px">
636
             <td rowspan="11" style="border:none;text-align:right;height:40px">
632
-              护士签名
637
+              护士签名:
633
               <span style="display: inline-block;width:100px;text-align: left;">
638
               <span style="display: inline-block;width:100px;text-align: left;">
634
-                  <span v-if="orderForm.url === ''" style="display:flex;align-items:center;">{{ orderForm.start_nurse }}</span>
635
-                  <span v-if="orderForm.url !== ''" style="display:flex;align-items:center;height:36px;">
636
-                      <img :src="orderForm.url" style="height:30px;" />
637
-                  </span>
639
+                <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
640
+                <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
638
               </span>
641
               </span>
639
               <!-- 二核护士
642
               <!-- 二核护士
640
               <span style="display: inline-block;width:100px;text-align: left;">
643
               <span style="display: inline-block;width:100px;text-align: left;">
652
                 <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
655
                 <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
653
               </span> -->
656
               </span> -->
654
               <!-- </span> -->
657
               <!-- </span> -->
655
-              医生签名
658
+              医生签名:
656
               <span style="display: inline-block;width:100px;text-align: left;">
659
               <span style="display: inline-block;width:100px;text-align: left;">
657
                 &nbsp;
660
                 &nbsp;
658
                 <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''">
661
                 <span v-if="setAdminUserES(prescription==null?0:(prescription.creater?prescription.creater:'')) == ''">
811
         finish_nurse: '',
814
         finish_nurse: '',
812
         url: ''
815
         url: ''
813
       },
816
       },
814
-      displaceLiquiPartOptions: []
817
+      displaceLiquiPartOptions: [],
818
+      arterial_tube:[],
819
+      intravenous_tube:[],
815
     }
820
     }
816
   },
821
   },
817
   methods: {
822
   methods: {
1142
           var dialysisorder = response.data.data.dialysisOrder
1147
           var dialysisorder = response.data.data.dialysisOrder
1143
           this.dialysisorder = dialysisorder
1148
           this.dialysisorder = dialysisorder
1144
           console.log('上机', dialysisorder)
1149
           console.log('上机', dialysisorder)
1150
+          console.log('response.data.data', response.data.data)
1145
           var check = response.data.data.check
1151
           var check = response.data.data.check
1146
           this.check = check
1152
           this.check = check
1147
           console.log('核对这', check)
1153
           console.log('核对这', check)
1338
 
1344
 
1339
           this.monitors = response.data.data.monitors
1345
           this.monitors = response.data.data.monitors
1340
           this.summary = response.data.data.summary
1346
           this.summary = response.data.data.summary
1347
+          var start_nurse = response.data.data.startNuse
1348
+          this.orderForm.start_nurse = start_nurse.user_name
1349
+          this.orderForm.url = start_nurse.url
1341
           this.org_template_info = response.data.data.org_template_info
1350
           this.org_template_info = response.data.data.org_template_info
1342
           // 配置超滤量和置换量是否要显示0还是空
1351
           // 配置超滤量和置换量是否要显示0还是空
1343
           if (this.org_template_info.org_id == 9535) {
1352
           if (this.org_template_info.org_id == 9535) {
1573
       }else{
1582
       }else{
1574
         this.$toast('核对完成');
1583
         this.$toast('核对完成');
1575
       }
1584
       }
1576
-    }
1585
+    },
1586
+    getarterial(val){
1587
+      const options = this.arterial_tube
1588
+      if(val !=''){
1589
+        for(let i in options){
1590
+          if(val == options[i].id){
1591
+            return options[i].name
1592
+          }
1593
+        }
1594
+      }else{
1595
+        return ''
1596
+      }
1597
+    },
1598
+    getintravenous(val){
1599
+      const options = this.intravenous_tube
1600
+      if(val !=''){
1601
+        for(let i in options){
1602
+          if(val == options[i].id){
1603
+            return options[i].name
1604
+          }
1605
+        }
1606
+      }else{
1607
+        return ''
1608
+      }
1609
+    },
1577
   },
1610
   },
1578
   watch: {
1611
   watch: {
1579
     'patientInfo.gender': function () {
1612
     'patientInfo.gender': function () {
1609
     this.replacementWays = this.$store.getters.replacement_ways
1642
     this.replacementWays = this.$store.getters.replacement_ways
1610
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1643
     this.perfusionApparatus = this.$store.getters.perfusion_apparatus
1611
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1644
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1645
+    this.arterial_tube =  this.$store.getters.arterial_tube
1646
+    this.intravenous_tube = this.$store.getters.intravenous_tube
1612
 
1647
 
1613
     this.way_arr = getDataConfig('hemodialysis', 'way')
1648
     this.way_arr = getDataConfig('hemodialysis', 'way')
1614
     this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1649
     this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
1731
   width: 50%;
1766
   width: 50%;
1732
 }
1767
 }
1733
 
1768
 
1734
-.under_line::before {
1769
+/* .under_line::before {
1735
   content: "\00A0";
1770
   content: "\00A0";
1736
 }
1771
 }
1737
 
1772
 
1738
 .under_line::after {
1773
 .under_line::after {
1739
   content: "\00A0";
1774
   content: "\00A0";
1740
-}
1775
+} */
1741
 
1776
 
1742
 .flex {
1777
 .flex {
1743
   display: -webkit-box;
1778
   display: -webkit-box;