Kaynağa Gözat

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 yıl önce
ebeveyn
işleme
d2c3087ec7

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue Dosyayı Görüntüle

@@ -40,7 +40,7 @@
40 40
         <li v-if="isShow('实际置换量')">
41 41
           <label>实际置换量 : </label>
42 42
           <span class="content">{{ actual_displacement }}</span>
43
-          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 13">ml</span>
43
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 13 || this.$store.getters.xt_user.template_info.template_id == 40">ml</span>
44 44
           <span class="unit" v-else>L</span>
45 45
         </li>
46 46
         <li v-if="isShow('压迫后内瘘震颤')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Dosyayı Görüntüle

@@ -432,7 +432,7 @@
432 432
         <el-row :gutter="20"> -->
433 433
 
434 434
         <el-col :span="8" v-if="isShow('实际置换量')">
435
-          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): ">
435
+          <el-form-item v-if="this.template_id == 20 || this.template_id == 21 || this.template_id == 40" label="实际置换量(ml): ">
436 436
             <el-input v-model="form.actual_displacement"></el-input>
437 437
           </el-form-item>
438 438
           <el-form-item v-else label="实际置换量(L): ">

+ 81 - 39
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Dosyayı Görüntüle

@@ -198,51 +198,83 @@
198 198
           </el-col>
199 199
 
200 200
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
201
-
202
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.org_id != 10157' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
203
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
204
-                        v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
205
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
206
-                        v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
207
-            </el-form-item>
208
-
209
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 10157' :label="'首剂(mg) : '">
210
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
211
-                        v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
212
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
213
-                        v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
214
-            </el-form-item>
201
+            <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
202
+              <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987 ' :label="'首剂(' + anticoagulant.shouji_unit + ') : '">
203
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
204
+                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
205
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
206
+                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
207
+              </el-form-item>
208
+
209
+              <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987' :label="'首剂(mg) : '">
210
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
211
+                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
212
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
213
+                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
214
+              </el-form-item>
215
+            </div>
216
+            <div v-else>
217
+              <el-form-item :label="'首剂(mg) : '">
218
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
219
+                          v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
220
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
221
+                          v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
222
+              </el-form-item>
223
+            </div>
224
+            
215 225
           </el-col>
216 226
 
217 227
 
218 228
           <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
219
-            <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.org_id != 10157">
220
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
221
-                        v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
222
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
223
-                        v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
224
-            </el-form-item>
225
-            <el-form-item :label="'维持(mg/h) : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 10157">
226
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
227
-                        v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
228
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
229
-                        v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
230
-            </el-form-item>
229
+              <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
230
+                <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987">
231
+                  <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
232
+                            v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
233
+                  <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
234
+                            v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
235
+                </el-form-item>
236
+                <el-form-item :label="'维持(mg/h) : '" v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987">
237
+                  <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
238
+                            v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
239
+                  <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
240
+                            v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
241
+                </el-form-item>
242
+              </div>
243
+              <div v-else>
244
+                <el-form-item :label="'维持(mg/h) : '">
245
+                  <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
246
+                            v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
247
+                  <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
248
+                            v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
249
+                </el-form-item>
250
+              </div>
251
+            
231 252
           </el-col>
232 253
 
233 254
           <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
234
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.org_id != 10157' :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
235
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
236
-                        v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
237
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
238
-                        v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
239
-            </el-form-item>
240
-            <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 10157' :label="'总量(mg) : '">
241
-              <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
242
-                        v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
243
-              <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
244
-                        v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
245
-            </el-form-item>
255
+            <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
256
+              <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.org_id != 9987' :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
257
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
258
+                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
259
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
260
+                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
261
+              </el-form-item>
262
+              <el-form-item v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.org_id == 9987' :label="'总量(mg) : '">
263
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
264
+                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
265
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
266
+                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
267
+              </el-form-item>
268
+            </div>
269
+            <div v-else>
270
+              <el-form-item :label="'总量(mg) : '">
271
+                <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
272
+                          v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
273
+                <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
274
+                          v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
275
+              </el-form-item>
276
+            </div>
277
+            
246 278
           </el-col>
247 279
 
248 280
 
@@ -1732,7 +1764,16 @@
1732 1764
       },
1733 1765
       show(pre,schedual,last,his_is_open) {
1734 1766
         console.log("pre222222",pre)
1735
-       
1767
+        if(pre!=undefined){
1768
+          if(pre.oxygen_uptake == 1){
1769
+             this.oxygenShow = true
1770
+          }
1771
+        if(pre.oxygen_uptake == 2){
1772
+            this.oxygenShow = false
1773
+            this.prescription.oxygen_flow = ""
1774
+            this.prescription.oxygen_time = ""
1775
+         }
1776
+        }
1736 1777
         if(his_is_open == 1){
1737 1778
           this.is_open = 0
1738 1779
         }
@@ -1771,6 +1812,7 @@
1771 1812
         if (pre.anticoagulant == 3) {
1772 1813
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1773 1814
         }
1815
+
1774 1816
         // 入口
1775 1817
         var pre = pre
1776 1818
         this.dialysisPrescription.mode_id = this.$route.query.mode_id

+ 34 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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