XMLWAN 3 years ago
parent
commit
89a804f801

+ 11 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1732,7 +1732,16 @@
1732 1732
       },
1733 1733
       show(pre,schedual,last,his_is_open) {
1734 1734
         console.log("pre222222",pre)
1735
-       
1735
+        if(pre!=undefined){
1736
+          if(pre.oxygen_uptake == 1){
1737
+             this.oxygenShow = true
1738
+          }
1739
+        if(pre.oxygen_uptake == 2){
1740
+            this.oxygenShow = false
1741
+            this.prescription.oxygen_flow = ""
1742
+            this.prescription.oxygen_time = ""
1743
+         }
1744
+        }
1736 1745
         if(his_is_open == 1){
1737 1746
           this.is_open = 0
1738 1747
         }
@@ -1771,6 +1780,7 @@
1771 1780
         if (pre.anticoagulant == 3) {
1772 1781
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1773 1782
         }
1783
+
1774 1784
         // 入口
1775 1785
         var pre = pre
1776 1786
         this.dialysisPrescription.mode_id = this.$route.query.mode_id

+ 34 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue View File

@@ -625,6 +625,40 @@
625 625
             </table>
626 626
 
627 627
 
628
+           <table class="table-box">
629
+              <tbody>
630
+              <tr>
631
+                <td width="50">吸氧:</td>
632
+                <td width="10">需</td>
633
+                <td width="40">
634
+                  <label-box :isChecked="prescription.oxygen_uptake == 1 ? true : false"></label-box>
635
+                  &nbsp;
636
+                </td>
637
+                <td width="50">流量:</td>
638
+                <td width="40">
639
+                    <div class="under-line">
640
+                        &nbsp;{{ prescription.oxygen_flow ? prescription.oxygen_flow : "" }}
641
+                    </div>
642
+                </td>
643
+                <td width="30">L/分</td>
644
+                <td width="50">
645
+                  <div class="under-line">
646
+                    &nbsp;{{ prescription.oxygen_time ? prescription.oxygen_time : "" }}
647
+                  </div>
648
+                </td>
649
+                <td width="30">h</td>
650
+                <td width="10">无</td>
651
+                <td width="30">
652
+                  <label-box :isChecked="prescription.oxygen_uptake ==2 ? true : false"></label-box>
653
+                  &nbsp;
654
+                </td>
655
+                <td></td>
656
+                <td></td>
657
+              </tr>
658
+              </tbody>
659
+            </table>
660
+
661
+
628 662
             <!-- <table class="table-box">
629 663
               <tbody>
630 664
                 <tr>

+ 1 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyFour.vue View File

@@ -207,6 +207,7 @@
207 207
                         </div>
208 208
                     </div>
209 209
                 </div>
210
+                
210 211
                 <div class="row" style="padding: 2px 0;line-height:23px;">
211 212
                   <div class="inline_block" style="flex:1;">
212 213
                     置换方式:

+ 58 - 6
src/xt_pages/user/dialysisSolution.vue View File

@@ -519,11 +519,32 @@
519 519
          </el-col>
520 520
 
521 521
 
522
-        <el-col :span="8" v-if="isShows('血浆分离器')">
523
-             <el-form-item label="血浆分离器:">
524
-               <el-input v-model="addPlan.bilirubin_adsorption_column" @focus="showInnerDialog('9')"></el-input>
522
+          <el-col :span="8" v-if="isShows('吸氧')">
523
+              <el-form-item label="吸氧:">
524
+                <el-select v-model="addPlan.oxygen_uptake" placeholder="请选择" @change="changeOxygenList">
525
+                <el-option :key="0" label="请选择" :value="0"></el-option>
526
+                <el-option
527
+                  v-for="(item, index) in  oxygenList "
528
+                  :key="index"
529
+                  :label="item.name"
530
+                  :value="item.id"
531
+                ></el-option>
532
+              </el-select>
533
+            </el-form-item>
534
+          </el-col>
535
+
536
+          
537
+           <el-col :span="8" v-if="isShows('吸氧') && oxygenShow == true">
538
+             <el-form-item label="吸氧流量(L/分):">
539
+                <el-input v-model="addPlan.oxygen_flow"></el-input>
525 540
              </el-form-item>
526
-         </el-col>
541
+          </el-col>
542
+         
543
+         <el-col :span="8" v-if="isShows('吸氧') && oxygenShow == true">
544
+             <el-form-item label="吸氧时长(h):">
545
+                <el-input v-model="addPlan.oxygen_time"></el-input>
546
+             </el-form-item>
547
+          </el-col>
527 548
 
528 549
           <el-col :span="8" v-if="isShows('目标KT/V')">
529 550
             <el-form-item label="目标KT/V">
@@ -532,7 +553,7 @@
532 553
           </el-col>
533 554
         </el-row>
534 555
 
535
-
556
+    
536 557
     
537 558
 
538 559
 
@@ -726,6 +747,10 @@ export default {
726 747
         dialysis_irrigation:'',
727 748
         plasma_separator:"",
728 749
         bilirubin_adsorption_column:"",
750
+        oxygen_uptake:"",
751
+        oxygen_flow:"",
752
+        oxygen_time:"",
753
+
729 754
       },
730 755
       childPlan: {
731 756
         mode: '',
@@ -856,6 +881,11 @@ export default {
856 881
      dialysis_irrigation:"",
857 882
      plasmaSeparatorList:[],
858 883
      bilirubinAdsorptionColumn:[],
884
+     oxygenList:[
885
+      {id:1,name:"需"},
886
+      {id:2,name:"无"}
887
+     ],
888
+     oxygenShow:false,
859 889
     }
860 890
   },
861 891
   watch: {
@@ -1424,6 +1454,15 @@ export default {
1424 1454
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1425 1455
       this.dialysis_irrigation = row.dialysis_irrigation
1426 1456
       this.dialysis_dialyszers = row.dialysis_dialyszers
1457
+      this.addPlan.oxygen_uptake = row.oxygen_uptake
1458
+      if(row.oxygen_uptake == 1){
1459
+        this.oxygenShow = true
1460
+      }
1461
+      if(row.oxygen_uptake == 2){
1462
+        this.oxygenShow = false
1463
+      }
1464
+      this.addPlan.oxygen_flow = row.oxygen_flow
1465
+      this.addPlan.oxygen_time = row.oxygen_time
1427 1466
      if(row.body_fluid == 0){
1428 1467
        this.addPlan.body_fluid = ""
1429 1468
       }else{
@@ -1761,6 +1800,9 @@ export default {
1761 1800
               ultrafiltration: '',
1762 1801
               blood_access: '',
1763 1802
               plasma_separator:"",
1803
+              oxygen_time:"",
1804
+              oxygen_uptake:"",
1805
+              oxygen_flow:"",
1764 1806
             }
1765 1807
 
1766 1808
             for (const key in tempAddPlan) {
@@ -1820,7 +1862,17 @@ export default {
1820 1862
         }
1821 1863
       }
1822 1864
       return name
1823
-    }
1865
+    },
1866
+    changeOxygenList(val){
1867
+      if(val == 1){
1868
+       this.oxygenShow = true
1869
+     }
1870
+    if(val == 2){
1871
+      this.oxygenShow = false
1872
+      this.addPlan.oxygen_flow = ""
1873
+      this.addPlan.oxygen_time = ""
1874
+     }
1875
+    },
1824 1876
   },
1825 1877
   created() {
1826 1878
     const id = this.$route.params && this.$route.params.id