瀏覽代碼

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

csx 3 年之前
父節點
當前提交
5295e11440

+ 21 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

312
           <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
312
           <span class="content" v-if="this.prescription.anticoagulant_stop_time_hour == 0 && this.prescription.anticoagulant_stop_time_min == 0 "></span>
313
           <span class="unit"></span>
313
           <span class="unit"></span>
314
         </li>
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
       </ul>
326
       </ul>
318
     </div>
327
     </div>
628
     },
637
     },
629
     displace_speed:function(){
638
     displace_speed:function(){
630
       return this.getValueStr('displace_speed','displace_speed')
639
       return this.getValueStr('displace_speed','displace_speed')
631
-    }
640
+    },
641
+   
632
   },
642
   },
633
   created() {
643
   created() {
634
 
644
 
685
         }
695
         }
686
       }
696
       }
687
       return false
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 查看文件

335
         </li>
335
         </li>
336
 
336
 
337
 
337
 
338
-         <li v-if="isShow('预增脱水量')">
338
+        <li v-if="isShow('预增脱水量')">
339
           <label>预增脱水量(L): </label>
339
           <label>预增脱水量(L): </label>
340
           <span class="content">{{this.record.dehydration}}</span>
340
           <span class="content">{{this.record.dehydration}}</span>
341
           <span class="unit"></span>
341
           <span class="unit"></span>
342
         </li>
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
       </ul>
367
       </ul>
346
     </div>
368
     </div>

+ 34 - 9
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 查看文件

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

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

1255
       this.form.blood_sugar = parseFloat(this.form.blood_sugar) == NaN ? 0 : parseFloat(this.form.blood_sugar)
1255
       this.form.blood_sugar = parseFloat(this.form.blood_sugar) == NaN ? 0 : parseFloat(this.form.blood_sugar)
1256
       this.form.monitor_anticoagulant = parseInt(this.form.monitor_anticoagulant)
1256
       this.form.monitor_anticoagulant = parseInt(this.form.monitor_anticoagulant)
1257
       this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
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
       let mode = '1'
1260
       let mode = '1'
1261
       if (this.form.id > 0) {
1261
       if (this.form.id > 0) {
1262
         mode = '2'
1262
         mode = '2'

+ 33 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

31
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
31
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
32
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
32
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
33
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
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
           <th v-if="isShow('KT/V') && org_id == 9987" width="92px">KT/V</th>
36
           <th v-if="isShow('KT/V') && org_id == 9987" width="92px">KT/V</th>
35
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
37
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
38
+
36
           <th v-if="isShow('处理')" width="92px">处理</th>
39
           <th v-if="isShow('处理')" width="92px">处理</th>
37
           <th v-if="isShow('结果')" width="92px">结果</th>
40
           <th v-if="isShow('结果')" width="92px">结果</th>
38
         </tr>
41
         </tr>
42
           <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
45
           <td v-if="isShow('血压')"> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/{{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
43
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
46
           <td v-if="isShow('脉搏')"> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
44
           <td v-if="isShow('呼吸频率')"> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
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
           <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
50
           <td v-if="isShow('血流量')"> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
47
           <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
51
           <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
48
           <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
52
           <td v-if="isShow('超滤量')"> {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }} </td>
53
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
57
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
54
           <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
58
           <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
55
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
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
             <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
64
             <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
61
             <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>
65
             <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>
62
             <span v-if="monitor.monitor_anticoagulant == 3">低分子肝素</span>
66
             <span v-if="monitor.monitor_anticoagulant == 3">低分子肝素</span>
67
             <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
71
             <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
68
             <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
72
             <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
69
             <span v-if="monitor.monitor_anticoagulant_value!=''">({{monitor.monitor_anticoagulant_value ? monitor.monitor_anticoagulant_value : ""  }})</span>
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
           <td v-if="isShow('KT/V') && org_id == 9987">{{ monitor.ktv?monitor.ktv:""}}</td>
77
           <td v-if="isShow('KT/V') && org_id == 9987">{{ monitor.ktv?monitor.ktv:""}}</td>
72
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
78
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
73
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
79
           <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
81
 
87
 
82
 <script>
88
 <script>
83
 import store from '@/store'
89
 import store from '@/store'
84
-
85
 import { parseTime } from '@/utils'
90
 import { parseTime } from '@/utils'
86
-
91
+import { getDataConfig } from '@/utils/data'
87
 export default {
92
 export default {
88
   name: 'statOrder',
93
   name: 'statOrder',
89
   data() {
94
   data() {
113
         }
118
         }
114
       }
119
       }
115
       return false
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
 }