|
@@ -9,21 +9,9 @@
|
9
|
9
|
>
|
10
|
10
|
<div v-show="edit == false">
|
11
|
11
|
<div class="txsj">
|
12
|
|
- <el-button round :disabled="!is_has_create" @click="newRecordAction"
|
13
|
|
- >新增监测</el-button
|
14
|
|
- >
|
15
|
|
- <el-button
|
16
|
|
- round
|
17
|
|
- :disabled="!is_has_modify && !is_has_modify_other"
|
18
|
|
- @click="modifyRecordAction"
|
19
|
|
- >修改监测</el-button
|
20
|
|
- >
|
21
|
|
- <el-button
|
22
|
|
- round
|
23
|
|
- :disabled="!is_has_del && !is_has_del_other"
|
24
|
|
- @click="deleteRecordAction"
|
25
|
|
- >删除监测</el-button
|
26
|
|
- >
|
|
12
|
+ <el-button round :disabled="!is_has_create" @click="newRecordAction">新增监测</el-button>
|
|
13
|
+ <el-button round :disabled="!is_has_modify && !is_has_modify_other" @click="modifyRecordAction">修改监测</el-button>
|
|
14
|
+ <el-button round :disabled="!is_has_del && !is_has_del_other" @click="deleteRecordAction">删除监测</el-button>
|
27
|
15
|
</div>
|
28
|
16
|
<el-table
|
29
|
17
|
:header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
|
|
@@ -152,7 +140,7 @@
|
152
|
140
|
align="center"
|
153
|
141
|
label="超滤量(ml)"
|
154
|
142
|
width="110"
|
155
|
|
- v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)"
|
|
143
|
+ v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)"
|
156
|
144
|
>
|
157
|
145
|
<template slot-scope="scope">
|
158
|
146
|
{{
|
|
@@ -167,7 +155,7 @@
|
167
|
155
|
align="center"
|
168
|
156
|
label="超滤量(L)"
|
169
|
157
|
width="110"
|
170
|
|
- v-if="isShow('超滤量') && template_id != 6 && template_id != 10"
|
|
158
|
+ v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11"
|
171
|
159
|
>
|
172
|
160
|
<template slot-scope="scope">
|
173
|
161
|
{{
|
|
@@ -212,7 +200,7 @@
|
212
|
200
|
align="center"
|
213
|
201
|
label="置换率(ml/min)"
|
214
|
202
|
width="120"
|
215
|
|
- v-if="isShow('置换率') && (template_id == 6 || template_id == 10)"
|
|
203
|
+ v-if="isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11)"
|
216
|
204
|
>
|
217
|
205
|
<template slot-scope="scope">
|
218
|
206
|
{{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
|
|
@@ -223,7 +211,7 @@
|
223
|
211
|
align="center"
|
224
|
212
|
label="置换率(L/h)"
|
225
|
213
|
width="120"
|
226
|
|
- v-if="isShow('置换率') && template_id != 6 && template_id != 10"
|
|
214
|
+ v-if="isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11"
|
227
|
215
|
>
|
228
|
216
|
<template slot-scope="scope">
|
229
|
217
|
{{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
|
|
@@ -234,7 +222,7 @@
|
234
|
222
|
align="center"
|
235
|
223
|
label="置换量(ml)"
|
236
|
224
|
width="100"
|
237
|
|
- v-if="isShow('置换量') && (template_id == 6 || template_id == 10)"
|
|
225
|
+ v-if="isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11)"
|
238
|
226
|
>
|
239
|
227
|
<template slot-scope="scope">
|
240
|
228
|
{{
|
|
@@ -250,7 +238,7 @@
|
250
|
238
|
align="center"
|
251
|
239
|
label="SpO₂(%)"
|
252
|
240
|
width="100"
|
253
|
|
- v-if="isShow('SpO₂') && template_id != 6 && template_id != 10"
|
|
241
|
+ v-if="isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11"
|
254
|
242
|
>
|
255
|
243
|
<template slot-scope="scope">
|
256
|
244
|
{{
|
|
@@ -266,7 +254,7 @@
|
266
|
254
|
align="center"
|
267
|
255
|
label="置换量(L)"
|
268
|
256
|
width="100"
|
269
|
|
- v-if="isShow('置换量') && template_id != 6 && template_id != 10"
|
|
257
|
+ v-if="isShow('置换量') && template_id != 6 && template_id != 10 || template_id != 11"
|
270
|
258
|
>
|
271
|
259
|
<template slot-scope="scope">
|
272
|
260
|
{{
|
|
@@ -383,7 +371,7 @@
|
383
|
371
|
<el-button
|
384
|
372
|
size="mini"
|
385
|
373
|
type="primary"
|
386
|
|
- @click="venousPressureChangeOne"
|
|
374
|
+ @click="venousPressureChange(1)"
|
387
|
375
|
>转换</el-button
|
388
|
376
|
>
|
389
|
377
|
</el-form-item>
|
|
@@ -397,7 +385,7 @@
|
397
|
385
|
<el-button
|
398
|
386
|
size="mini"
|
399
|
387
|
type="primary"
|
400
|
|
- @click="venousPressureChangeTwo"
|
|
388
|
+ @click="venousPressureChange(3)"
|
401
|
389
|
>转换</el-button
|
402
|
390
|
>
|
403
|
391
|
</el-form-item>
|
|
@@ -418,7 +406,7 @@
|
418
|
406
|
<el-button
|
419
|
407
|
size="mini"
|
420
|
408
|
type="primary"
|
421
|
|
- @click="venousPressureChangeThree"
|
|
409
|
+ @click="venousPressureChange(2)"
|
422
|
410
|
>转换</el-button
|
423
|
411
|
>
|
424
|
412
|
</el-form-item>
|
|
@@ -429,18 +417,12 @@
|
429
|
417
|
<el-input v-model="form.ultrafiltration_rate"></el-input>
|
430
|
418
|
</el-form-item>
|
431
|
419
|
</el-col>
|
432
|
|
- <el-col
|
433
|
|
- :span="8"
|
434
|
|
- v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)"
|
435
|
|
- >
|
|
420
|
+ <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10 || template_id != 11)">
|
436
|
421
|
<el-form-item label="超滤量(ml):">
|
437
|
422
|
<el-input v-model="form.ultrafiltration_volume"></el-input>
|
438
|
423
|
</el-form-item>
|
439
|
424
|
</el-col>
|
440
|
|
- <el-col
|
441
|
|
- :span="8"
|
442
|
|
- v-if="isShow('超滤量') && template_id != 6 && template_id != 10"
|
443
|
|
- >
|
|
425
|
+ <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11">
|
444
|
426
|
<el-form-item label="超滤量(L):">
|
445
|
427
|
<el-input v-model="form.ultrafiltration_volume"></el-input>
|
446
|
428
|
</el-form-item>
|
|
@@ -487,6 +469,13 @@
|
487
|
469
|
</el-form-item>
|
488
|
470
|
</el-col>
|
489
|
471
|
|
|
472
|
+
|
|
473
|
+ <el-col :span="8" v-if="isShow('肝素用量余量')">
|
|
474
|
+ <el-form-item label="肝素用量余量(ml):">
|
|
475
|
+ <el-input v-model="form.heparin"></el-input>
|
|
476
|
+ </el-form-item>
|
|
477
|
+ </el-col>
|
|
478
|
+
|
490
|
479
|
<!-- </el-row>
|
491
|
480
|
|
492
|
481
|
<el-row :gutter="20"> -->
|
|
@@ -616,21 +605,21 @@ import {
|
616
|
605
|
} from "@/api/dialysis_record";
|
617
|
606
|
import store from "@/store";
|
618
|
607
|
|
619
|
|
-import request from "@/utils/request";
|
|
608
|
+import request from '@/utils/request'
|
620
|
609
|
|
621
|
610
|
export default {
|
622
|
611
|
name: "MonitorDialog",
|
623
|
612
|
data() {
|
624
|
613
|
return {
|
625
|
|
- is_has_create: true,
|
626
|
|
- is_has_modify: true,
|
627
|
|
- is_has_modify_other: true,
|
628
|
|
- is_has_del: true,
|
629
|
|
- is_has_del_other: true,
|
|
614
|
+ is_has_create:true,
|
|
615
|
+ is_has_modify:true,
|
|
616
|
+ is_has_modify_other:true,
|
|
617
|
+ is_has_del:true,
|
|
618
|
+ is_has_del_other:true,
|
630
|
619
|
visible: false,
|
631
|
620
|
edit: false,
|
632
|
621
|
current_row_class: "current-box-class",
|
633
|
|
- creator: 0,
|
|
622
|
+ creator:0,
|
634
|
623
|
patient_id: 0,
|
635
|
624
|
schedule_date: 0,
|
636
|
625
|
template_id: 0,
|
|
@@ -660,6 +649,7 @@ export default {
|
660
|
649
|
displacement_quantity: "", // 置换量
|
661
|
650
|
conductivity: "", // 电导度
|
662
|
651
|
displacement_flow_quantity: "", // 置换液流量
|
|
652
|
+ heparin:"", //肝素用量余量
|
663
|
653
|
ktv: "", // KT/V
|
664
|
654
|
symptom: "", // 病情变化
|
665
|
655
|
dispose: "", // 处理
|
|
@@ -674,10 +664,7 @@ export default {
|
674
|
664
|
dispose_selecteds: [],
|
675
|
665
|
dispose_options: getDataConfig("hemodialysis", "deals"),
|
676
|
666
|
result_selecteds: [],
|
677
|
|
- result_options: getDataConfig("hemodialysis", "results"),
|
678
|
|
- value: 0,
|
679
|
|
- valuetwo: 0,
|
680
|
|
- valuethree: 0
|
|
667
|
+ result_options: getDataConfig("hemodialysis", "results")
|
681
|
668
|
};
|
682
|
669
|
},
|
683
|
670
|
props: {
|
|
@@ -717,54 +704,6 @@ export default {
|
717
|
704
|
);
|
718
|
705
|
}
|
719
|
706
|
},
|
720
|
|
- venousPressureChangeOne() {
|
721
|
|
- if (this.value == 0) {
|
722
|
|
- this.form.venous_pressure = Math.ceil(
|
723
|
|
- Math.round(this.form.venous_pressure * 7.5)
|
724
|
|
- );
|
725
|
|
- this.value = 1;
|
726
|
|
- return false;
|
727
|
|
- }
|
728
|
|
- if (this.value == 1) {
|
729
|
|
- this.form.venous_pressure = Math.ceil(
|
730
|
|
- Math.round(this.form.venous_pressure / 7.5)
|
731
|
|
- );
|
732
|
|
- this.value = 0;
|
733
|
|
- return false;
|
734
|
|
- }
|
735
|
|
- },
|
736
|
|
- venousPressureChangeTwo() {
|
737
|
|
- if (this.valuetwo == 0) {
|
738
|
|
- this.form.arterial_pressure = Math.ceil(
|
739
|
|
- Math.round(this.form.arterial_pressure * 7.5)
|
740
|
|
- );
|
741
|
|
- this.valuetwo = 1;
|
742
|
|
- return false;
|
743
|
|
- }
|
744
|
|
- if (this.valuetwo == 1) {
|
745
|
|
- this.form.arterial_pressure = Math.ceil(
|
746
|
|
- Math.round(this.form.arterial_pressure / 7.5)
|
747
|
|
- );
|
748
|
|
- this.valuetwo = 0;
|
749
|
|
- return false;
|
750
|
|
- }
|
751
|
|
- },
|
752
|
|
- venousPressureChangeThree() {
|
753
|
|
- if (this.valuethree == 0) {
|
754
|
|
- this.form.transmembrane_pressure = Math.ceil(
|
755
|
|
- Math.round(this.form.transmembrane_pressure * 7.5)
|
756
|
|
- );
|
757
|
|
- this.valuethree = 1;
|
758
|
|
- return false;
|
759
|
|
- }
|
760
|
|
- if (this.valuethree == 1) {
|
761
|
|
- this.form.transmembrane_pressure = Math.ceil(
|
762
|
|
- Math.round(this.form.transmembrane_pressure / 7.5)
|
763
|
|
- );
|
764
|
|
- this.valuethree = 0;
|
765
|
|
- return false;
|
766
|
|
- }
|
767
|
|
- },
|
768
|
707
|
isShow(name) {
|
769
|
708
|
var filedList = store.getters.xt_user.fileds;
|
770
|
709
|
for (let i = 0; i < filedList.length; i++) {
|
|
@@ -782,7 +721,7 @@ export default {
|
782
|
721
|
this.cancelEditAction();
|
783
|
722
|
},
|
784
|
723
|
show() {
|
785
|
|
- this.getPermission();
|
|
724
|
+ this.getPermission()
|
786
|
725
|
this.visible = true;
|
787
|
726
|
},
|
788
|
727
|
hide() {
|
|
@@ -839,6 +778,9 @@ export default {
|
839
|
778
|
this.form.replacement_rate = resp.monitor.replacement_rate
|
840
|
779
|
? resp.monitor.replacement_rate
|
841
|
780
|
: "";
|
|
781
|
+ this.form.heparin = resp.monitor.heparin
|
|
782
|
+ ? resp.monitor.heparin
|
|
783
|
+ : "";
|
842
|
784
|
this.form.displacement_quantity = ""; // this.last_monitor_record.displacement_quantity;
|
843
|
785
|
this.form.conductivity = "";
|
844
|
786
|
this.form.displacement_flow_quantity = "";
|
|
@@ -855,10 +797,10 @@ export default {
|
855
|
797
|
this.$message.error("请选择一条监测记录");
|
856
|
798
|
return;
|
857
|
799
|
}
|
858
|
|
- this.creator = this.table_current_row.creator;
|
859
|
|
- console.log(this.table_current_row);
|
860
|
|
- console.log(this.table_current_row.creator);
|
861
|
|
- console.log(this.creator);
|
|
800
|
+ this.creator = this.table_current_row.creator
|
|
801
|
+ console.log( this.table_current_row)
|
|
802
|
+ console.log( this.table_current_row.creator)
|
|
803
|
+ console.log(this.creator)
|
862
|
804
|
this.setEditMonitor(this.table_current_row);
|
863
|
805
|
this.$refs.table.setCurrentRow(null);
|
864
|
806
|
this.edit = true;
|
|
@@ -897,6 +839,8 @@ export default {
|
897
|
839
|
this.form.displacement_quantity = "";
|
898
|
840
|
this.form.conductivity = "";
|
899
|
841
|
this.form.displacement_flow_quantity = "";
|
|
842
|
+ this.form.heparin = "";
|
|
843
|
+
|
900
|
844
|
this.form.ktv = "";
|
901
|
845
|
this.form.symptom = "";
|
902
|
846
|
this.form.dispose = "";
|
|
@@ -959,6 +903,12 @@ export default {
|
959
|
903
|
? monitor.displacement_flow_quantity
|
960
|
904
|
: "";
|
961
|
905
|
|
|
906
|
+ this.form.heparin = monitor.heparin
|
|
907
|
+ ? monitor.heparin
|
|
908
|
+ : "";
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
962
|
912
|
this.form.ktv = monitor.ktv;
|
963
|
913
|
this.form.symptom = monitor.symptom;
|
964
|
914
|
this.form.dispose = monitor.dispose;
|
|
@@ -1044,118 +994,126 @@ export default {
|
1044
|
994
|
? 0
|
1045
|
995
|
: parseFloat(this.form.displacement_flow_quantity);
|
1046
|
996
|
|
|
997
|
+
|
|
998
|
+ this.form.heparin =
|
|
999
|
+ parseFloat(this.form.heparin) == NaN
|
|
1000
|
+ ? 0
|
|
1001
|
+ : parseFloat(this.form.heparin);
|
|
1002
|
+
|
1047
|
1003
|
this.form.ktv =
|
1048
|
1004
|
parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
|
1049
|
1005
|
this.form.monitoring_date = parseInt(this.form.monitoring_date);
|
1050
|
1006
|
|
1051
|
|
- let mode = "1";
|
1052
|
|
- if (this.form.id > 0) {
|
1053
|
|
- mode = "2";
|
1054
|
|
- if (
|
1055
|
|
- this.creator > 0 &&
|
1056
|
|
- this.creator != this.$store.getters.xt_user.user.id
|
1057
|
|
- ) {
|
1058
|
|
- mode = "3";
|
1059
|
|
- }
|
|
1007
|
+
|
|
1008
|
+ let mode = "1"
|
|
1009
|
+ if(this.form.id > 0){
|
|
1010
|
+ mode = "2"
|
|
1011
|
+ if(this.creator > 0 && this.creator!= this.$store.getters.xt_user.user.id){
|
|
1012
|
+ mode = "3"
|
|
1013
|
+ }
|
1060
|
1014
|
}
|
1061
|
|
- editMonitor(this.patient_id, this.schedule_date, this.form, mode).then(
|
1062
|
|
- rs => {
|
1063
|
|
- var resp = rs.data;
|
1064
|
|
- if (resp.state == 1) {
|
1065
|
|
- var monitor = resp.data.monitor;
|
1066
|
|
- if (this.isAdd) {
|
1067
|
|
- this.monitors.unshift(monitor);
|
1068
|
|
- this.monitors.sort((a, b) => b.operate_time - a.operate_time);
|
1069
|
|
- this.monitors.reverse();
|
1070
|
|
- } else {
|
1071
|
|
- for (let index = 0; index < this.monitors.length; index++) {
|
1072
|
|
- const m = this.monitors[index];
|
1073
|
|
- if (m.id == monitor.id) {
|
1074
|
|
- for (const key in monitor) {
|
1075
|
|
- m[key] = monitor[key];
|
1076
|
|
- }
|
1077
|
|
- break;
|
|
1015
|
+ editMonitor(this.patient_id, this.schedule_date, this.form,mode).then(rs => {
|
|
1016
|
+ var resp = rs.data;
|
|
1017
|
+ if (resp.state == 1) {
|
|
1018
|
+ var monitor = resp.data.monitor;
|
|
1019
|
+ if (this.isAdd) {
|
|
1020
|
+ this.monitors.unshift(monitor);
|
|
1021
|
+ this.monitors.sort((a, b) => b.operate_time - a.operate_time);
|
|
1022
|
+ this.monitors.reverse();
|
|
1023
|
+ } else {
|
|
1024
|
+ for (let index = 0; index < this.monitors.length; index++) {
|
|
1025
|
+ const m = this.monitors[index];
|
|
1026
|
+ if (m.id == monitor.id) {
|
|
1027
|
+ for (const key in monitor) {
|
|
1028
|
+ m[key] = monitor[key];
|
1078
|
1029
|
}
|
|
1030
|
+ break;
|
1079
|
1031
|
}
|
1080
|
1032
|
}
|
1081
|
|
- this.reset();
|
1082
|
|
- } else {
|
1083
|
|
- this.form.systolic_bp =
|
1084
|
|
- parseFloat(this.form.systolic_bp) == NaN
|
1085
|
|
- ? 0
|
1086
|
|
- : parseFloat(this.form.systolic_bp);
|
1087
|
|
- this.form.diastolic_bp =
|
1088
|
|
- parseFloat(this.form.diastolic_bp) == NaN
|
1089
|
|
- ? 0
|
1090
|
|
- : parseFloat(this.form.diastolic_bp);
|
1091
|
|
- this.form.temperature =
|
1092
|
|
- parseFloat(this.form.temperature) == NaN
|
1093
|
|
- ? 0
|
1094
|
|
- : parseFloat(this.form.temperature);
|
1095
|
|
- this.form.pulse_frequency =
|
1096
|
|
- parseFloat(this.form.pulse_frequency) == NaN
|
1097
|
|
- ? 0
|
1098
|
|
- : parseFloat(this.form.pulse_frequency);
|
1099
|
|
- this.form.breathing_rated =
|
1100
|
|
- parseFloat(this.form.breathing_rated) == NaN
|
1101
|
|
- ? 0
|
1102
|
|
- : parseFloat(this.form.breathing_rated);
|
1103
|
|
- this.form.blood_flow_volume =
|
1104
|
|
- parseFloat(this.form.blood_flow_volume) == NaN
|
1105
|
|
- ? 0
|
1106
|
|
- : parseFloat(this.form.blood_flow_volume);
|
1107
|
|
- this.form.venous_pressure =
|
1108
|
|
- parseFloat(this.form.venous_pressure) == NaN
|
1109
|
|
- ? 0
|
1110
|
|
- : parseFloat(this.form.venous_pressure);
|
1111
|
|
- this.form.transmembrane_pressure =
|
1112
|
|
- parseFloat(this.form.transmembrane_pressure) == NaN
|
1113
|
|
- ? 0
|
1114
|
|
- : parseFloat(this.form.transmembrane_pressure);
|
1115
|
|
- this.form.ultrafiltration_volume =
|
1116
|
|
- parseFloat(this.form.ultrafiltration_volume) == NaN
|
1117
|
|
- ? 0
|
1118
|
|
- : parseFloat(this.form.ultrafiltration_volume);
|
1119
|
|
- this.form.ultrafiltration_rate =
|
1120
|
|
- parseFloat(this.form.ultrafiltration_rate) == NaN
|
1121
|
|
- ? 0
|
1122
|
|
- : parseFloat(this.form.ultrafiltration_rate);
|
1123
|
|
- this.form.arterial_pressure =
|
1124
|
|
- parseFloat(this.form.arterial_pressure) == NaN
|
1125
|
|
- ? 0
|
1126
|
|
- : parseFloat(this.form.arterial_pressure);
|
1127
|
|
- this.form.sodium_concentration =
|
1128
|
|
- parseFloat(this.form.sodium_concentration) == NaN
|
1129
|
|
- ? 0
|
1130
|
|
- : parseFloat(this.form.sodium_concentration);
|
1131
|
|
- this.form.dialysate_temperature =
|
1132
|
|
- parseFloat(this.form.dialysate_temperature) == NaN
|
1133
|
|
- ? 0
|
1134
|
|
- : parseFloat(this.form.dialysate_temperature);
|
1135
|
|
- this.form.replacement_rate =
|
1136
|
|
- parseFloat(this.form.replacement_rate) == NaN
|
1137
|
|
- ? 0
|
1138
|
|
- : parseFloat(this.form.replacement_rate);
|
1139
|
|
- this.form.displacement_quantity =
|
1140
|
|
- parseFloat(this.form.displacement_quantity) == NaN
|
1141
|
|
- ? 0
|
1142
|
|
- : parseFloat(this.form.displacement_quantity);
|
1143
|
|
- this.form.conductivity =
|
1144
|
|
- parseFloat(this.form.conductivity) == NaN
|
1145
|
|
- ? 0
|
1146
|
|
- : parseFloat(this.form.conductivity);
|
1147
|
|
- this.form.displacement_flow_quantity =
|
1148
|
|
- parseFloat(this.form.displacement_flow_quantity) == NaN
|
1149
|
|
- ? 0
|
1150
|
|
- : parseFloat(this.form.displacement_flow_quantity);
|
|
1033
|
+ }
|
|
1034
|
+ this.reset();
|
|
1035
|
+ } else {
|
|
1036
|
+ this.form.systolic_bp =
|
|
1037
|
+ parseFloat(this.form.systolic_bp) == NaN
|
|
1038
|
+ ? 0
|
|
1039
|
+ : parseFloat(this.form.systolic_bp);
|
|
1040
|
+ this.form.diastolic_bp =
|
|
1041
|
+ parseFloat(this.form.diastolic_bp) == NaN
|
|
1042
|
+ ? 0
|
|
1043
|
+ : parseFloat(this.form.diastolic_bp);
|
|
1044
|
+ this.form.temperature =
|
|
1045
|
+ parseFloat(this.form.temperature) == NaN
|
|
1046
|
+ ? 0
|
|
1047
|
+ : parseFloat(this.form.temperature);
|
|
1048
|
+ this.form.pulse_frequency =
|
|
1049
|
+ parseFloat(this.form.pulse_frequency) == NaN
|
|
1050
|
+ ? 0
|
|
1051
|
+ : parseFloat(this.form.pulse_frequency);
|
|
1052
|
+ this.form.breathing_rated =
|
|
1053
|
+ parseFloat(this.form.breathing_rated) == NaN
|
|
1054
|
+ ? 0
|
|
1055
|
+ : parseFloat(this.form.breathing_rated);
|
|
1056
|
+ this.form.blood_flow_volume =
|
|
1057
|
+ parseFloat(this.form.blood_flow_volume) == NaN
|
|
1058
|
+ ? 0
|
|
1059
|
+ : parseFloat(this.form.blood_flow_volume);
|
|
1060
|
+ this.form.venous_pressure =
|
|
1061
|
+ parseFloat(this.form.venous_pressure) == NaN
|
|
1062
|
+ ? 0
|
|
1063
|
+ : parseFloat(this.form.venous_pressure);
|
|
1064
|
+ this.form.transmembrane_pressure =
|
|
1065
|
+ parseFloat(this.form.transmembrane_pressure) == NaN
|
|
1066
|
+ ? 0
|
|
1067
|
+ : parseFloat(this.form.transmembrane_pressure);
|
|
1068
|
+ this.form.ultrafiltration_volume =
|
|
1069
|
+ parseFloat(this.form.ultrafiltration_volume) == NaN
|
|
1070
|
+ ? 0
|
|
1071
|
+ : parseFloat(this.form.ultrafiltration_volume);
|
|
1072
|
+ this.form.ultrafiltration_rate =
|
|
1073
|
+ parseFloat(this.form.ultrafiltration_rate) == NaN
|
|
1074
|
+ ? 0
|
|
1075
|
+ : parseFloat(this.form.ultrafiltration_rate);
|
|
1076
|
+ this.form.arterial_pressure =
|
|
1077
|
+ parseFloat(this.form.arterial_pressure) == NaN
|
|
1078
|
+ ? 0
|
|
1079
|
+ : parseFloat(this.form.arterial_pressure);
|
|
1080
|
+ this.form.sodium_concentration =
|
|
1081
|
+ parseFloat(this.form.sodium_concentration) == NaN
|
|
1082
|
+ ? 0
|
|
1083
|
+ : parseFloat(this.form.sodium_concentration);
|
|
1084
|
+ this.form.dialysate_temperature =
|
|
1085
|
+ parseFloat(this.form.dialysate_temperature) == NaN
|
|
1086
|
+ ? 0
|
|
1087
|
+ : parseFloat(this.form.dialysate_temperature);
|
|
1088
|
+ this.form.replacement_rate =
|
|
1089
|
+ parseFloat(this.form.replacement_rate) == NaN
|
|
1090
|
+ ? 0
|
|
1091
|
+ : parseFloat(this.form.replacement_rate);
|
|
1092
|
+ this.form.displacement_quantity =
|
|
1093
|
+ parseFloat(this.form.displacement_quantity) == NaN
|
|
1094
|
+ ? 0
|
|
1095
|
+ : parseFloat(this.form.displacement_quantity);
|
|
1096
|
+ this.form.conductivity =
|
|
1097
|
+ parseFloat(this.form.conductivity) == NaN
|
|
1098
|
+ ? 0
|
|
1099
|
+ : parseFloat(this.form.conductivity);
|
|
1100
|
+ this.form.displacement_flow_quantity =
|
|
1101
|
+ parseFloat(this.form.displacement_flow_quantity) == NaN
|
|
1102
|
+ ? 0
|
|
1103
|
+ : parseFloat(this.form.displacement_flow_quantity);
|
1151
|
1104
|
|
1152
|
|
- this.form.ktv =
|
1153
|
|
- parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
|
|
1105
|
+ this.form.heparin =
|
|
1106
|
+ parseFloat(this.form.heparin) == NaN
|
|
1107
|
+ ? 0
|
|
1108
|
+ : parseFloat(this.form.heparin);
|
1154
|
1109
|
|
1155
|
|
- this.$message.error(resp.msg);
|
1156
|
|
- }
|
|
1110
|
+ this.form.ktv =
|
|
1111
|
+ parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+ this.$message.error(resp.msg);
|
1157
|
1115
|
}
|
1158
|
|
- );
|
|
1116
|
+ });
|
1159
|
1117
|
},
|
1160
|
1118
|
|
1161
|
1119
|
symptomTextareaBlur: function() {
|
|
@@ -1215,19 +1173,16 @@ export default {
|
1215
|
1173
|
type: "warning"
|
1216
|
1174
|
})
|
1217
|
1175
|
.then(() => {
|
1218
|
|
- let mode = "4";
|
1219
|
|
- if (
|
1220
|
|
- this.table_current_row.creator > 0 &&
|
1221
|
|
- this.table_current_row.creator !=
|
1222
|
|
- this.$store.getters.xt_user.user.id
|
1223
|
|
- ) {
|
1224
|
|
- mode = "5";
|
|
1176
|
+ let mode = "4"
|
|
1177
|
+ if(this.table_current_row.creator > 0 && this.table_current_row.creator != this.$store.getters.xt_user.user.id){
|
|
1178
|
+ mode = "5"
|
1225
|
1179
|
}
|
1226
|
1180
|
|
1227
|
1181
|
const params = {
|
1228
|
1182
|
patient_id: this.patient_id,
|
1229
|
1183
|
record_id: this.table_current_row.id,
|
1230
|
1184
|
mode: mode
|
|
1185
|
+
|
1231
|
1186
|
};
|
1232
|
1187
|
|
1233
|
1188
|
postDelMonitorInfo(params).then(response => {
|
|
@@ -1242,14 +1197,14 @@ export default {
|
1242
|
1197
|
}
|
1243
|
1198
|
}
|
1244
|
1199
|
this.$message.success("删除成功");
|
|
1200
|
+
|
1245
|
1201
|
}
|
1246
|
1202
|
});
|
1247
|
1203
|
})
|
1248
|
1204
|
.catch(() => {});
|
1249
|
1205
|
},
|
1250
|
1206
|
getPermission() {
|
1251
|
|
- request
|
1252
|
|
- .get("/api/func_per/get", {
|
|
1207
|
+ request.get("/api/func_per/get", {
|
1253
|
1208
|
params: {
|
1254
|
1209
|
create_url: "/api/dislysis/monitor/edit?mode=1",
|
1255
|
1210
|
modify_url: "/api/dislysis/monitor/edit?mode=2",
|
|
@@ -1258,23 +1213,22 @@ export default {
|
1258
|
1213
|
del_other_url: "/api/dialysis/monitor/del?mode=5",
|
1259
|
1214
|
module: 7
|
1260
|
1215
|
}
|
1261
|
|
- })
|
1262
|
|
- .then(res => {
|
1263
|
|
- console.log(res);
|
|
1216
|
+ }).then(res => {
|
|
1217
|
+ console.log(res)
|
1264
|
1218
|
if (res.data.state == 0) {
|
1265
|
|
- this.hasPermission = false;
|
|
1219
|
+ this.hasPermission = false
|
1266
|
1220
|
} else if (res.data.state == 1) {
|
1267
|
|
- this.is_has_create = res.data.data.is_has_create;
|
1268
|
|
- this.is_has_exce = res.data.data.is_has_exce;
|
1269
|
|
- this.is_has_check = res.data.data.is_has_check;
|
1270
|
|
- this.is_has_modify = res.data.data.is_has_modify;
|
1271
|
|
- this.is_has_modify_other = res.data.data.is_has_modify_other;
|
1272
|
|
- this.is_has_modify_exce = res.data.data.is_has_modify_exce;
|
1273
|
|
- this.is_has_del = res.data.data.is_has_del;
|
1274
|
|
- this.is_has_del_other = res.data.data.is_has_del_other;
|
|
1221
|
+ this.is_has_create = res.data.data.is_has_create
|
|
1222
|
+ this.is_has_exce = res.data.data.is_has_exce
|
|
1223
|
+ this.is_has_check = res.data.data.is_has_check
|
|
1224
|
+ this.is_has_modify = res.data.data.is_has_modify
|
|
1225
|
+ this.is_has_modify_other = res.data.data.is_has_modify_other
|
|
1226
|
+ this.is_has_modify_exce = res.data.data.is_has_modify_exce
|
|
1227
|
+ this.is_has_del = res.data.data.is_has_del
|
|
1228
|
+ this.is_has_del_other = res.data.data.is_has_del_other
|
1275
|
1229
|
}
|
1276
|
|
- });
|
1277
|
|
- }
|
|
1230
|
+ })
|
|
1231
|
+ }
|
1278
|
1232
|
}
|
1279
|
1233
|
};
|
1280
|
1234
|
</script>
|
|
@@ -1332,7 +1286,7 @@ export default {
|
1332
|
1286
|
.el-table__body-wrapper::-webkit-scrollbar {
|
1333
|
1287
|
height: 20px;
|
1334
|
1288
|
}
|
1335
|
|
-.dialog_box .current-box-class .current-row {
|
|
1289
|
+.dialog_box .current-box-class .current-row{
|
1336
|
1290
|
background: #87ceff;
|
1337
|
1291
|
}
|
1338
|
1292
|
.dialog_box tr:hover > td {
|