|
@@ -1,104 +1,240 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="plate-box" >
|
3
|
|
- <h2 class="DetailsTit"><span>{{ title }}</span></h2>
|
|
2
|
+ <div class="plate-box">
|
|
3
|
+ <h2 class="DetailsTit">
|
|
4
|
+ <span>{{ title }}</span>
|
|
5
|
+ </h2>
|
4
|
6
|
<div style="width:100%;overflow:hildden;overflow-x:auto;">
|
5
|
|
- <table class="table" style="">
|
6
|
|
- <tr>
|
7
|
|
- <th v-if="isShow('监测时间')" width="124px">时间</th>
|
8
|
|
- <th v-if="isShow('体温')" width="72px">体温(℃)</th>
|
9
|
|
- <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
|
10
|
|
- <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
|
11
|
|
- <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
|
12
|
|
- <th width="76px">静脉压/动脉压(mmHg)</th>
|
13
|
|
- <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
|
14
|
|
- <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
|
15
|
|
- <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)" width="76px">超滤量(ml)</th>
|
16
|
|
- <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11" width="76px">超滤量(L)</th>
|
17
|
|
- <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
|
18
|
|
- <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
|
19
|
|
- <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10 || template_id == 11)" width="92px">置换率(ml/min)</th>
|
20
|
|
- <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">置换率(L/h)</th>
|
|
7
|
+ <table class="table" style="">
|
|
8
|
+ <tr>
|
|
9
|
+ <th v-if="isShow('监测时间')" width="124px">时间</th>
|
|
10
|
+ <th v-if="isShow('体温')" width="72px">体温(℃)</th>
|
|
11
|
+ <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
|
|
12
|
+ <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
|
|
13
|
+ <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
|
|
14
|
+ <th width="76px">静脉压/动脉压(mmHg)</th>
|
|
15
|
+ <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
|
|
16
|
+ <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
|
|
17
|
+ <th
|
|
18
|
+ v-if="
|
|
19
|
+ isShow('超滤量') &&
|
|
20
|
+ (template_id == 6 || template_id == 10 || template_id == 11)
|
|
21
|
+ "
|
|
22
|
+ width="76px"
|
|
23
|
+ >
|
|
24
|
+ 超滤量(ml)
|
|
25
|
+ </th>
|
|
26
|
+ <th
|
|
27
|
+ v-if="
|
|
28
|
+ isShow('超滤量') &&
|
|
29
|
+ template_id != 6 &&
|
|
30
|
+ template_id != 10 &&
|
|
31
|
+ template_id != 11
|
|
32
|
+ "
|
|
33
|
+ width="76px"
|
|
34
|
+ >
|
|
35
|
+ 超滤量(L)
|
|
36
|
+ </th>
|
|
37
|
+ <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
|
|
38
|
+ <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
|
|
39
|
+ <th
|
|
40
|
+ v-if="
|
|
41
|
+ isShow('置换率') &&
|
|
42
|
+ (template_id == 6 || template_id == 10 || template_id == 11)
|
|
43
|
+ "
|
|
44
|
+ width="92px"
|
|
45
|
+ >
|
|
46
|
+ 置换率(ml/min)
|
|
47
|
+ </th>
|
|
48
|
+ <th
|
|
49
|
+ v-if="
|
|
50
|
+ isShow('置换率') &&
|
|
51
|
+ template_id != 6 &&
|
|
52
|
+ template_id != 10 &&
|
|
53
|
+ template_id != 11
|
|
54
|
+ "
|
|
55
|
+ width="92px"
|
|
56
|
+ >
|
|
57
|
+ 置换率(L/h)
|
|
58
|
+ </th>
|
21
|
59
|
|
22
|
|
- <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10 || template_id == 11)" width="92px">置换量(ml)</th>
|
23
|
|
- <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10 && template_id != 10" width="92px">置换量(L)</th>
|
24
|
|
- <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">SpO₂(%)</th>
|
25
|
|
- <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
|
26
|
|
- <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
|
27
|
|
- <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
|
|
60
|
+ <th
|
|
61
|
+ v-if="
|
|
62
|
+ isShow('置换量') &&
|
|
63
|
+ (template_id == 6 || template_id == 10 || template_id == 11)
|
|
64
|
+ "
|
|
65
|
+ width="92px"
|
|
66
|
+ >
|
|
67
|
+ 置换量(ml)
|
|
68
|
+ </th>
|
|
69
|
+ <th
|
|
70
|
+ v-if="
|
|
71
|
+ isShow('置换量') &&
|
|
72
|
+ template_id != 6 &&
|
|
73
|
+ template_id != 10 &&
|
|
74
|
+ template_id != 10
|
|
75
|
+ "
|
|
76
|
+ width="92px"
|
|
77
|
+ >
|
|
78
|
+ 置换量(L)
|
|
79
|
+ </th>
|
|
80
|
+ <th
|
|
81
|
+ v-if="
|
|
82
|
+ isShow('SpO₂') &&
|
|
83
|
+ template_id != 6 &&
|
|
84
|
+ template_id != 10 &&
|
|
85
|
+ template_id != 11
|
|
86
|
+ "
|
|
87
|
+ width="92px"
|
|
88
|
+ >
|
|
89
|
+ SpO₂(%)
|
|
90
|
+ </th>
|
|
91
|
+ <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
|
|
92
|
+ <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
|
|
93
|
+ <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
|
28
|
94
|
|
29
|
|
- <th v-if="isShow('病情变化')" width="92px">病情变化</th>
|
30
|
|
- <th v-if="isShow('处理')" width="92px">处理</th>
|
31
|
|
- <th v-if="isShow('结果')" width="92px">结果</th>
|
32
|
|
- </tr>
|
33
|
|
- <tr v-for="(monitor, index) in monitores" :key="index">
|
34
|
|
- <td v-if="isShow('监测时间')">{{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
|
35
|
|
- <td v-if="isShow('体温')">{{ monitor.temperature?monitor.temperature:'' }}</td>
|
36
|
|
- <td v-if="isShow('血压')">{{ monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:'' }}/{{ monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:'' }}</td>
|
37
|
|
- <td v-if="isShow('脉搏')">{{ monitor.pulse_frequency?monitor.pulse_frequency:'' }}</td>
|
38
|
|
- <td v-if="isShow('呼吸频率')">{{ monitor.breathing_rate?monitor.breathing_rate:'' }}</td>
|
39
|
|
- <td>{{ monitor.venous_pressure?monitor.venous_pressure:'' }} /{{ monitor.arterial_pressure?monitor.arterial_pressure:'' }} </td>
|
40
|
|
- <td v-if="isShow('血流量')">{{ monitor.blood_flow_volume?monitor.blood_flow_volume:'' }}</td>
|
41
|
|
- <td v-if="isShow('跨膜压')">{{ monitor.transmembrane_pressure?monitor.transmembrane_pressure:'' }}</td>
|
42
|
|
- <td v-if="isShow('超滤量')">{{ monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'' }}</td>
|
43
|
|
- <td v-if="isShow('钠浓度')">{{ monitor.sodium_concentration?monitor.sodium_concentration:'' }}</td>
|
44
|
|
- <td v-if="isShow('透析液温度')">{{ monitor.dialysate_temperature?monitor.dialysate_temperature:'' }}</td>
|
45
|
|
- <td v-if="isShow('置换率')">{{ monitor.replacement_rate?monitor.replacement_rate:'' }}</td>
|
46
|
|
- <td v-if="isShow('置换量')">{{ monitor.displacement_quantity?monitor.displacement_quantity:'' }}</td>
|
47
|
|
- <td v-if="isShow('SpO₂')">{{monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:''}}</td>
|
48
|
|
- <td v-if="isShow('电导度')">{{ monitor.conductivity?monitor.conductivity:'' }}</td>
|
49
|
|
- <th v-if="isShow('置换液流量')" >{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</th>
|
|
95
|
+ <th v-if="isShow('病情变化')" width="92px">病情变化</th>
|
|
96
|
+ <th v-if="isShow('处理')" width="92px">处理</th>
|
|
97
|
+ <th v-if="isShow('结果')" width="92px">结果</th>
|
|
98
|
+ </tr>
|
|
99
|
+ <tr v-for="(monitor, index) in monitores" :key="index">
|
|
100
|
+ <td v-if="isShow('监测时间')">
|
|
101
|
+ {{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}
|
|
102
|
+ </td>
|
|
103
|
+ <td v-if="isShow('体温')">
|
|
104
|
+ {{ monitor.temperature ? monitor.temperature : "" }}
|
|
105
|
+ </td>
|
|
106
|
+ <td v-if="isShow('血压')">
|
|
107
|
+ {{
|
|
108
|
+ monitor.systolic_blood_pressure
|
|
109
|
+ ? monitor.systolic_blood_pressure
|
|
110
|
+ : ""
|
|
111
|
+ }}/{{
|
|
112
|
+ monitor.diastolic_blood_pressure
|
|
113
|
+ ? monitor.diastolic_blood_pressure
|
|
114
|
+ : ""
|
|
115
|
+ }}
|
|
116
|
+ </td>
|
|
117
|
+ <td v-if="isShow('脉搏')">
|
|
118
|
+ {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
|
|
119
|
+ </td>
|
|
120
|
+ <td v-if="isShow('呼吸频率')">
|
|
121
|
+ {{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
|
|
122
|
+ </td>
|
|
123
|
+ <td>
|
|
124
|
+ {{ monitor.venous_pressure ? monitor.venous_pressure : "" }} /{{
|
|
125
|
+ monitor.arterial_pressure ? monitor.arterial_pressure : ""
|
|
126
|
+ }}
|
|
127
|
+ </td>
|
|
128
|
+ <td v-if="isShow('血流量')">
|
|
129
|
+ {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
|
|
130
|
+ </td>
|
|
131
|
+ <td v-if="isShow('跨膜压')">
|
|
132
|
+ {{
|
|
133
|
+ monitor.transmembrane_pressure
|
|
134
|
+ ? monitor.transmembrane_pressure
|
|
135
|
+ : ""
|
|
136
|
+ }}
|
|
137
|
+ </td>
|
|
138
|
+ <td v-if="isShow('超滤量')">
|
|
139
|
+ {{
|
|
140
|
+ monitor.ultrafiltration_volume
|
|
141
|
+ ? monitor.ultrafiltration_volume
|
|
142
|
+ : ""
|
|
143
|
+ }}
|
|
144
|
+ </td>
|
|
145
|
+ <td v-if="isShow('钠浓度')">
|
|
146
|
+ {{
|
|
147
|
+ monitor.sodium_concentration ? monitor.sodium_concentration : ""
|
|
148
|
+ }}
|
|
149
|
+ </td>
|
|
150
|
+ <td v-if="isShow('透析液温度')">
|
|
151
|
+ {{
|
|
152
|
+ monitor.dialysate_temperature ? monitor.dialysate_temperature : ""
|
|
153
|
+ }}
|
|
154
|
+ </td>
|
|
155
|
+ <td v-if="isShow('置换率')">
|
|
156
|
+ {{ monitor.replacement_rate ? monitor.replacement_rate : "" }}
|
|
157
|
+ </td>
|
|
158
|
+ <td v-if="isShow('置换量')">
|
|
159
|
+ {{
|
|
160
|
+ monitor.displacement_quantity ? monitor.displacement_quantity : ""
|
|
161
|
+ }}
|
|
162
|
+ </td>
|
|
163
|
+ <td v-if="isShow('SpO₂')">
|
|
164
|
+ {{
|
|
165
|
+ monitor.blood_oxygen_saturation
|
|
166
|
+ ? monitor.blood_oxygen_saturation
|
|
167
|
+ : ""
|
|
168
|
+ }}
|
|
169
|
+ </td>
|
|
170
|
+ <td v-if="isShow('电导度')">
|
|
171
|
+ {{ monitor.conductivity ? monitor.conductivity : "" }}
|
|
172
|
+ </td>
|
|
173
|
+ <th v-if="isShow('置换液流量')">
|
|
174
|
+ {{
|
|
175
|
+ monitor.displacement_flow_quantity
|
|
176
|
+ ? monitor.displacement_flow_quantity
|
|
177
|
+ : ""
|
|
178
|
+ }}
|
|
179
|
+ </th>
|
50
|
180
|
|
51
|
|
- <th v-if="isShow('肝素用量余量')" >{{monitor.heparin?monitor.heparin:''}}</th>
|
|
181
|
+ <th v-if="isShow('肝素用量余量')">
|
|
182
|
+ {{ monitor.heparin ? monitor.heparin : "" }}
|
|
183
|
+ </th>
|
52
|
184
|
|
53
|
|
- <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
|
54
|
|
- <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
|
55
|
|
- <td v-if="isShow('结果')">{{ monitor.result }}</td>
|
56
|
|
- </tr>
|
|
185
|
+ <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
|
|
186
|
+ <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
|
|
187
|
+ <td v-if="isShow('结果')">{{ monitor.result }}</td>
|
|
188
|
+ </tr>
|
57
|
189
|
</table>
|
58
|
|
- </div>
|
|
190
|
+ </div>
|
59
|
191
|
<div class="middleLine"></div>
|
60
|
192
|
</div>
|
61
|
193
|
</template>
|
62
|
194
|
|
63
|
195
|
<script>
|
64
|
|
- import store from '@/store'
|
|
196
|
+import store from "@/store";
|
65
|
197
|
|
66
|
|
-import { parseTime } from '@/utils'
|
|
198
|
+import { parseTime } from "@/utils";
|
67
|
199
|
|
68
|
200
|
export default {
|
69
|
|
- name: 'statOrder',
|
|
201
|
+ name: "statOrder",
|
70
|
202
|
data() {
|
71
|
|
- return {
|
72
|
|
- title: '透析监测 ',
|
73
|
|
- template_id: 0
|
74
|
|
- }
|
|
203
|
+ return {
|
|
204
|
+ title: "透析监测 ",
|
|
205
|
+ template_id: 0
|
|
206
|
+ };
|
75
|
207
|
},
|
76
|
208
|
props: {
|
77
|
|
- monitores: {
|
78
|
|
- type: Array
|
79
|
|
- }
|
|
209
|
+ monitores: {
|
|
210
|
+ type: Array
|
|
211
|
+ }
|
|
212
|
+ },
|
|
213
|
+ created() {
|
|
214
|
+ this.template_id = this.$store.getters.xt_user.template_info.template_id;
|
80
|
215
|
},
|
81
|
|
- created() {
|
82
|
|
- this.template_id = this.$store.getters.xt_user.template_info.template_id
|
83
|
|
- },
|
84
|
216
|
methods: {
|
85
|
|
- parseTime(time, layout) {
|
86
|
|
- return parseTime(time, layout)
|
87
|
|
- }, isShow(name) {
|
88
|
|
- var filedList = store.getters.xt_user.fileds
|
89
|
|
- for (let i = 0; i < filedList.length; i++) {
|
90
|
|
- if (filedList[i].module == 4 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
|
91
|
|
- return true
|
92
|
|
- }
|
|
217
|
+ parseTime(time, layout) {
|
|
218
|
+ return parseTime(time, layout);
|
|
219
|
+ },
|
|
220
|
+ isShow(name) {
|
|
221
|
+ var filedList = store.getters.xt_user.fileds;
|
|
222
|
+ for (let i = 0; i < filedList.length; i++) {
|
|
223
|
+ if (
|
|
224
|
+ filedList[i].module == 4 &&
|
|
225
|
+ filedList[i].filed_name_cn == name &&
|
|
226
|
+ filedList[i].is_show == 1
|
|
227
|
+ ) {
|
|
228
|
+ return true;
|
93
|
229
|
}
|
94
|
|
- return false
|
95
|
230
|
}
|
|
231
|
+ return false;
|
|
232
|
+ }
|
96
|
233
|
}
|
97
|
|
-}
|
|
234
|
+};
|
98
|
235
|
</script>
|
99
|
236
|
|
100
|
237
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
101
|
|
-
|
102
|
238
|
.table {
|
103
|
239
|
width: 1500px;
|
104
|
240
|
overflow: auto;
|
|
@@ -128,6 +264,3 @@ export default {
|
128
|
264
|
}
|
129
|
265
|
}
|
130
|
266
|
</style>
|
131
|
|
-
|
132
|
|
-
|
133
|
|
-
|