Pārlūkot izejas kodu

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

csx 4 gadus atpakaļ
vecāks
revīzija
d2c3087ec7

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue Parādīt failu

40
         <li v-if="isShow('实际置换量')">
40
         <li v-if="isShow('实际置换量')">
41
           <label>实际置换量 : </label>
41
           <label>实际置换量 : </label>
42
           <span class="content">{{ actual_displacement }}</span>
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
           <span class="unit" v-else>L</span>
44
           <span class="unit" v-else>L</span>
45
         </li>
45
         </li>
46
         <li v-if="isShow('压迫后内瘘震颤')">
46
         <li v-if="isShow('压迫后内瘘震颤')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Parādīt failu

432
         <el-row :gutter="20"> -->
432
         <el-row :gutter="20"> -->
433
 
433
 
434
         <el-col :span="8" v-if="isShow('实际置换量')">
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
             <el-input v-model="form.actual_displacement"></el-input>
436
             <el-input v-model="form.actual_displacement"></el-input>
437
           </el-form-item>
437
           </el-form-item>
438
           <el-form-item v-else label="实际置换量(L): ">
438
           <el-form-item v-else label="实际置换量(L): ">

+ 81 - 39
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

198
           </el-col>
198
           </el-col>
199
 
199
 
200
           <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
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
           </el-col>
225
           </el-col>
216
 
226
 
217
 
227
 
218
           <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
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
           </el-col>
252
           </el-col>
232
 
253
 
233
           <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
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
           </el-col>
278
           </el-col>
247
 
279
 
248
 
280
 
1732
       },
1764
       },
1733
       show(pre,schedual,last,his_is_open) {
1765
       show(pre,schedual,last,his_is_open) {
1734
         console.log("pre222222",pre)
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
         if(his_is_open == 1){
1777
         if(his_is_open == 1){
1737
           this.is_open = 0
1778
           this.is_open = 0
1738
         }
1779
         }
1771
         if (pre.anticoagulant == 3) {
1812
         if (pre.anticoagulant == 3) {
1772
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1813
           this.dialysisPrescription.anticoagulant = '低分子肝素'
1773
         }
1814
         }
1815
+
1774
         // 入口
1816
         // 入口
1775
         var pre = pre
1817
         var pre = pre
1776
         this.dialysisPrescription.mode_id = this.$route.query.mode_id
1818
         this.dialysisPrescription.mode_id = this.$route.query.mode_id

+ 34 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Parādīt failu

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 Parādīt failu

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 Parādīt failu

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