XMLWAN před 2 roky
rodič
revize
4d7ea1798c

+ 7 - 2
src/api/dialysis_record.js Zobrazit soubor

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
47 47
   })
48 48
 }
49 49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -63,7 +63,12 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
63 63
     difficult_puncture_nurse: difficult_puncture_nurse,
64 64
     new_fistula_nurse: new_fistula_nurse,
65 65
     blood_drawing: blood_drawing,
66
-    quality_nurse_id: quality_nurse
66
+    quality_nurse_id: quality_nurse,
67
+    puncture_needle: puncture_needle,
68
+    puncture_way: puncture_way,
69
+    dialysis_dialyszers: dialysis_dialyszers,
70
+    dialysis_irrigation: dialysis_irrigation,
71
+    blood_access_id: blood_access_id
67 72
   }
68 73
   console.log('params', params)
69 74
   return request({

+ 1 - 0
src/xt_pages/dialysis/details/NavIgation.vue Zobrazit soubor

@@ -151,6 +151,7 @@
151 151
       :device_numbers="device_numbers"
152 152
       :special_premission="special_premission"
153 153
       :patient="patient"
154
+      :stockType="stockType"
154 155
     ></computer-dialog>
155 156
 
156 157
     <monitor-dialog

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Zobrazit soubor

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340" >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 177 - 11
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Zobrazit soubor

@@ -2,6 +2,13 @@
2 2
   <div>
3 3
     <el-dialog title="透析上机" class="newDialog" :visible.sync="visible" width="854px" :modal-append-to-body="false">
4 4
       <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
5
+
6
+      <multi-select-box
7
+        :propsForm="InnerDialogProps"
8
+        v-on:dialog-comfirm="innerDialogComfirm"
9
+        v-on:dialog-cancle="innerDialogCancle"
10
+      ></multi-select-box>
11
+
5 12
       <el-form :model="form" label-width="100px">
6 13
 
7 14
         <el-form-item label="班次" v-if="isShowFiled('班次')">
@@ -66,12 +73,49 @@
66 73
         </el-form-item>
67 74
 
68 75
        
69
-        <!-- <el-col :span="8" v-if="isShows('穿刺针')">
70
-            <el-form-item label="穿刺针">
71
-                <el-input v-model="form.puncture_needle"
72
-                          @focus="showInnerDialog('11')"></el-input>
73
-            </el-form-item>
74
-        </el-col> -->
76
+       
77
+        <el-form-item label="穿刺针" v-if="isShowFiled('穿刺针')">
78
+            <el-input v-model="form.puncture_needle"
79
+                      @focus="showInnerDialog('11')" style="width:200px;"></el-input>
80
+        </el-form-item>
81
+
82
+      
83
+       <el-form-item label="穿刺方式: " v-if="isShowFiled('穿刺方式')">
84
+          <el-input v-model="form.puncture_way" readonly 
85
+           style="width:200px;"
86
+                  @focus="showInnerDialog('13')">
87
+          </el-input>
88
+        </el-form-item>
89
+
90
+     
91
+      
92
+        <el-form-item label="透析器:" v-if="isShowFiled('透析器')">
93
+            <el-input v-model="form.dialysis_dialyszers"
94
+             style="width:200px;"
95
+                      @focus="showInnerDialog('7')"></el-input>
96
+        </el-form-item>
97
+       
98
+         <el-form-item label="灌流器:" v-if="isShowFiled('灌流器')">
99
+            <el-input v-model="form.dialysis_irrigation"
100
+             style="width:200px;"
101
+                      @focus="showInnerDialog('8')"></el-input>
102
+        </el-form-item>
103
+      
104
+        <el-form-item label="血管通路:"  v-if="isShowFiled('血管通路')">
105
+            <el-select
106
+                    v-model="form.blood_access_id"
107
+                    placeholder="请选择"
108
+            >
109
+                <el-option :key="0" label="请选择" :value="0"></el-option>
110
+
111
+                <el-option
112
+                        v-for="(option, index) in blood_access_option"
113
+                        :key="index + 'i'"
114
+                        :label="option.name"
115
+                        :value="option.id"
116
+                ></el-option>
117
+            </el-select>
118
+       </el-form-item>
75 119
 
76 120
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
77 121
           <el-date-picker
@@ -105,11 +149,14 @@
105 149
   import { getDataConfig } from '@/utils/data'
106 150
   import { parseTime } from '@/utils'
107 151
   import store from '@/store'
108
-
152
+  import multiSelectBox from './MultiSelectBox'
109 153
   import request from '@/utils/request'
110 154
 
111 155
   export default {
112 156
     name: 'ComputerDialog',
157
+    components: {
158
+      multiSelectBox
159
+    },
113 160
     data() {
114 161
       return {
115 162
         showTxt:'',
@@ -134,7 +181,12 @@
134 181
           new_fistula_nurse:"",
135 182
           quality_nurse_id:"",
136 183
           puncture_needle:"",
184
+          puncture_way:"",
185
+          dialysis_dialyszers:"",
186
+          dialysis_irrigation:"",
187
+          blood_access_id:"",
137 188
         },
189
+        blood_access_option:[],
138 190
         schedual_type: 0,
139 191
         schedules_type: [
140 192
           { id: 1, name: '上午' },
@@ -144,7 +196,18 @@
144 196
         isPremission: false,
145 197
         adminRoles:[{id:0,name:"请选择"}],
146 198
         org_id:0,
147
-        punctureNeedleOptions:[]
199
+        punctureNeedleOptions:[],
200
+        puncture_ways:[],
201
+        InnerDialogProps: {
202
+          values: [],
203
+          visibility: false,
204
+          isShowTextArea: true,
205
+          customContent: '',
206
+          titles: '',
207
+          type: '' // 不同弹框类型,用来匹配数据
208
+        },
209
+        dialyzers:[],
210
+        irrigations:[],
148 211
       }
149 212
     },
150 213
     props: {
@@ -165,7 +228,13 @@
165 228
       },
166 229
       patient:{
167 230
         type: Object
168
-      }
231
+      },
232
+      stockType: {
233
+        type: Array,
234
+        default: () => {
235
+          return []
236
+        }
237
+      },
169 238
     }, mounted() {
170 239
 
171 240
     },
@@ -198,7 +267,18 @@
198 267
       if(this.form.new_fistula_nurse == 0){
199 268
         this.form.new_fistula_nurse = this.$store.getters.xt_user.user.id
200 269
       }
270
+      console.log("dialysis_order9999999999wo",this.dialysis_order)
271
+      this.form.puncture_needle = this.dialysis_order.puncture_needle
272
+      this.form.puncture_way = this.dialysis_order.puncture_way
273
+      this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers
274
+      this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation
275
+      this.form.blood_access_id = this.dialysis_order.blood_access_id
201 276
       this.punctureNeedleOptions = getDataConfig('hemodialysis', 'puncture_needle')
277
+      this.puncture_ways = getDataConfig('hemodialysis', 'puncture_method')
278
+      this.blood_access_option = getDataConfig(
279
+          'hemodialysis',
280
+          'vascular_access_desc'
281
+        )
202 282
     },
203 283
     watch: {
204 284
       patient:{
@@ -218,6 +298,11 @@
218 298
         this.form.difficult_puncture_nurse = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id:this.dialysis_order.difficult_puncture_nurse
219 299
         this.form.new_fistula_nurse = this.dialysis_order.id ==0?this.$store.getters.xt_user.user.id:this.dialysis_order.new_fistula_nurse
220 300
         this.form.quality_nurse_id = this.dialysis_order.id == 0?this.$store.getters.xt_user.user.id:this.dialysis_order.quality_nurse_id
301
+        this.form.puncture_needle = this.dialysis_order.puncture_needle
302
+        this.form.puncture_way = this.dialysis_order.puncture_way
303
+        this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers
304
+        this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation
305
+        this.form.blood_access_id = this.dialysis_order.blood_access_id
221 306
         var nowDate = new Date()
222 307
         var nowYear = nowDate.getFullYear()
223 308
         var nowMonth = nowDate.getMonth() + 1
@@ -242,7 +327,36 @@
242 327
           }
243 328
         }
244 329
         console.log("人员",this.adminRoles)
245
-      }
330
+      },
331
+        stockType: function() {
332
+        console.log('stockType', this.stockType)
333
+        var arr = []
334
+        var arrTwo = []
335
+        for (let i = 0; i < this.stockType.length; i++) {
336
+          if (this.stockType[i].stock_attribute == 2) {
337
+            arr.push(this.stockType[i])
338
+          }
339
+          if (this.stockType[i].stock_attribute == 3) {
340
+            arrTwo.push(this.stockType[i])
341
+          }
342
+        }
343
+        var dialyzator = []
344
+        var irrigation = []
345
+        for (let i = 0; i < arr.length; i++) {
346
+          for (let j = 0; j < arr[i].GoodInfo.length; j++) {
347
+            dialyzator.push(arr[i].GoodInfo[j])
348
+          }
349
+        }
350
+        this.dialyzers = dialyzator
351
+
352
+        for (let i = 0; i < arrTwo.length; i++) {
353
+          for (let j = 0; j < arrTwo[i].GoodInfo.length; j++) {
354
+            irrigation.push(arrTwo[i].GoodInfo[j])
355
+          }
356
+        }
357
+        this.irrigations = irrigation
358
+       
359
+      },
246 360
     },
247 361
     computed: {},
248 362
     methods: {
@@ -395,7 +509,7 @@
395 509
         let mode = '1'
396 510
         var blood_drawing =  this.form.blood_drawing.toString()
397 511
         console.log("质控护士",this.form.quality_nurse_id)
398
-        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id).then(rs => {
512
+        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id,this.form.puncture_needle,this.form.puncture_way,this.form.dialysis_dialyszers,this.form.dialysis_irrigation,this.form.blood_access_id).then(rs => {
399 513
           this.loading = false
400 514
           var resp = rs.data
401 515
           if (resp.state == 1) {
@@ -431,6 +545,11 @@
431 545
         ParamsQuery['new_fistula_nurse'] = this.form.new_fistula_nurse
432 546
         ParamsQuery["blood_drawing"] = this.form.blood_drawing
433 547
         ParamsQuery["quality_nurse"] = this.form.quality_nurse_id
548
+        ParamsQuery["puncture_needle"] = this.form.puncture_needle
549
+        ParamsQuery["puncture_way"] = this.form.puncture_way
550
+        ParamsQuery["dialysis_dialyszers"] = this.form.dialysis_dialyszers
551
+        ParamsQuery["dialysis_irrigation"] = this.form.dialysis_irrigation
552
+        ParamsQuery["blood_access_id"] = this.form.blood_access_id
434 553
         ParamsQuery['mode'] = "2"
435 554
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
436 555
           ParamsQuery['mode'] = "3"
@@ -489,8 +608,30 @@
489 608
         })
490 609
       },
491 610
       showInnerDialog: function(val) {
611
+        console.log("val32323223232323wi",val)
492 612
         this.InnerDialogProps.visibility = true
493 613
         switch (val) {
614
+           case '7': // 透析器
615
+
616
+            for (let i = 0; i < this.dialyzers.length; i++) {
617
+              this.dialyzers[i].name = this.dialyzers[i].specification_name
618
+            }
619
+            this.InnerDialogProps.values = this.dialyzers
620
+            this.InnerDialogProps.titles = '透析器'
621
+            this.InnerDialogProps.type = 'dialyzers'
622
+            this.InnerDialogProps.selected = this.form.dialysis_dialyszers
623
+            this.InnerDialogProps.isShowTextArea = false
624
+            break
625
+          case '8':
626
+            for (let i = 0; i < this.irrigations.length; i++) {
627
+              this.irrigations[i].name = this.irrigations[i].specification_name
628
+            }
629
+            this.InnerDialogProps.values = this.irrigations
630
+            this.InnerDialogProps.titles = '灌流器'
631
+            this.InnerDialogProps.type = 'irrigations'
632
+            this.InnerDialogProps.selected = this.form.dialysis_irrigation
633
+            this.InnerDialogProps.isShowTextArea = false
634
+            break
494 635
           case '11': //穿刺针
495 636
 
496 637
             this.InnerDialogProps.values = this.punctureNeedleOptions
@@ -499,6 +640,31 @@
499 640
             this.InnerDialogProps.selected = this.form.puncture_needle
500 641
             this.InnerDialogProps.isShowTextArea = false
501 642
             break
643
+            case '13': // 穿刺方式
644
+            this.InnerDialogProps.values =  this.puncture_ways
645
+            this.InnerDialogProps.titles = '穿刺方式'
646
+            this.InnerDialogProps.type = 'puncture_way'
647
+            this.InnerDialogProps.selected = this.form.puncture_way
648
+            this.InnerDialogProps.isShowTextArea = false
649
+
650
+            break
651
+        }
652
+      },
653
+      innerDialogComfirm: function(val) {
654
+        this.InnerDialogProps.visibility = false
655
+         switch (val.type) {
656
+          case 'puncture_needle':
657
+            this.form.puncture_needle = val.value.join(',')
658
+            break
659
+          case 'puncture_way':
660
+            this.form.puncture_way = val.value.join(',')
661
+            break
662
+          case 'dialyzers':
663
+            this.form.dialysis_dialyszers = val.value.join(',')
664
+            break
665
+          case 'irrigations':
666
+            this.form.dialysis_irrigation = val.value.join(',')
667
+            break
502 668
         }
503 669
       },
504 670
       innerDialogCancle: function() {

+ 10 - 6
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Zobrazit soubor

@@ -511,7 +511,8 @@
511 511
                 template_id == 53 ||
512 512
                 template_id == 54 ||
513 513
                 template_id == 56 ||
514
-                template_id == 48)
514
+                template_id == 48 ||
515
+                org_id == 10340)
515 516
             "
516 517
           >
517 518
             <template slot-scope="scope">
@@ -540,7 +541,8 @@
540 541
               template_id != 53 &&
541 542
               template_id != 54 &&
542 543
               template_id != 56 &&
543
-              template_id != 48
544
+              template_id != 48 &&
545
+              org_id !=10340
544 546
             "
545 547
           >
546 548
             <template slot-scope="scope">
@@ -568,7 +570,7 @@
568 570
               {{
569 571
                 scope.row.blood_oxygen_saturation
570 572
                   ? scope.row.blood_oxygen_saturation
571
-                  : ""
573
+                  : "/"
572 574
               }}
573 575
             </template>
574 576
           </el-table-column>
@@ -1249,7 +1251,8 @@
1249 1251
               template_id != 53 &&
1250 1252
               template_id != 54 &&
1251 1253
               template_id != 56 &&
1252
-              template_id != 48
1254
+              template_id != 48 &&
1255
+              org_id!=10340
1253 1256
             "
1254 1257
           >
1255 1258
             <el-form-item label="置换量(L):">
@@ -1273,7 +1276,8 @@
1273 1276
                 template_id == 53 ||
1274 1277
                 template_id == 54 ||
1275 1278
                 template_id == 56 ||
1276
-                template_id == 48)
1279
+                template_id == 48 ||
1280
+                org_id!=10340)
1277 1281
             "
1278 1282
           >
1279 1283
             <el-form-item label="置换量(ml):">
@@ -2104,7 +2108,7 @@ export default {
2104 2108
         this.form.symptom = monitor.symptom;
2105 2109
         this.form.dispose = monitor.dispose;
2106 2110
         this.form.result = monitor.result;
2107
-        this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation;
2111
+        this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:"/"
2108 2112
         this.form.urr = monitor.urr ? monitor.urr : "";
2109 2113
         this.form.blood_sugar = monitor.blood_sugar ? monitor.blood_sugar : "";
2110 2114
         this.form.monitor_anticoagulant = monitor.monitor_anticoagulant

+ 1 - 0
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue Zobrazit soubor

@@ -428,6 +428,7 @@ export default {
428 428
       var date = this.$route.query && this.$route.query.date
429 429
       this.record_date = uParseTime(date, '{y}-{m}-{d}')
430 430
     }
431
+    
431 432
   }
432 433
 }
433 434
 </script>

+ 34 - 1
src/xt_pages/dialysis/details/dialysisComputer.vue Zobrazit soubor

@@ -43,6 +43,26 @@
43 43
           <label>质控护士 : </label>
44 44
           <span class="content">{{ quality_nurse_id }}</span>
45 45
         </li>
46
+       <li v-if="isShow('穿刺针')">
47
+          <label>穿刺针 : </label>
48
+          <span class="content">{{record.puncture_needle }}</span>
49
+        </li>
50
+        <li v-if="isShow('穿刺方式')">
51
+          <label>穿刺方式 : </label>
52
+          <span class="content">{{ record.puncture_way }}</span>
53
+        </li>
54
+        <li v-if="isShow('透析器')">
55
+          <label>透析器 : </label>
56
+          <span class="content">{{ record.dialysis_dialyszers }}</span>
57
+        </li>
58
+        <li v-if="isShow('灌流器')">
59
+          <label>灌流器 : </label>
60
+          <span class="content">{{ record.dialysis_irrigation }}</span>
61
+        </li>
62
+         <li v-if="isShow('血管通路')">
63
+          <label>血管通路 : </label>
64
+          <span class="content">{{ blood_access_id }}</span>
65
+        </li>
46 66
         <li>
47 67
           <label>状态 : </label>
48 68
           <span class="content">{{ stage }}</span>
@@ -62,7 +82,7 @@
62 82
 <script>
63 83
   import { parseTime } from '@/utils'
64 84
   import store from '@/store'
65
-
85
+  import { getDataConfig } from '@/utils/data'
66 86
   export default {
67 87
     name: 'DialysisComputer',
68 88
     data() {
@@ -172,6 +192,19 @@
172 192
           return '-'
173 193
         }
174 194
         return this.admin_map[this.record.quality_nurse_id] == null ? '' : this.admin_map[this.record.quality_nurse_id].name
195
+      },
196
+      blood_access_id:function(){
197
+        var name = ""
198
+        var list = getDataConfig(
199
+          'hemodialysis',
200
+          'vascular_access_desc'
201
+        )
202
+        for(let i=0;i<list.length;i++){
203
+          if(this.record.blood_access_id == list[i].id){
204
+             name = list[i].name
205
+          }
206
+        }
207
+        return name
175 208
       }
176 209
     },
177 210
     methods: {

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Zobrazit soubor

@@ -23,8 +23,8 @@
23 23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56) " width="92px" > 置换率(ml/min) </th>
24 24
           <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56" width="92px" > 置换率(L/h)  </th>
25 25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56)" width="92px"  > 置换量(ml)  </th>
27
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56)" width="92px" > 置换量(L) </th>
26
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340)" width="92px"  > 置换量(ml)  </th>
27
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340)" width="92px" > 置换量(L) </th>
28 28
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29 29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30 30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 3 - 3
src/xt_pages/stock/drugs/drugInventory.vue Zobrazit soubor

@@ -12,10 +12,10 @@
12 12
         style="height: 100%; display: flex; flex-direction: column"
13 13
         @tab-click="handleClick"
14 14
       >
15
-       <!-- <el-tab-pane label="药品盘点" name="first" v-if="first">
15
+       <el-tab-pane label="药品盘点(模式一)" name="first" v-if="first">
16 16
           <drug-inventory></drug-inventory>
17
-        </el-tab-pane> -->
18
-         <el-tab-pane label="药品盘点" name="four">
17
+        </el-tab-pane>
18
+         <el-tab-pane label="药品盘点(模式二)" name="four">
19 19
           <drug-new-inventory></drug-new-inventory>
20 20
         </el-tab-pane>
21 21
         <el-tab-pane label="盘点列表" name="second" v-if="second">

+ 3 - 3
src/xt_pages/stock/stockInventory.vue Zobrazit soubor

@@ -5,10 +5,10 @@
5 5
     </div>
6 6
     <div class="app-container">
7 7
         <el-tabs v-model="activeName" @tab-click="handleClick">
8
-            <!-- <el-tab-pane label="耗材盘点" name="first">
8
+            <el-tab-pane label="耗材盘点(模式一)" name="first">
9 9
                 <inventory></inventory>
10
-            </el-tab-pane> -->
11
-            <el-tab-pane label="耗材盘点" name="four">
10
+            </el-tab-pane>
11
+            <el-tab-pane label="耗材盘点(模式二)" name="four">
12 12
                 <new-inventory></new-inventory>
13 13
             </el-tab-pane>
14 14
             <el-tab-pane label="盘点列表" name="second">