XMLWAN 4 years ago
parent
commit
89a804f801

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

1732
       },
1732
       },
1733
       show(pre,schedual,last,his_is_open) {
1733
       show(pre,schedual,last,his_is_open) {
1734
         console.log("pre222222",pre)
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
         if(his_is_open == 1){
1745
         if(his_is_open == 1){
1737
           this.is_open = 0
1746
           this.is_open = 0
1738
         }
1747
         }
1771
         if (pre.anticoagulant == 3) {
1780
         if (pre.anticoagulant == 3) {
1772
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1781
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1773
         }
1782
         }
1783
+
1774
         // 入口
1784
         // 入口
1775
         var pre = pre
1785
         var pre = pre
1776
         this.dialysisPrescription.mode_id = this.$route.query.mode_id
1786
         this.dialysisPrescription.mode_id = this.$route.query.mode_id

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

625
             </table>
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
             <!-- <table class="table-box">
662
             <!-- <table class="table-box">
629
               <tbody>
663
               <tbody>
630
                 <tr>
664
                 <tr>

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

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

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

519
          </el-col>
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
              </el-form-item>
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
           <el-col :span="8" v-if="isShows('目标KT/V')">
549
           <el-col :span="8" v-if="isShows('目标KT/V')">
529
             <el-form-item label="目标KT/V">
550
             <el-form-item label="目标KT/V">
532
           </el-col>
553
           </el-col>
533
         </el-row>
554
         </el-row>
534
 
555
 
535
-
556
+    
536
     
557
     
537
 
558
 
538
 
559
 
726
         dialysis_irrigation:'',
747
         dialysis_irrigation:'',
727
         plasma_separator:"",
748
         plasma_separator:"",
728
         bilirubin_adsorption_column:"",
749
         bilirubin_adsorption_column:"",
750
+        oxygen_uptake:"",
751
+        oxygen_flow:"",
752
+        oxygen_time:"",
753
+
729
       },
754
       },
730
       childPlan: {
755
       childPlan: {
731
         mode: '',
756
         mode: '',
856
      dialysis_irrigation:"",
881
      dialysis_irrigation:"",
857
      plasmaSeparatorList:[],
882
      plasmaSeparatorList:[],
858
      bilirubinAdsorptionColumn:[],
883
      bilirubinAdsorptionColumn:[],
884
+     oxygenList:[
885
+      {id:1,name:"需"},
886
+      {id:2,name:"无"}
887
+     ],
888
+     oxygenShow:false,
859
     }
889
     }
860
   },
890
   },
861
   watch: {
891
   watch: {
1424
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1454
       this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1425
       this.dialysis_irrigation = row.dialysis_irrigation
1455
       this.dialysis_irrigation = row.dialysis_irrigation
1426
       this.dialysis_dialyszers = row.dialysis_dialyszers
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
      if(row.body_fluid == 0){
1466
      if(row.body_fluid == 0){
1428
        this.addPlan.body_fluid = ""
1467
        this.addPlan.body_fluid = ""
1429
       }else{
1468
       }else{
1761
               ultrafiltration: '',
1800
               ultrafiltration: '',
1762
               blood_access: '',
1801
               blood_access: '',
1763
               plasma_separator:"",
1802
               plasma_separator:"",
1803
+              oxygen_time:"",
1804
+              oxygen_uptake:"",
1805
+              oxygen_flow:"",
1764
             }
1806
             }
1765
 
1807
 
1766
             for (const key in tempAddPlan) {
1808
             for (const key in tempAddPlan) {
1820
         }
1862
         }
1821
       }
1863
       }
1822
       return name
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
   created() {
1877
   created() {
1826
     const id = this.$route.params && this.$route.params.id
1878
     const id = this.$route.params && this.$route.params.id