Explorar el Código

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

csx hace 3 años
padre
commit
5295e11440

+ 21 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue Ver fichero

@@ -312,7 +312,16 @@
312 312
           <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
313 313
           <span class="unit"></span>
314 314
         </li>
315
+       
316
+        <li v-if="isShow('病情')">
317
+          <label>病情: </label>
318
+          <span class="content">{{getIllness(this.prescription.illness)}}</span>
319
+        </li>
315 320
 
321
+         <li v-if="isShow('葡萄糖')">
322
+          <label>葡萄糖: </label>
323
+          <span class="content">{{this.prescription.amylaceum}}</span>
324
+        </li>
316 325
 
317 326
       </ul>
318 327
     </div>
@@ -628,7 +637,8 @@ export default {
628 637
     },
629 638
     displace_speed:function(){
630 639
       return this.getValueStr('displace_speed','displace_speed')
631
-    }
640
+    },
641
+   
632 642
   },
633 643
   created() {
634 644
 
@@ -685,6 +695,16 @@ export default {
685 695
         }
686 696
       }
687 697
       return false
698
+    },
699
+     getIllness(id){
700
+       var illnessList = getDataConfig('hemodialysis','illness')
701
+       var name = ""
702
+       for(let i=0;i<illnessList.length;i++){
703
+          if(id == illnessList[i].id){
704
+            name = illnessList[i].name
705
+          }
706
+       }
707
+       return name
688 708
     }
689 709
   }
690 710
 }

+ 23 - 1
src/xt_pages/dialysis/details/assessmentBefore.vue Ver fichero

@@ -335,12 +335,34 @@
335 335
         </li>
336 336
 
337 337
 
338
-         <li v-if="isShow('预增脱水量')">
338
+        <li v-if="isShow('预增脱水量')">
339 339
           <label>预增脱水量(L): </label>
340 340
           <span class="content">{{this.record.dehydration}}</span>
341 341
           <span class="unit"></span>
342 342
         </li>
343 343
 
344
+
345
+         <li v-if="isShow('透析前药物')">
346
+          <label>透析前药物: </label>
347
+          <span class="content">{{this.record.pre_dialysis_drugs}}</span>
348
+          <span class="unit"></span>
349
+        </li>
350
+       
351
+        <li v-if="isShow('围手术期')">
352
+          <label>围手术期: </label>
353
+          <span class="content">
354
+            <span v-if="this.record.period==1">无</span>
355
+            <span v-if="this.record.period==2">有</span>
356
+          </span>
357
+          <span class="unit"></span>
358
+        </li>
359
+
360
+
361
+         <li v-if="isShow('预计进食量')">
362
+          <label>预计进食量: </label>
363
+          <span class="content">{{this.record.estimated_food_intake}}</span>
364
+          <span class="unit"></span>
365
+        </li>
344 366
        
345 367
       </ul>
346 368
     </div>

+ 34 - 9
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Ver fichero

@@ -604,7 +604,6 @@
604 604
         <el-col :span="8" v-if="isShow('透析相关高血压')">
605 605
             <el-form-item label="透析相关高血压:">
606 606
              <el-select v-model="form.hypertenison">
607
-              <el-option :key="0" label="请选择" :value="0"></el-option>
608 607
               <el-option
609 608
                 v-for="item in option"
610 609
                 :label="item.name"
@@ -617,7 +616,6 @@
617 616
          <el-col :span="8" v-if="isShow('透析相关低血压')">
618 617
             <el-form-item label="透析相关低血压">
619 618
              <el-select v-model="form.hypopiesia">
620
-              <el-option :key="0" label="请选择" :value="0"></el-option>
621 619
               <el-option
622 620
                 v-for="item in option"
623 621
                 :label="item.name"
@@ -629,12 +627,26 @@
629 627
         </el-col>
630 628
         <el-col :span="8" v-if="isShow('离科方式')">
631 629
             <el-form-item label="离科方式">
632
-               <el-input v-model="form.leave_office_method"></el-input>
630
+               <el-select v-model="form.leave_office_method">
631
+                <el-option
632
+                  v-for="item in leaveOfficeMethod"
633
+                  :label="item.name"
634
+                  :value="item.id"
635
+                  :key="item.id"
636
+                ></el-option>
637
+             </el-select>
633 638
             </el-form-item>
634 639
         </el-col>
635 640
          <el-col :span="8" v-if="isShow('转归')">
636 641
             <el-form-item label="转归">
637
-               <el-input v-model="form.lapse"></el-input>
642
+             <el-select v-model="form.lapse">
643
+              <el-option
644
+                v-for="item in lapseList"
645
+                :label="item.name"
646
+                :value="item.id"
647
+                :key="item.id"
648
+              ></el-option>
649
+             </el-select>
638 650
             </el-form-item>
639 651
         </el-col>
640 652
         <el-col :span="24" v-if="isShow('KT/V')">
@@ -728,8 +740,8 @@ export default {
728 740
       sealing_fluid_special_name: '',
729 741
       option:[
730 742
         {id:0,name:"请选择"},
731
-        {id:1,name:"有"},
732
-        {id:2,name:"无"},
743
+        {id:"1",name:"有"},
744
+        {id:"2",name:"无"},
733 745
       ],
734 746
       InnerDialogProps: {
735 747
         values: [],
@@ -802,7 +814,9 @@ export default {
802 814
         other_complication:'',
803 815
         ktv:"",
804 816
         urr:"",
805
-      }
817
+      },
818
+      lapseList:[],
819
+      leaveOfficeMethod:[]
806 820
     }
807 821
   },
808 822
   watch: {
@@ -1006,6 +1020,12 @@ export default {
1006 1020
       data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
1007 1021
       data["other_complication"] = this.form.other_complication
1008 1022
       data["ktv"] = this.form.ktv
1023
+      data["urr"] = this.form.urr
1024
+      data["hypertenison"] = parseInt(this.form.hypertenison)
1025
+      data["hypopiesia"] = parseInt(this.form.hypopiesia)
1026
+      data["leave_office_method"] = this.form.leave_office_method
1027
+      data["lapse"] = this.form.lapse
1028
+      console.log("Paramsquery",data)
1009 1029
       postAssessmentAfterDislysis(ParamsQuery, data)
1010 1030
         .then(response => {
1011 1031
           this.loading = false
@@ -1154,8 +1174,11 @@ export default {
1154 1174
       this.predialysis = predialysis
1155 1175
       this.form.observation_content = predialysis.observation_content
1156 1176
       this.form.inpatient_department = predialysis.inpatient_department
1157
-      this.form.observation_content_other =
1158
-        predialysis.observation_content_other
1177
+      this.form.observation_content_other = predialysis.observation_content_other
1178
+      this.form.hypertenison = predialysis.hypertenison.toString()
1179
+      this.form.hypopiesia = predialysis.hypopiesia.toString()
1180
+      this.form.leave_office_method = predialysis.leave_office_method
1181
+      this.form.lapse = predialysis.lapse
1159 1182
       // console.log("透后", predialysis);
1160 1183
 
1161 1184
       if(predialysis != null && predialysis.id == 0){
@@ -1267,6 +1290,8 @@ export default {
1267 1290
     this.complicationOptions = getDataConfig('hemodialysis', 'complication')
1268 1291
     this.bloodFlowOptions = getDataConfig('hemodialysis', 'blood_flow')
1269 1292
     this.sealingFluidDisposeOptions = getDataConfig('hemodialysis', 'sealing_fluid_dispose')
1293
+    this.lapseList = getDataConfig('hemodialysis', 'lapse')
1294
+    this.leaveOfficeMethod = getDataConfig('hemodialysis','leave_office_method')
1270 1295
     this.internalFistulaTremorAcOptions = this.$store.getters.internal_fistula_tremor_ac
1271 1296
     this.patientGoseOptions = this.$store.getters.patient_gose
1272 1297
     this.observationContentOptions = this.$store.getters.observation_content

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Ver fichero

@@ -1255,8 +1255,8 @@ export default {
1255 1255
       this.form.blood_sugar = parseFloat(this.form.blood_sugar) == NaN ? 0 : parseFloat(this.form.blood_sugar)
1256 1256
       this.form.monitor_anticoagulant = parseInt(this.form.monitor_anticoagulant)
1257 1257
       this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
1258
-      this.form.blood_pressure_monitoring_site = this.form.blood_pressure_monitoring_site
1259
-      this.form.complication = this.form.complication
1258
+      this.form.blood_pressure_monitoring_site = parseInt(this.form.blood_pressure_monitoring_site)
1259
+      this.form.complication = parseInt(this.form.complication)
1260 1260
       let mode = '1'
1261 1261
       if (this.form.id > 0) {
1262 1262
         mode = '2'

+ 33 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue Ver fichero

@@ -31,8 +31,11 @@
31 31
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
32 32
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
33 33
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
34
+          <th v-if="isShow('血压监测部位')" width="92px">血压监测部位</th>
35
+          <th v-if="isShow('并发症')" width="92px">并发症</th>
34 36
           <th v-if="isShow('KT/V') && org_id == 9987" width="92px">KT/V</th>
35 37
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
38
+
36 39
           <th v-if="isShow('处理')" width="92px">处理</th>
37 40
           <th v-if="isShow('结果')" width="92px">结果</th>
38 41
         </tr>
@@ -42,7 +45,8 @@
42 45
           <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
43 46
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
44 47
           <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
45
-          <td> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>
48
+          <td v-if="monitors[0] && monitors[0]['venous_pressure_type'] == 2"> {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}  </td>
49
+          
46 50
           <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
47 51
           <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
48 52
           <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
@@ -53,10 +57,10 @@
53 57
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
54 58
           <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
55 59
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
56
-          <th v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </th>
57
-          <th v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </th>
58
-          <th v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </th> 
59
-          <th v-if="isShow('抗凝剂')">
60
+          <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </td>
61
+          <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </td>
62
+          <td v-if="isShow('肝素用量余量')"> {{ monitor.heparin ? monitor.heparin : "" }} </td> 
63
+          <td v-if="isShow('抗凝剂')">
60 64
             <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
61 65
             <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>
62 66
             <span v-if="monitor.monitor_anticoagulant == 3">低分子肝素</span>
@@ -67,7 +71,9 @@
67 71
             <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
68 72
             <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
69 73
             <span v-if="monitor.monitor_anticoagulant_value!=''">({{monitor.monitor_anticoagulant_value ? monitor.monitor_anticoagulant_value : ""  }})</span>
70
-          </th>
74
+          </td>
75
+          <th v-if="isShow('血压监测部位')">{{getBloodPressure(monitor.blood_pressure_monitoring_site)}}</th>
76
+          <th v-if="isShow('并发症')">{{getComplication(monitor.complication)}}</th>
71 77
           <td v-if="isShow('KT/V') && org_id == 9987">{{ monitor.ktv?monitor.ktv:""}}</td>
72 78
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
73 79
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
@@ -81,9 +87,8 @@
81 87
 
82 88
 <script>
83 89
 import store from '@/store'
84
-
85 90
 import { parseTime } from '@/utils'
86
-
91
+import { getDataConfig } from '@/utils/data'
87 92
 export default {
88 93
   name: 'statOrder',
89 94
   data() {
@@ -113,6 +118,26 @@ export default {
113 118
         }
114 119
       }
115 120
       return false
121
+    },
122
+    getBloodPressure(id){
123
+       var bloodPressureMmonitoringSite = getDataConfig('hemodialysis','blood_pressure_monitoring_site')
124
+       var name = ""
125
+       for(let i=0;i<bloodPressureMmonitoringSite.length;i++){
126
+         if(id == bloodPressureMmonitoringSite[i].id){
127
+            name = bloodPressureMmonitoringSite[i].name
128
+         }
129
+       }
130
+       return name
131
+    },
132
+    getComplication(id){
133
+      var complication = getDataConfig('hemodialysis','complication')
134
+      var name = ""
135
+      for(let i=0;i<complication.length;i++){
136
+         if(id == complication[i].id){
137
+            name = complication[i].name
138
+         }
139
+      }
140
+      return name
116 141
     }
117 142
   }
118 143
 }