|
@@ -372,7 +372,7 @@
|
372
|
372
|
</el-table-column>
|
373
|
373
|
|
374
|
374
|
|
375
|
|
-
|
|
375
|
+
|
376
|
376
|
|
377
|
377
|
<el-table-column
|
378
|
378
|
prop="heparin"
|
|
@@ -387,12 +387,12 @@
|
387
|
387
|
<el-table-column
|
388
|
388
|
prop="heparin"
|
389
|
389
|
align="center"
|
390
|
|
- label="抗凝剂"
|
|
390
|
+ label="抗凝剂"
|
391
|
391
|
width="140"
|
392
|
392
|
v-if="isShow('抗凝剂')"
|
393
|
393
|
>
|
394
|
394
|
<template slot-scope="scope">
|
395
|
|
- <span v-if="scope.row.monitor_anticoagulant == 1">无肝素</span>
|
|
395
|
+ <span v-if="scope.row.monitor_anticoagulant == 1">无肝素</span>
|
396
|
396
|
<span v-if="scope.row.monitor_anticoagulant == 2">普通肝素</span>
|
397
|
397
|
<span v-if="scope.row.monitor_anticoagulant == 3">低分子肝素</span>
|
398
|
398
|
<span v-if="scope.row.monitor_anticoagulant == 4">阿加曲班</span>
|
|
@@ -402,7 +402,7 @@
|
402
|
402
|
<span v-if="scope.row.monitor_anticoagulant == 8">依诺肝素</span>
|
403
|
403
|
<span v-if="scope.row.monitor_anticoagulant == 9">达肝素</span>
|
404
|
404
|
<span v-if="scope.row.monitor_anticoagulant_value!=''">({{ scope.row.monitor_anticoagulant_value ? scope.row.monitor_anticoagulant_value : "" }})</span>
|
405
|
|
-
|
|
405
|
+
|
406
|
406
|
</template>
|
407
|
407
|
</el-table-column>
|
408
|
408
|
|
|
@@ -453,7 +453,7 @@
|
453
|
453
|
v-if="isShow('病情变化')"
|
454
|
454
|
>
|
455
|
455
|
</el-table-column>
|
456
|
|
-
|
|
456
|
+
|
457
|
457
|
<el-table-column
|
458
|
458
|
prop="dispose"
|
459
|
459
|
align="center"
|
|
@@ -684,7 +684,7 @@
|
684
|
684
|
</div>
|
685
|
685
|
</el-form-item>
|
686
|
686
|
</el-col>
|
687
|
|
-
|
|
687
|
+
|
688
|
688
|
<el-col :span="8" v-if="isShow('血压监测部位')">
|
689
|
689
|
<el-form-item label="血压监测部位:">
|
690
|
690
|
<div style="display:flex;">
|
|
@@ -706,8 +706,8 @@
|
706
|
706
|
</el-form-item>
|
707
|
707
|
</el-col>
|
708
|
708
|
|
709
|
|
-
|
710
|
|
-
|
|
709
|
+
|
|
710
|
+
|
711
|
711
|
<!-- </el-row>
|
712
|
712
|
|
713
|
713
|
<el-row :gutter="20"> -->
|
|
@@ -894,7 +894,7 @@ export default {
|
894
|
894
|
dispose: '', // 处理
|
895
|
895
|
result: '', // 结果,
|
896
|
896
|
blood_oxygen_saturation: '',
|
897
|
|
- urr:'',
|
|
897
|
+ urr:'',
|
898
|
898
|
blood_sugar:'',//血糖
|
899
|
899
|
monitor_anticoagulant:'',
|
900
|
900
|
monitor_anticoagulant_value:"",
|
|
@@ -929,21 +929,21 @@ export default {
|
929
|
929
|
}
|
930
|
930
|
},
|
931
|
931
|
created() {
|
932
|
|
- this.template_id = this.$store.getters.xt_user.template_info.template_id
|
933
|
|
- this.org_id = this.$store.getters.xt_user.template_info.org_id
|
934
|
|
- var date = this.$route.query.date
|
935
|
|
- var patient_id = this.$route.query.patient_id
|
936
|
|
- this.patient_id = patient_id
|
937
|
|
- this.schedule_date = date
|
938
|
|
- this.form.monitoring_date = date
|
|
932
|
+ this.template_id = this.$store.getters.xt_user.template_info.template_id;
|
|
933
|
+ this.org_id = this.$store.getters.xt_user.template_info.org_id;
|
|
934
|
+ var date = this.$route.query.date;
|
|
935
|
+ var patient_id = this.$route.query.patient_id;
|
|
936
|
+ this.patient_id = patient_id;
|
|
937
|
+ this.schedule_date = date;
|
|
938
|
+ this.form.monitoring_date = date;
|
939
|
939
|
// this.form.operate_date = parseInt((new Date()).getTime() / 1000)
|
940
|
940
|
// this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
|
941
|
|
- this.form.operate_time = new Date().getTime()
|
942
|
|
- var symptoms = getDataConfig('hemodialysis', 'symptoms')
|
943
|
|
- console.log("sysmptoms3333333333",symptoms)
|
944
|
|
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
|
945
|
|
- console.log("抗凝剂",this.anticoagulantsConfit)
|
946
|
|
- this.bloodPressureMmonitoringSite = getDataConfig('hemodialysis','blood_pressure_monitoring_site')
|
|
941
|
+ this.form.operate_time = new Date().getTime();
|
|
942
|
+ var symptoms = getDataConfig('hemodialysis', 'symptoms');
|
|
943
|
+ console.log("sysmptoms3333333333",symptoms);
|
|
944
|
+ this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
|
|
945
|
+ //console.log("抗凝剂",this.anticoagulantsConfit)
|
|
946
|
+ this.bloodPressureMmonitoringSite = getDataConfig('hemodialysis','blood_pressure_monitoring_site');
|
947
|
947
|
this.complicationList = getDataConfig('hemodialysis','complication')
|
948
|
948
|
|
949
|
949
|
},
|
|
@@ -1029,7 +1029,7 @@ export default {
|
1029
|
1029
|
},
|
1030
|
1030
|
|
1031
|
1031
|
isShow(name) {
|
1032
|
|
- var filedList = store.getters.xt_user.fileds
|
|
1032
|
+ var filedList = store.getters.xt_user.fileds;
|
1033
|
1033
|
for (let i = 0; i < filedList.length; i++) {
|
1034
|
1034
|
if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
|
1035
|
1035
|
return true
|
|
@@ -1041,7 +1041,7 @@ export default {
|
1041
|
1041
|
this.cancelEditAction()
|
1042
|
1042
|
},
|
1043
|
1043
|
show() {
|
1044
|
|
- this.getPermission()
|
|
1044
|
+ this.getPermission();
|
1045
|
1045
|
this.visible = true
|
1046
|
1046
|
},
|
1047
|
1047
|
hide() {
|
|
@@ -1052,67 +1052,67 @@ export default {
|
1052
|
1052
|
},
|
1053
|
1053
|
|
1054
|
1054
|
newRecordAction: function() {
|
1055
|
|
- this.setEditMonitor(null)
|
1056
|
|
- this.$refs.table.setCurrentRow(null)
|
1057
|
|
- this.edit = true
|
1058
|
|
- this.isAdd = true
|
|
1055
|
+ this.setEditMonitor(null);
|
|
1056
|
+ this.$refs.table.setCurrentRow(null);
|
|
1057
|
+ this.edit = true;
|
|
1058
|
+ this.isAdd = true;
|
1059
|
1059
|
this.getLastRecordTody()
|
1060
|
1060
|
},
|
1061
|
1061
|
getLastRecordTody() {
|
1062
|
1062
|
const params = {
|
1063
|
1063
|
patient_id: this.patient_id
|
1064
|
|
- }
|
|
1064
|
+ };
|
1065
|
1065
|
|
1066
|
1066
|
getTodayMonitor(params).then(rs => {
|
1067
|
|
- console.log("机构ID",this.org_id)
|
1068
|
|
-
|
1069
|
|
- var resp = rs.data.data
|
1070
|
|
-
|
1071
|
|
- this.form.operate_time = resp.monitor.operate_time ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date())
|
1072
|
|
- this.form.temperature = '' // this.last_monitor_record.pulse_frequency;
|
1073
|
|
-
|
1074
|
|
- this.form.pulse_frequency = '' // this.last_monitor_record.pulse_frequency;
|
1075
|
|
- this.form.breathing_rated = resp.monitor.breathing_rated ? resp.monitor.breathing_rated : ''
|
1076
|
|
- this.form.systolic_bp = '' // this.last_monitor_record.systolic_blood_pressure;
|
1077
|
|
- this.form.diastolic_bp = '' // this.last_monitor_record.diastolic_blood_pressure;
|
1078
|
|
- this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : ''
|
|
1067
|
+ console.log("机构ID",this.org_id);
|
|
1068
|
+
|
|
1069
|
+ var resp = rs.data.data;
|
|
1070
|
+
|
|
1071
|
+ this.form.operate_time = resp.monitor.operate_time ? (resp.monitor.operate_time + 3600) * 1000 : Date.parse(new Date());
|
|
1072
|
+ this.form.temperature = ''; // this.last_monitor_record.pulse_frequency;
|
|
1073
|
+
|
|
1074
|
+ this.form.pulse_frequency = ''; // this.last_monitor_record.pulse_frequency;
|
|
1075
|
+ this.form.breathing_rated = resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
|
|
1076
|
+ this.form.systolic_bp = ''; // this.last_monitor_record.systolic_blood_pressure;
|
|
1077
|
+ this.form.diastolic_bp = ''; // this.last_monitor_record.diastolic_blood_pressure;
|
|
1078
|
+ this.form.blood_flow_volume = resp.monitor.blood_flow_volume ? resp.monitor.blood_flow_volume : '';
|
1079
|
1079
|
// 静脉压
|
1080
|
1080
|
if(this.org_id == 10060){
|
1081
|
1081
|
this.form.venous_pressure = resp.monitor.venous_pressure
|
1082
|
1082
|
}else{
|
1083
|
1083
|
this.form.venous_pressure = '' // this.last_monitor_record.venous_pressure;
|
1084
|
1084
|
}
|
1085
|
|
-
|
1086
|
|
- this.form.venous_pressure_type = resp.monitor.venous_pressure_type ? resp.monitor.venous_pressure_type : 1
|
1087
|
|
- this.form.arterial_pressure = resp.monitor.arterial_pressure ? resp.monitor.arterial_pressure : '' // this.last_monitor_record.arterial_pressure;
|
1088
|
|
- this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type ? resp.monitor.arterial_pressure_type : 1
|
|
1085
|
+
|
|
1086
|
+ this.form.venous_pressure_type = resp.monitor.venous_pressure_type ? resp.monitor.venous_pressure_type : 1;
|
|
1087
|
+ this.form.arterial_pressure = resp.monitor.arterial_pressure ? resp.monitor.arterial_pressure : ''; // this.last_monitor_record.arterial_pressure;
|
|
1088
|
+ this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type ? resp.monitor.arterial_pressure_type : 1;
|
1089
|
1089
|
if(this.org_id == 10060){
|
1090
|
1090
|
this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure;
|
1091
|
1091
|
}else{
|
1092
|
1092
|
this.form.transmembrane_pressure = '' // this.last_monitor_record.transmembrane_pressure;
|
1093
|
1093
|
}
|
1094
|
|
- this.form.transmembrane_pressure_type = resp.monitor.transmembrane_pressure_type ? resp.monitor.transmembrane_pressure_type : 1
|
1095
|
|
- this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : ''
|
1096
|
|
- this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : ''
|
1097
|
|
- this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : ''
|
1098
|
|
- this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : ''
|
1099
|
|
- this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : ''
|
1100
|
|
- this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : ''
|
1101
|
|
- this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : ''
|
1102
|
|
- this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : ''
|
1103
|
|
- this.form.displacement_quantity = resp.monitor.displacement_quantity ? resp.monitor.displacement_quantity : '' // this.last_monitor_record.displacement_quantity;
|
1104
|
|
- this.form.conductivity = ''
|
1105
|
|
- this.form.displacement_flow_quantity = resp.monitor.displacement_flow_quantity ? resp.monitor.displacement_flow_quantity : ''
|
1106
|
|
- this.form.ktv = resp.monitor.ktv ? resp.monitor.ktv : '' // this.last_monitor_record.ktv;
|
1107
|
|
- this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : '' // this.last_monitor_record.symptom;
|
1108
|
|
- this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : '' // this.last_monitor_record.dispose;
|
1109
|
|
- this.form.result = resp.monitor.result ? resp.monitor.result : '' // this.last_monitor_record.result;
|
1110
|
|
- this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : ''
|
1111
|
|
- this.form.urr = resp.monitor.urr?resp.monitor.urr:''
|
1112
|
|
- this.form.blood_sugar = resp.monitor.blood_sugar?resp.monitor.blood_sugar:''
|
1113
|
|
- this.form.sodium_concentration = resp.monitor.sodium_concentration?resp.monitor.sodium_concentration:''
|
1114
|
|
- this.form.conductivity = resp.monitor.conductivity?resp.monitor.conductivity:''
|
1115
|
|
- this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:""
|
|
1094
|
+ this.form.transmembrane_pressure_type = resp.monitor.transmembrane_pressure_type ? resp.monitor.transmembrane_pressure_type : 1;
|
|
1095
|
+ this.form.ultrafiltration_rate = resp.monitor.ultrafiltration_rate ? resp.monitor.ultrafiltration_rate : '';
|
|
1096
|
+ this.form.ultrafiltration_volume = resp.monitor.ultrafiltration_volume ? resp.monitor.ultrafiltration_volume : '';
|
|
1097
|
+ this.form.sodium_concentration = resp.monitor.sodium_concentration ? resp.monitor.sodium_concentration : '';
|
|
1098
|
+ this.form.dialysate_temperature = resp.monitor.dialysate_temperature ? resp.monitor.dialysate_temperature : '';
|
|
1099
|
+ this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature : '';
|
|
1100
|
+ this.form.replacement_rate = resp.monitor.replacement_rate ? resp.monitor.replacement_rate : '';
|
|
1101
|
+ this.form.heparin = resp.monitor.heparin ? resp.monitor.heparin : '';
|
|
1102
|
+ this.form.dialysate_flow = resp.monitor.dialysate_flow ? resp.monitor.dialysate_flow : '';
|
|
1103
|
+ this.form.displacement_quantity = resp.monitor.displacement_quantity ? resp.monitor.displacement_quantity : ''; // this.last_monitor_record.displacement_quantity;
|
|
1104
|
+ this.form.conductivity = '';
|
|
1105
|
+ this.form.displacement_flow_quantity = resp.monitor.displacement_flow_quantity ? resp.monitor.displacement_flow_quantity : '';
|
|
1106
|
+ this.form.ktv = resp.monitor.ktv ? resp.monitor.ktv : ''; // this.last_monitor_record.ktv;
|
|
1107
|
+ this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ''; // this.last_monitor_record.symptom;
|
|
1108
|
+ this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ''; // this.last_monitor_record.dispose;
|
|
1109
|
+ this.form.result = resp.monitor.result ? resp.monitor.result : ''; // this.last_monitor_record.result;
|
|
1110
|
+ this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation ? resp.monitor.blood_oxygen_saturation : '';
|
|
1111
|
+ this.form.urr = resp.monitor.urr?resp.monitor.urr:'';
|
|
1112
|
+ this.form.blood_sugar = resp.monitor.blood_sugar?resp.monitor.blood_sugar:'';
|
|
1113
|
+ this.form.sodium_concentration = resp.monitor.sodium_concentration?resp.monitor.sodium_concentration:'';
|
|
1114
|
+ this.form.conductivity = resp.monitor.conductivity?resp.monitor.conductivity:'';
|
|
1115
|
+ this.form.monitor_anticoagulant = resp.monitor.monitor_anticoagulant?resp.monitor.monitor_anticoagulant:"";
|
1116
|
1116
|
this.form.monitor_anticoagulant_value = resp.monitor.monitor_anticoagulant_value?resp.monitor.monitor_anticoagulant_value:""
|
1117
|
1117
|
|
1118
|
1118
|
})
|
|
@@ -1120,18 +1120,18 @@ export default {
|
1120
|
1120
|
|
1121
|
1121
|
modifyRecordAction: function() {
|
1122
|
1122
|
if (this.table_current_row == null) {
|
1123
|
|
- this.$message.error('请选择一条监测记录')
|
|
1123
|
+ this.$message.error('请选择一条监测记录');
|
1124
|
1124
|
return
|
1125
|
1125
|
}
|
1126
|
|
- this.creator = this.table_current_row.creator
|
1127
|
|
- this.setEditMonitor(this.table_current_row)
|
1128
|
|
- this.$refs.table.setCurrentRow(null)
|
1129
|
|
- this.edit = true
|
|
1126
|
+ this.creator = this.table_current_row.creator;
|
|
1127
|
+ this.setEditMonitor(this.table_current_row);
|
|
1128
|
+ this.$refs.table.setCurrentRow(null);
|
|
1129
|
+ this.edit = true;
|
1130
|
1130
|
this.isAdd = false
|
1131
|
1131
|
},
|
1132
|
1132
|
cancelEditAction: function() {
|
1133
|
|
- this.setEditMonitor(null)
|
1134
|
|
- this.$refs.table.setCurrentRow(null)
|
|
1133
|
+ this.setEditMonitor(null);
|
|
1134
|
+ this.$refs.table.setCurrentRow(null);
|
1135
|
1135
|
this.edit = false
|
1136
|
1136
|
},
|
1137
|
1137
|
tableCurrentRowChange: function(currentRow) {
|
|
@@ -1141,142 +1141,142 @@ export default {
|
1141
|
1141
|
},
|
1142
|
1142
|
setEditMonitor: function(monitor) {
|
1143
|
1143
|
if (monitor == null || monitor == undefined) {
|
1144
|
|
- this.form.id = 0
|
|
1144
|
+ this.form.id = 0;
|
1145
|
1145
|
// this.form.operate_date = parseInt((new Date()).getTime() / 1000)
|
1146
|
1146
|
// this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
|
1147
|
|
- this.form.operate_time = new Date().getTime()
|
1148
|
|
- this.form.systolic_bp = ''
|
1149
|
|
- this.form.diastolic_bp = ''
|
1150
|
|
- this.form.pulse_frequency = ''
|
1151
|
|
- this.form.breathing_rated = ''
|
1152
|
|
- this.form.blood_flow_volume = ''
|
1153
|
|
- this.form.temperature = ''
|
1154
|
|
- this.form.venous_pressure = ''
|
1155
|
|
- this.form.venous_pressure_type = 1
|
1156
|
|
- this.form.transmembrane_pressure = ''
|
1157
|
|
- this.form.transmembrane_pressure_type = 1
|
1158
|
|
- this.form.ultrafiltration_volume = ''
|
1159
|
|
- this.form.ultrafiltration_rate = ''
|
1160
|
|
- this.form.arterial_pressure = ''
|
1161
|
|
- this.form.arterial_pressure_type = 1
|
1162
|
|
- this.form.sodium_concentration = ''
|
1163
|
|
- this.form.dialysate_temperature = ''
|
1164
|
|
- this.form.replacement_rate = ''
|
1165
|
|
- this.form.displacement_quantity = ''
|
1166
|
|
- this.form.conductivity = ''
|
1167
|
|
- this.form.displacement_flow_quantity = ''
|
1168
|
|
- this.form.heparin = ''
|
1169
|
|
- this.form.dialysate_flow = ''
|
1170
|
|
- this.form.ktv = ''
|
1171
|
|
- this.form.symptom = ''
|
1172
|
|
- this.form.dispose = ''
|
1173
|
|
- this.form.result = ''
|
1174
|
|
- this.symptom_selecteds = []
|
1175
|
|
- this.dispose_selecteds = []
|
1176
|
|
- this.result_selecteds = []
|
1177
|
|
- this.form.urr = ''
|
1178
|
|
- this.form.blood_sugar = ''
|
1179
|
|
- this.form.monitor_anticoagulant = ''
|
|
1147
|
+ this.form.operate_time = new Date().getTime();
|
|
1148
|
+ this.form.systolic_bp = '';
|
|
1149
|
+ this.form.diastolic_bp = '';
|
|
1150
|
+ this.form.pulse_frequency = '';
|
|
1151
|
+ this.form.breathing_rated = '';
|
|
1152
|
+ this.form.blood_flow_volume = '';
|
|
1153
|
+ this.form.temperature = '';
|
|
1154
|
+ this.form.venous_pressure = '';
|
|
1155
|
+ this.form.venous_pressure_type = 1;
|
|
1156
|
+ this.form.transmembrane_pressure = '';
|
|
1157
|
+ this.form.transmembrane_pressure_type = 1;
|
|
1158
|
+ this.form.ultrafiltration_volume = '';
|
|
1159
|
+ this.form.ultrafiltration_rate = '';
|
|
1160
|
+ this.form.arterial_pressure = '';
|
|
1161
|
+ this.form.arterial_pressure_type = 1;
|
|
1162
|
+ this.form.sodium_concentration = '';
|
|
1163
|
+ this.form.dialysate_temperature = '';
|
|
1164
|
+ this.form.replacement_rate = '';
|
|
1165
|
+ this.form.displacement_quantity = '';
|
|
1166
|
+ this.form.conductivity = '';
|
|
1167
|
+ this.form.displacement_flow_quantity = '';
|
|
1168
|
+ this.form.heparin = '';
|
|
1169
|
+ this.form.dialysate_flow = '';
|
|
1170
|
+ this.form.ktv = '';
|
|
1171
|
+ this.form.symptom = '';
|
|
1172
|
+ this.form.dispose = '';
|
|
1173
|
+ this.form.result = '';
|
|
1174
|
+ this.symptom_selecteds = [];
|
|
1175
|
+ this.dispose_selecteds = [];
|
|
1176
|
+ this.result_selecteds = [];
|
|
1177
|
+ this.form.urr = '';
|
|
1178
|
+ this.form.blood_sugar = '';
|
|
1179
|
+ this.form.monitor_anticoagulant = '';
|
1180
|
1180
|
this.form.monitor_anticoagulant_value = ''
|
1181
|
1181
|
} else {
|
1182
|
1182
|
(this.form.id = monitor.id),
|
1183
|
1183
|
// this.form.operate_date = monitor.operate_date
|
1184
|
1184
|
// this.form.monitoring_time = monitor.monitoring_time
|
1185
|
|
- (this.form.operate_time = monitor.operate_time * 1000)
|
1186
|
|
- this.form.systolic_bp = monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : ''
|
1187
|
|
- this.form.temperature = monitor.temperature ? monitor.temperature : ''
|
1188
|
|
- this.form.diastolic_bp = monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : ''
|
1189
|
|
- this.form.pulse_frequency = monitor.pulse_frequency ? monitor.pulse_frequency : ''
|
1190
|
|
- this.form.breathing_rated = monitor.breathing_rate ? monitor.breathing_rate : ''
|
1191
|
|
- this.form.blood_flow_volume = monitor.blood_flow_volume ? monitor.blood_flow_volume : ''
|
1192
|
|
- this.form.venous_pressure = monitor.venous_pressure ? monitor.venous_pressure : ''
|
1193
|
|
- this.form.venous_pressure_type = monitor.venous_pressure_type ? monitor.venous_pressure_type : ''
|
1194
|
|
- this.form.transmembrane_pressure = monitor.transmembrane_pressure ? monitor.transmembrane_pressure : ''
|
1195
|
|
- this.form.transmembrane_pressure_type = monitor.transmembrane_pressure_type ? monitor.transmembrane_pressure_type : ''
|
1196
|
|
- this.form.ultrafiltration_volume = monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : ''
|
1197
|
|
- this.form.ultrafiltration_rate = monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : ''
|
1198
|
|
- this.form.arterial_pressure = monitor.arterial_pressure ? monitor.arterial_pressure : ''
|
1199
|
|
- this.form.arterial_pressure_type = monitor.arterial_pressure_type ? monitor.arterial_pressure_type : ''
|
1200
|
|
- this.form.sodium_concentration = monitor.sodium_concentration ? monitor.sodium_concentration : ''
|
1201
|
|
- this.form.dialysate_temperature = monitor.dialysate_temperature ? monitor.dialysate_temperature : ''
|
1202
|
|
- this.form.replacement_rate = monitor.replacement_rate ? monitor.replacement_rate : ''
|
1203
|
|
- this.form.displacement_quantity = monitor.displacement_quantity ? monitor.displacement_quantity : ''
|
1204
|
|
- this.form.conductivity = monitor.conductivity ? monitor.conductivity : ''
|
1205
|
|
- this.form.displacement_flow_quantity = monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : ''
|
1206
|
|
- this.form.heparin = monitor.heparin ? monitor.heparin : ''
|
1207
|
|
- this.form.dialysate_flow = monitor.dialysate_flow ? monitor.dialysate_flow : ''
|
1208
|
|
-
|
1209
|
|
- this.form.ktv = monitor.ktv ? monitor.ktv : ''
|
1210
|
|
- this.form.symptom = monitor.symptom
|
1211
|
|
- this.form.dispose = monitor.dispose
|
1212
|
|
- this.form.result = monitor.result
|
1213
|
|
- this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation
|
1214
|
|
- this.form.urr = monitor.urr?monitor.urr:''
|
1215
|
|
- this.form.blood_sugar = monitor.blood_sugar?monitor.blood_sugar:''
|
1216
|
|
- this.form.monitor_anticoagulant = monitor.monitor_anticoagulant?monitor.monitor_anticoagulant:''
|
1217
|
|
- this.form.monitor_anticoagulant_value = monitor.monitor_anticoagulant_value?monitor.monitor_anticoagulant_value:""
|
|
1185
|
+ (this.form.operate_time = monitor.operate_time * 1000);
|
|
1186
|
+ this.form.systolic_bp = monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : '';
|
|
1187
|
+ this.form.temperature = monitor.temperature ? monitor.temperature : '';
|
|
1188
|
+ this.form.diastolic_bp = monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : '';
|
|
1189
|
+ this.form.pulse_frequency = monitor.pulse_frequency ? monitor.pulse_frequency : '';
|
|
1190
|
+ this.form.breathing_rated = monitor.breathing_rate ? monitor.breathing_rate : '';
|
|
1191
|
+ this.form.blood_flow_volume = monitor.blood_flow_volume ? monitor.blood_flow_volume : '';
|
|
1192
|
+ this.form.venous_pressure = monitor.venous_pressure ? monitor.venous_pressure : '';
|
|
1193
|
+ this.form.venous_pressure_type = monitor.venous_pressure_type ? monitor.venous_pressure_type : '';
|
|
1194
|
+ this.form.transmembrane_pressure = monitor.transmembrane_pressure ? monitor.transmembrane_pressure : '';
|
|
1195
|
+ this.form.transmembrane_pressure_type = monitor.transmembrane_pressure_type ? monitor.transmembrane_pressure_type : '';
|
|
1196
|
+ this.form.ultrafiltration_volume = monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '';
|
|
1197
|
+ this.form.ultrafiltration_rate = monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '';
|
|
1198
|
+ this.form.arterial_pressure = monitor.arterial_pressure ? monitor.arterial_pressure : '';
|
|
1199
|
+ this.form.arterial_pressure_type = monitor.arterial_pressure_type ? monitor.arterial_pressure_type : '';
|
|
1200
|
+ this.form.sodium_concentration = monitor.sodium_concentration ? monitor.sodium_concentration : '';
|
|
1201
|
+ this.form.dialysate_temperature = monitor.dialysate_temperature ? monitor.dialysate_temperature : '';
|
|
1202
|
+ this.form.replacement_rate = monitor.replacement_rate ? monitor.replacement_rate : '';
|
|
1203
|
+ this.form.displacement_quantity = monitor.displacement_quantity ? monitor.displacement_quantity : '';
|
|
1204
|
+ this.form.conductivity = monitor.conductivity ? monitor.conductivity : '';
|
|
1205
|
+ this.form.displacement_flow_quantity = monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : '';
|
|
1206
|
+ this.form.heparin = monitor.heparin ? monitor.heparin : '';
|
|
1207
|
+ this.form.dialysate_flow = monitor.dialysate_flow ? monitor.dialysate_flow : '';
|
|
1208
|
+
|
|
1209
|
+ this.form.ktv = monitor.ktv ? monitor.ktv : '';
|
|
1210
|
+ this.form.symptom = monitor.symptom;
|
|
1211
|
+ this.form.dispose = monitor.dispose;
|
|
1212
|
+ this.form.result = monitor.result;
|
|
1213
|
+ this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation;
|
|
1214
|
+ this.form.urr = monitor.urr?monitor.urr:'';
|
|
1215
|
+ this.form.blood_sugar = monitor.blood_sugar?monitor.blood_sugar:'';
|
|
1216
|
+ this.form.monitor_anticoagulant = monitor.monitor_anticoagulant?monitor.monitor_anticoagulant:'';
|
|
1217
|
+ this.form.monitor_anticoagulant_value = monitor.monitor_anticoagulant_value?monitor.monitor_anticoagulant_value:"";
|
1218
|
1218
|
// 设置三个下拉框的值,直接调用事件偷懒
|
1219
|
|
- this.symptomTextareaBlur()
|
1220
|
|
- this.disposeTextareaBlur()
|
|
1219
|
+ this.symptomTextareaBlur();
|
|
1220
|
+ this.disposeTextareaBlur();
|
1221
|
1221
|
this.resultTextareaBlur()
|
1222
|
1222
|
}
|
1223
|
1223
|
},
|
1224
|
1224
|
|
1225
|
1225
|
submitAction: function() {
|
1226
|
|
-
|
|
1226
|
+
|
1227
|
1227
|
// TODO loading
|
1228
|
|
- var is_new = this.form.id
|
1229
|
|
- this.form.operate_time = parseInt(this.form.operate_time / 1000)
|
1230
|
|
- this.form.systolic_bp = parseFloat(this.form.systolic_bp) == NaN ? 0 : parseFloat(this.form.systolic_bp)
|
1231
|
|
- this.form.diastolic_bp = parseFloat(this.form.diastolic_bp) == NaN ? 0 : parseFloat(this.form.diastolic_bp)
|
1232
|
|
- this.form.temperature = parseFloat(this.form.temperature) == NaN ? 0 : parseFloat(this.form.temperature)
|
1233
|
|
- this.form.pulse_frequency = parseFloat(this.form.pulse_frequency) == NaN ? 0 : parseFloat(this.form.pulse_frequency)
|
1234
|
|
- this.form.breathing_rated = parseFloat(this.form.breathing_rated) == NaN ? 0 : parseFloat(this.form.breathing_rated)
|
1235
|
|
- this.form.blood_flow_volume = parseFloat(this.form.blood_flow_volume) == NaN ? 0 : parseFloat(this.form.blood_flow_volume)
|
1236
|
|
- this.form.venous_pressure = parseFloat(this.form.venous_pressure) == NaN ? 0 : parseFloat(this.form.venous_pressure)
|
1237
|
|
- this.form.venous_pressure_type = parseFloat(this.form.venous_pressure_type) == NaN ? 1 : parseFloat(this.form.venous_pressure_type)
|
1238
|
|
- this.form.transmembrane_pressure = parseFloat(this.form.transmembrane_pressure) == NaN ? 0 : parseFloat(this.form.transmembrane_pressure)
|
1239
|
|
- this.form.transmembrane_pressure_type = parseFloat(this.form.transmembrane_pressure_type) == NaN ? 1 : parseFloat(this.form.transmembrane_pressure_type)
|
1240
|
|
- this.form.ultrafiltration_volume = parseFloat(this.form.ultrafiltration_volume) == NaN ? 0 : parseFloat(this.form.ultrafiltration_volume)
|
1241
|
|
- this.form.ultrafiltration_rate = parseFloat(this.form.ultrafiltration_rate) == NaN ? 0 : parseFloat(this.form.ultrafiltration_rate)
|
1242
|
|
- this.form.arterial_pressure = parseFloat(this.form.arterial_pressure) == NaN ? 0 : parseFloat(this.form.arterial_pressure)
|
1243
|
|
- this.form.arterial_pressure_type = parseFloat(this.form.arterial_pressure_type) == NaN ? 1 : parseFloat(this.form.arterial_pressure_type)
|
1244
|
|
- this.form.sodium_concentration = parseFloat(this.form.sodium_concentration) == NaN ? 0 : parseFloat(this.form.sodium_concentration)
|
1245
|
|
- this.form.dialysate_temperature = parseFloat(this.form.dialysate_temperature) == NaN ? 0 : parseFloat(this.form.dialysate_temperature)
|
1246
|
|
- this.form.replacement_rate = parseFloat(this.form.replacement_rate) == NaN ? 0 : parseFloat(this.form.replacement_rate)
|
1247
|
|
- this.form.displacement_quantity = parseFloat(this.form.displacement_quantity) == NaN ? 0 : parseFloat(this.form.displacement_quantity)
|
1248
|
|
- this.form.conductivity = parseFloat(this.form.conductivity) == NaN ? 0 : parseFloat(this.form.conductivity)
|
1249
|
|
- this.form.displacement_flow_quantity = parseFloat(this.form.displacement_flow_quantity) == NaN ? 0 : parseFloat(this.form.displacement_flow_quantity)
|
1250
|
|
- this.form.heparin = parseFloat(this.form.heparin) == NaN ? 0 : parseFloat(this.form.heparin)
|
1251
|
|
- this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
|
1252
|
|
- this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
|
1253
|
|
- this.form.monitoring_date = parseInt(this.form.monitoring_date)
|
1254
|
|
- this.form.urr = this.form.urr
|
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)
|
1257
|
|
- this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
|
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'
|
|
1228
|
+ var is_new = this.form.id;
|
|
1229
|
+ this.form.operate_time = parseInt(this.form.operate_time / 1000);
|
|
1230
|
+ this.form.systolic_bp = parseFloat(this.form.systolic_bp) == NaN ? 0 : parseFloat(this.form.systolic_bp);
|
|
1231
|
+ this.form.diastolic_bp = parseFloat(this.form.diastolic_bp) == NaN ? 0 : parseFloat(this.form.diastolic_bp);
|
|
1232
|
+ this.form.temperature = parseFloat(this.form.temperature) == NaN ? 0 : parseFloat(this.form.temperature);
|
|
1233
|
+ this.form.pulse_frequency = parseFloat(this.form.pulse_frequency) == NaN ? 0 : parseFloat(this.form.pulse_frequency);
|
|
1234
|
+ this.form.breathing_rated = parseFloat(this.form.breathing_rated) == NaN ? 0 : parseFloat(this.form.breathing_rated);
|
|
1235
|
+ this.form.blood_flow_volume = parseFloat(this.form.blood_flow_volume) == NaN ? 0 : parseFloat(this.form.blood_flow_volume);
|
|
1236
|
+ this.form.venous_pressure = parseFloat(this.form.venous_pressure) == NaN ? 0 : parseFloat(this.form.venous_pressure);
|
|
1237
|
+ this.form.venous_pressure_type = parseFloat(this.form.venous_pressure_type) == NaN ? 1 : parseFloat(this.form.venous_pressure_type);
|
|
1238
|
+ this.form.transmembrane_pressure = parseFloat(this.form.transmembrane_pressure) == NaN ? 0 : parseFloat(this.form.transmembrane_pressure);
|
|
1239
|
+ this.form.transmembrane_pressure_type = parseFloat(this.form.transmembrane_pressure_type) == NaN ? 1 : parseFloat(this.form.transmembrane_pressure_type);
|
|
1240
|
+ this.form.ultrafiltration_volume = parseFloat(this.form.ultrafiltration_volume) == NaN ? 0 : parseFloat(this.form.ultrafiltration_volume);
|
|
1241
|
+ this.form.ultrafiltration_rate = parseFloat(this.form.ultrafiltration_rate) == NaN ? 0 : parseFloat(this.form.ultrafiltration_rate);
|
|
1242
|
+ this.form.arterial_pressure = parseFloat(this.form.arterial_pressure) == NaN ? 0 : parseFloat(this.form.arterial_pressure);
|
|
1243
|
+ this.form.arterial_pressure_type = parseFloat(this.form.arterial_pressure_type) == NaN ? 1 : parseFloat(this.form.arterial_pressure_type);
|
|
1244
|
+ this.form.sodium_concentration = parseFloat(this.form.sodium_concentration) == NaN ? 0 : parseFloat(this.form.sodium_concentration);
|
|
1245
|
+ this.form.dialysate_temperature = parseFloat(this.form.dialysate_temperature) == NaN ? 0 : parseFloat(this.form.dialysate_temperature);
|
|
1246
|
+ this.form.replacement_rate = parseFloat(this.form.replacement_rate) == NaN ? 0 : parseFloat(this.form.replacement_rate);
|
|
1247
|
+ this.form.displacement_quantity = parseFloat(this.form.displacement_quantity) == NaN ? 0 : parseFloat(this.form.displacement_quantity);
|
|
1248
|
+ this.form.conductivity = parseFloat(this.form.conductivity) == NaN ? 0 : parseFloat(this.form.conductivity);
|
|
1249
|
+ this.form.displacement_flow_quantity = parseFloat(this.form.displacement_flow_quantity) == NaN ? 0 : parseFloat(this.form.displacement_flow_quantity);
|
|
1250
|
+ this.form.heparin = parseFloat(this.form.heparin) == NaN ? 0 : parseFloat(this.form.heparin);
|
|
1251
|
+ this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow);
|
|
1252
|
+ this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
|
|
1253
|
+ this.form.monitoring_date = parseInt(this.form.monitoring_date);
|
|
1254
|
+ this.form.urr = this.form.urr;
|
|
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);
|
|
1257
|
+ this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value;
|
|
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';
|
1261
|
1261
|
if (this.form.id > 0) {
|
1262
|
|
- mode = '2'
|
|
1262
|
+ mode = '2';
|
1263
|
1263
|
if (this.creator > 0 && this.creator != this.$store.getters.xt_user.user.id) {
|
1264
|
1264
|
mode = '3'
|
1265
|
1265
|
}
|
1266
|
1266
|
}
|
1267
|
1267
|
editMonitor(this.patient_id, this.schedule_date, this.form, mode).then(
|
1268
|
|
-
|
|
1268
|
+
|
1269
|
1269
|
rs => {
|
1270
|
|
- var resp = rs.data
|
|
1270
|
+ var resp = rs.data;
|
1271
|
1271
|
if (resp.state == 1) {
|
1272
|
|
- var monitor = resp.data.monitor
|
|
1272
|
+ var monitor = resp.data.monitor;
|
1273
|
1273
|
if (this.isAdd) {
|
1274
|
|
- this.monitors.unshift(monitor)
|
1275
|
|
- this.monitors.sort((a, b) => b.operate_time - a.operate_time)
|
|
1274
|
+ this.monitors.unshift(monitor);
|
|
1275
|
+ this.monitors.sort((a, b) => b.operate_time - a.operate_time);
|
1276
|
1276
|
this.monitors.reverse()
|
1277
|
1277
|
} else {
|
1278
|
1278
|
for (let index = 0; index < this.monitors.length; index++) {
|
1279
|
|
- const m = this.monitors[index]
|
|
1279
|
+ const m = this.monitors[index];
|
1280
|
1280
|
if (m.id == monitor.id) {
|
1281
|
1281
|
for (const key in monitor) {
|
1282
|
1282
|
m[key] = monitor[key]
|
|
@@ -1287,36 +1287,36 @@ export default {
|
1287
|
1287
|
}
|
1288
|
1288
|
this.reset()
|
1289
|
1289
|
} else {
|
1290
|
|
- this.form.systolic_bp = parseFloat(this.form.systolic_bp) == NaN ? 0 : parseFloat(this.form.systolic_bp)
|
1291
|
|
- this.form.diastolic_bp = parseFloat(this.form.diastolic_bp) == NaN ? 0 : parseFloat(this.form.diastolic_bp)
|
1292
|
|
- this.form.temperature = parseFloat(this.form.temperature) == NaN ? 0 : parseFloat(this.form.temperature)
|
1293
|
|
- this.form.pulse_frequency = parseFloat(this.form.pulse_frequency) == NaN ? 0 : parseFloat(this.form.pulse_frequency)
|
1294
|
|
- this.form.breathing_rated = parseFloat(this.form.breathing_rated) == NaN ? 0 : parseFloat(this.form.breathing_rated)
|
1295
|
|
- this.form.blood_flow_volume = parseFloat(this.form.blood_flow_volume) == NaN ? 0 : parseFloat(this.form.blood_flow_volume)
|
1296
|
|
- this.form.venous_pressure = parseFloat(this.form.venous_pressure) == NaN ? 0 : parseFloat(this.form.venous_pressure)
|
1297
|
|
- this.form.venous_pressure_type = parseFloat(this.form.venous_pressure_type) == NaN ? 1 : parseFloat(this.form.venous_pressure_type)
|
1298
|
|
- this.form.transmembrane_pressure = parseFloat(this.form.transmembrane_pressure) == NaN ? 0 : parseFloat(this.form.transmembrane_pressure)
|
1299
|
|
- this.form.transmembrane_pressure_type = parseFloat(this.form.transmembrane_pressure_type) == NaN ? 1 : parseFloat(this.form.transmembrane_pressure_type)
|
1300
|
|
- this.form.ultrafiltration_volume = parseFloat(this.form.ultrafiltration_volume) == NaN ? 0 : parseFloat(this.form.ultrafiltration_volume)
|
1301
|
|
- this.form.ultrafiltration_rate = parseFloat(this.form.ultrafiltration_rate) == NaN ? 0 : parseFloat(this.form.ultrafiltration_rate)
|
1302
|
|
- this.form.arterial_pressure = parseFloat(this.form.arterial_pressure) == NaN ? 0 : parseFloat(this.form.arterial_pressure)
|
1303
|
|
- this.form.arterial_pressure_type = parseFloat(this.form.arterial_pressure_type) == NaN ? 1 : parseFloat(this.form.arterial_pressure_type)
|
1304
|
|
- this.form.sodium_concentration = parseFloat(this.form.sodium_concentration) == NaN ? 0 : parseFloat(this.form.sodium_concentration)
|
1305
|
|
- this.form.dialysate_temperature = parseFloat(this.form.dialysate_temperature) == NaN ? 0 : parseFloat(this.form.dialysate_temperature)
|
1306
|
|
- this.form.replacement_rate = parseFloat(this.form.replacement_rate) == NaN ? 0 : parseFloat(this.form.replacement_rate)
|
1307
|
|
- this.form.displacement_quantity = parseFloat(this.form.displacement_quantity) == NaN ? 0 : parseFloat(this.form.displacement_quantity)
|
1308
|
|
- this.form.conductivity = parseFloat(this.form.conductivity) == NaN ? 0 : parseFloat(this.form.conductivity)
|
1309
|
|
- this.form.displacement_flow_quantity = parseFloat(this.form.displacement_flow_quantity) == NaN ? 0 : parseFloat(this.form.displacement_flow_quantity)
|
1310
|
|
- this.form.heparin = parseFloat(this.form.heparin) == NaN ? 0 : parseFloat(this.form.heparin)
|
1311
|
|
- this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
|
1312
|
|
-
|
1313
|
|
- this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
|
1314
|
|
- this.form.urr = this.form.urr
|
1315
|
|
- this.form.blood_sugar = parseFloat(this.form.blood_sugar) == NaN ? 0 : parseFloat(this.form.blood_sugar)
|
1316
|
|
- this.form.monitor_anticoagulant = parseInt(this.form.monitor_anticoagulant)
|
1317
|
|
- this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value
|
1318
|
|
- this.form.blood_pressure_monitoring_site = this.form.blood_pressure_monitoring_site
|
1319
|
|
- this.form.complication = this.form.complication
|
|
1290
|
+ this.form.systolic_bp = parseFloat(this.form.systolic_bp) == NaN ? 0 : parseFloat(this.form.systolic_bp);
|
|
1291
|
+ this.form.diastolic_bp = parseFloat(this.form.diastolic_bp) == NaN ? 0 : parseFloat(this.form.diastolic_bp);
|
|
1292
|
+ this.form.temperature = parseFloat(this.form.temperature) == NaN ? 0 : parseFloat(this.form.temperature);
|
|
1293
|
+ this.form.pulse_frequency = parseFloat(this.form.pulse_frequency) == NaN ? 0 : parseFloat(this.form.pulse_frequency);
|
|
1294
|
+ this.form.breathing_rated = parseFloat(this.form.breathing_rated) == NaN ? 0 : parseFloat(this.form.breathing_rated);
|
|
1295
|
+ this.form.blood_flow_volume = parseFloat(this.form.blood_flow_volume) == NaN ? 0 : parseFloat(this.form.blood_flow_volume);
|
|
1296
|
+ this.form.venous_pressure = parseFloat(this.form.venous_pressure) == NaN ? 0 : parseFloat(this.form.venous_pressure);
|
|
1297
|
+ this.form.venous_pressure_type = parseFloat(this.form.venous_pressure_type) == NaN ? 1 : parseFloat(this.form.venous_pressure_type);
|
|
1298
|
+ this.form.transmembrane_pressure = parseFloat(this.form.transmembrane_pressure) == NaN ? 0 : parseFloat(this.form.transmembrane_pressure);
|
|
1299
|
+ this.form.transmembrane_pressure_type = parseFloat(this.form.transmembrane_pressure_type) == NaN ? 1 : parseFloat(this.form.transmembrane_pressure_type);
|
|
1300
|
+ this.form.ultrafiltration_volume = parseFloat(this.form.ultrafiltration_volume) == NaN ? 0 : parseFloat(this.form.ultrafiltration_volume);
|
|
1301
|
+ this.form.ultrafiltration_rate = parseFloat(this.form.ultrafiltration_rate) == NaN ? 0 : parseFloat(this.form.ultrafiltration_rate);
|
|
1302
|
+ this.form.arterial_pressure = parseFloat(this.form.arterial_pressure) == NaN ? 0 : parseFloat(this.form.arterial_pressure);
|
|
1303
|
+ this.form.arterial_pressure_type = parseFloat(this.form.arterial_pressure_type) == NaN ? 1 : parseFloat(this.form.arterial_pressure_type);
|
|
1304
|
+ this.form.sodium_concentration = parseFloat(this.form.sodium_concentration) == NaN ? 0 : parseFloat(this.form.sodium_concentration);
|
|
1305
|
+ this.form.dialysate_temperature = parseFloat(this.form.dialysate_temperature) == NaN ? 0 : parseFloat(this.form.dialysate_temperature);
|
|
1306
|
+ this.form.replacement_rate = parseFloat(this.form.replacement_rate) == NaN ? 0 : parseFloat(this.form.replacement_rate);
|
|
1307
|
+ this.form.displacement_quantity = parseFloat(this.form.displacement_quantity) == NaN ? 0 : parseFloat(this.form.displacement_quantity);
|
|
1308
|
+ this.form.conductivity = parseFloat(this.form.conductivity) == NaN ? 0 : parseFloat(this.form.conductivity);
|
|
1309
|
+ this.form.displacement_flow_quantity = parseFloat(this.form.displacement_flow_quantity) == NaN ? 0 : parseFloat(this.form.displacement_flow_quantity);
|
|
1310
|
+ this.form.heparin = parseFloat(this.form.heparin) == NaN ? 0 : parseFloat(this.form.heparin);
|
|
1311
|
+ this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow);
|
|
1312
|
+
|
|
1313
|
+ this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
|
|
1314
|
+ this.form.urr = this.form.urr;
|
|
1315
|
+ this.form.blood_sugar = parseFloat(this.form.blood_sugar) == NaN ? 0 : parseFloat(this.form.blood_sugar);
|
|
1316
|
+ this.form.monitor_anticoagulant = parseInt(this.form.monitor_anticoagulant);
|
|
1317
|
+ this.form.monitor_anticoagulant_value = this.form.monitor_anticoagulant_value;
|
|
1318
|
+ this.form.blood_pressure_monitoring_site = this.form.blood_pressure_monitoring_site;
|
|
1319
|
+ this.form.complication = this.form.complication;
|
1320
|
1320
|
this.$message.error(resp.msg)
|
1321
|
1321
|
}
|
1322
|
1322
|
}
|
|
@@ -1370,7 +1370,7 @@ export default {
|
1370
|
1370
|
},
|
1371
|
1371
|
deleteRecordAction: function() {
|
1372
|
1372
|
if (this.table_current_row == null) {
|
1373
|
|
- this.$message.error('请选择一条监测记录')
|
|
1373
|
+ this.$message.error('请选择一条监测记录');
|
1374
|
1374
|
return
|
1375
|
1375
|
}
|
1376
|
1376
|
|
|
@@ -1380,7 +1380,7 @@ export default {
|
1380
|
1380
|
type: 'warning'
|
1381
|
1381
|
})
|
1382
|
1382
|
.then(() => {
|
1383
|
|
- let mode = '4'
|
|
1383
|
+ let mode = '4';
|
1384
|
1384
|
if (
|
1385
|
1385
|
this.table_current_row.creator > 0 &&
|
1386
|
1386
|
this.table_current_row.creator !=
|
|
@@ -1393,14 +1393,14 @@ export default {
|
1393
|
1393
|
patient_id: this.patient_id,
|
1394
|
1394
|
record_id: this.table_current_row.id,
|
1395
|
1395
|
mode: mode
|
1396
|
|
- }
|
|
1396
|
+ };
|
1397
|
1397
|
|
1398
|
1398
|
postDelMonitorInfo(params).then(response => {
|
1399
|
1399
|
if (response.data.state == 0) {
|
1400
|
|
- this.$message.error(response.data.msg)
|
|
1400
|
+ this.$message.error(response.data.msg);
|
1401
|
1401
|
return false
|
1402
|
1402
|
} else {
|
1403
|
|
- const record_id = response.data.data.record_id
|
|
1403
|
+ const record_id = response.data.data.record_id;
|
1404
|
1404
|
for (let i = 0; i < this.monitors.length; i++) {
|
1405
|
1405
|
if (this.monitors[i].id == record_id) {
|
1406
|
1406
|
this.monitors.splice(i, 1)
|
|
@@ -1425,23 +1425,23 @@ export default {
|
1425
|
1425
|
}
|
1426
|
1426
|
})
|
1427
|
1427
|
.then(res => {
|
1428
|
|
- console.log(res)
|
|
1428
|
+ console.log(res);
|
1429
|
1429
|
if (res.data.state == 0) {
|
1430
|
1430
|
this.hasPermission = false
|
1431
|
1431
|
} else if (res.data.state == 1) {
|
1432
|
|
- this.is_has_create = res.data.data.is_has_create
|
1433
|
|
- this.is_has_exce = res.data.data.is_has_exce
|
1434
|
|
- this.is_has_check = res.data.data.is_has_check
|
1435
|
|
- this.is_has_modify = res.data.data.is_has_modify
|
1436
|
|
- this.is_has_modify_other = res.data.data.is_has_modify_other
|
1437
|
|
- this.is_has_modify_exce = res.data.data.is_has_modify_exce
|
1438
|
|
- this.is_has_del = res.data.data.is_has_del
|
|
1432
|
+ this.is_has_create = res.data.data.is_has_create;
|
|
1433
|
+ this.is_has_exce = res.data.data.is_has_exce;
|
|
1434
|
+ this.is_has_check = res.data.data.is_has_check;
|
|
1435
|
+ this.is_has_modify = res.data.data.is_has_modify;
|
|
1436
|
+ this.is_has_modify_other = res.data.data.is_has_modify_other;
|
|
1437
|
+ this.is_has_modify_exce = res.data.data.is_has_modify_exce;
|
|
1438
|
+ this.is_has_del = res.data.data.is_has_del;
|
1439
|
1439
|
this.is_has_del_other = res.data.data.is_has_del_other
|
1440
|
1440
|
}
|
1441
|
1441
|
})
|
1442
|
1442
|
},
|
1443
|
1443
|
getBloodPressure(id){
|
1444
|
|
- var name = ""
|
|
1444
|
+ var name = "";
|
1445
|
1445
|
for(let i=0;i<this.bloodPressureMmonitoringSite.length;i++){
|
1446
|
1446
|
if(id == this.bloodPressureMmonitoringSite[i].id){
|
1447
|
1447
|
name = this.bloodPressureMmonitoringSite[i].name
|
|
@@ -1450,7 +1450,7 @@ export default {
|
1450
|
1450
|
return name
|
1451
|
1451
|
},
|
1452
|
1452
|
getComplication(id){
|
1453
|
|
- var name = ""
|
|
1453
|
+ var name = "";
|
1454
|
1454
|
for(let i=0;i<this.complicationList.length;i++){
|
1455
|
1455
|
if(id == this.complicationList[i].id){
|
1456
|
1456
|
name = this.complicationList[i].name
|