XMLWAN 3 years ago
parent
commit
b63a4d9112

+ 22 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -349,6 +349,28 @@
349 349
           <span class="content">{{this.prescription.bilirubin_adsorption_column}}</span>
350 350
         </li>
351 351
 
352
+        <li v-if="isShow('吸氧')">
353
+          <label>吸氧:</label>
354
+          <span class="content">
355
+            <span v-if="this.prescription.oxygen_uptake == 1">需</span>
356
+            <span v-if="this.prescription.oxygen_uptake == 2">无</span>
357
+           </span>
358
+        </li>
359
+
360
+       <li v-if="isShow('吸氧')">
361
+          <label>吸氧流量(L/分):</label>
362
+          <span class="content">
363
+            <span>{{this.prescription.oxygen_flow}}</span>
364
+           </span>
365
+        </li>
366
+       
367
+        <li v-if="isShow('吸氧')">
368
+          <label>吸氧时长(h):</label>
369
+          <span class="content">
370
+            <span>{{this.prescription.oxygen_time}}</span>
371
+           </span>
372
+        </li>
373
+       
352 374
       </ul>
353 375
     </div>
354 376
     <div style="color:#34495e;margin: 12px 100px 0 100px;">备注: <span style="color:#409eff;">{{ note }}</span></div>

+ 45 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -582,8 +582,33 @@
582 582
                 <el-input v-model="dialysisPrescription.replacement_flow"></el-input>
583 583
              </el-form-item>
584 584
           </el-col>
585
-         
586 585
 
586
+          <el-col :span="8" v-if="isShows('吸氧')">
587
+              <el-form-item label="吸氧:">
588
+                <el-select v-model="dialysisPrescription.oxygen_uptake" placeholder="请选择" @change="changeOxygenList">
589
+                <el-option :key="0" label="请选择" :value="0"></el-option>
590
+                <el-option
591
+                  v-for="(item, index) in  oxygenList "
592
+                  :key="index"
593
+                  :label="item.name"
594
+                  :value="item.id"
595
+                ></el-option>
596
+              </el-select>
597
+            </el-form-item>
598
+          </el-col>
599
+
600
+          
601
+           <el-col :span="8" v-if="isShows('吸氧') && oxygenShow == true">
602
+             <el-form-item label="吸氧流量(L/分):">
603
+                <el-input v-model="dialysisPrescription.oxygen_flow"></el-input>
604
+             </el-form-item>
605
+          </el-col>
606
+         
607
+         <el-col :span="8" v-if="isShows('吸氧') && oxygenShow == true">
608
+             <el-form-item label="吸氧时长(h):">
609
+                <el-input v-model="dialysisPrescription.oxygen_time"></el-input>
610
+             </el-form-item>
611
+          </el-col>
587 612
        
588 613
         </el-row>
589 614
 
@@ -1085,6 +1110,9 @@
1085 1110
           replacement_flow:"",
1086 1111
           plasma_separator:"",
1087 1112
           bilirubin_adsorption_column:"",
1113
+          oxygen_uptake:"",
1114
+          oxygen_flow:"",
1115
+          oxygen_time:"",
1088 1116
         },
1089 1117
 
1090 1118
         anticoagulant: {
@@ -1111,9 +1139,24 @@
1111 1139
         illnessList:[],
1112 1140
         plasmaSeparatorList:[],
1113 1141
         bilirubinAdsorptionColumn:[],
1142
+        oxygenList:[
1143
+         {id:1,name:"需"},
1144
+         {id:2,name:"无"}
1145
+        ],
1146
+        oxygenShow:false,
1114 1147
       }
1115 1148
     },
1116 1149
     methods: {
1150
+      changeOxygenList(val){
1151
+          if(val == 1){
1152
+            this.oxygenShow = true
1153
+          }
1154
+          if(val == 2){
1155
+            this.oxygenShow = false
1156
+            this.prescription.oxygen_flow = ""
1157
+            this.prescription.oxygen_time = ""
1158
+          }
1159
+       },
1117 1160
       changeTime:function(val){
1118 1161
         this.advice_start_time = val
1119 1162
 
@@ -3623,7 +3666,7 @@
3623 3666
         this.irrigations = irrigation
3624 3667
         console.log("透析器",this.dialyzers)
3625 3668
         console.log("灌流器",this.irrigations)
3626
-      }
3669
+      },
3627 3670
     },
3628 3671
     created(){
3629 3672