|
@@ -11,7 +11,7 @@
|
11
|
11
|
<el-form ref="form" :model="form" label-width="160px">
|
12
|
12
|
<el-row :gutter="20">
|
13
|
13
|
<el-col :span="8" v-if="isShow('实际治疗时长')">
|
14
|
|
- <el-form-item label="实际治疗时长(时):">
|
|
14
|
+ <el-form-item label="实际治疗时长(时):" :prop="isName('实际治疗时长')" :rules="isCheckmust('实际治疗时长')">
|
15
|
15
|
<!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
|
16
|
16
|
<el-time-picker
|
17
|
17
|
v-model="actualTreatmentHourShow"
|
|
@@ -27,23 +27,23 @@
|
27
|
27
|
|
28
|
28
|
<el-col :span="8" v-if="isShow('实际超滤量')">
|
29
|
29
|
<el-form-item
|
30
|
|
- label="实际超滤量(ml): "
|
|
30
|
+ label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
|
31
|
31
|
v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11 || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410" >
|
32
|
32
|
<el-input v-model="form.actual_ultrafiltration"></el-input>
|
33
|
33
|
</el-form-item>
|
34
|
|
- <el-form-item label="实际超滤量(L): " v-else>
|
|
34
|
+ <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
|
35
|
35
|
<el-input v-model="form.actual_ultrafiltration"></el-input>
|
36
|
36
|
</el-form-item>
|
37
|
37
|
</el-col>
|
38
|
38
|
|
39
|
39
|
<el-col :span="8" v-if="isShow('透后称重')">
|
40
|
|
- <el-form-item label="透后称重(kg): ">
|
|
40
|
+ <el-form-item label="透后称重(kg): " :prop="isName('透后称重')" :rules="isCheckmust('透后称重')">
|
41
|
41
|
<el-input v-model="form.weight_after"></el-input>
|
42
|
42
|
</el-form-item>
|
43
|
43
|
</el-col>
|
44
|
44
|
|
45
|
45
|
<el-col :span="8" v-if="isShow('衣物重')">
|
46
|
|
- <el-form-item label="衣物重(kg): ">
|
|
46
|
+ <el-form-item label="衣物重(kg): " :prop="isName('衣物重')" :rules="isCheckmust('衣物重')">
|
47
|
47
|
<el-input v-model="form.additional_weight"></el-input>
|
48
|
48
|
</el-form-item>
|
49
|
49
|
</el-col>
|
|
@@ -51,13 +51,13 @@
|
51
|
51
|
|
52
|
52
|
<el-row :gutter="20">
|
53
|
53
|
<el-col :span="8" v-if="isShow('体重减少')">
|
54
|
|
- <el-form-item label="体重减少(kg): ">
|
|
54
|
+ <el-form-item label="体重减少(kg): " :prop="isName('体重减少')" :rules="isCheckmust('体重减少')">
|
55
|
55
|
<el-input v-model="form.weight_loss"></el-input>
|
56
|
56
|
</el-form-item>
|
57
|
57
|
</el-col>
|
58
|
58
|
|
59
|
59
|
<el-col :span="8" v-if="isShow('穿刺处血肿')">
|
60
|
|
- <el-form-item label="穿刺处血肿: ">
|
|
60
|
+ <el-form-item label="穿刺处血肿: " :prop="isName('穿刺处血肿')" :rules="isCheckmust('穿刺处血肿')">
|
61
|
61
|
<el-radio-group v-model="form.puncture_point_haematoma">
|
62
|
62
|
<el-radio :label="1">有</el-radio>
|
63
|
63
|
<el-radio :label="2">无</el-radio>
|
|
@@ -66,7 +66,7 @@
|
66
|
66
|
</el-col>
|
67
|
67
|
|
68
|
68
|
<el-col :span="8" v-if="isShow('并发症')">
|
69
|
|
- <el-form-item label="并发症: ">
|
|
69
|
+ <el-form-item label="并发症: " :prop="isName('并发症')" :rules="isCheckmust('并发症')">
|
70
|
70
|
<el-input
|
71
|
71
|
v-model="form.complication"
|
72
|
72
|
readonly
|
|
@@ -78,7 +78,7 @@
|
78
|
78
|
|
79
|
79
|
<el-row :gutter="20">
|
80
|
80
|
<el-col :span="8" v-if="isShow('内瘘')">
|
81
|
|
- <el-form-item label="内瘘: ">
|
|
81
|
+ <el-form-item label="内瘘: " :prop="isName('内瘘')" :rules="isCheckmust('内瘘')">
|
82
|
82
|
<el-input
|
83
|
83
|
v-model="form.internal_fistula"
|
84
|
84
|
readonly
|
|
@@ -88,7 +88,7 @@
|
88
|
88
|
</el-col>
|
89
|
89
|
|
90
|
90
|
<el-col :span="8" v-if="isShow('导管')">
|
91
|
|
- <el-form-item label="导管: ">
|
|
91
|
+ <el-form-item label="导管: " :prop="isName('导管')" :rules="isCheckmust('导管')">
|
92
|
92
|
<el-input
|
93
|
93
|
v-model="form.catheter"
|
94
|
94
|
readonly
|
|
@@ -98,7 +98,7 @@
|
98
|
98
|
</el-col>
|
99
|
99
|
|
100
|
100
|
<el-col :span="8" v-if="isShow('透析过程')">
|
101
|
|
- <el-form-item label="透析过程: ">
|
|
101
|
+ <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')">
|
102
|
102
|
<el-select v-model="form.dialysis_process">
|
103
|
103
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
104
|
104
|
|
|
@@ -113,13 +113,13 @@
|
113
|
113
|
</el-col>
|
114
|
114
|
|
115
|
115
|
<el-col :span="8" v-if="isShow('透析过程提前时间')">
|
116
|
|
- <el-form-item label="透析过程提前时间(min): ">
|
|
116
|
+ <el-form-item label="透析过程提前时间(min): " :prop="isName('透析过程提前时间')" :rules="isCheckmust('透析过程提前时间')">
|
117
|
117
|
<el-input v-model="form.in_advance_minute"></el-input>
|
118
|
118
|
</el-form-item>
|
119
|
119
|
</el-col>
|
120
|
120
|
|
121
|
121
|
<el-col :span="8" v-if="isShow('透析过程提前原因')">
|
122
|
|
- <el-form-item label="透析过程提前原因: ">
|
|
122
|
+ <el-form-item label="透析过程提前原因: " :prop="isName('透析过程提前原因')" :rules="isCheckmust('透析过程提前原因')">
|
123
|
123
|
<el-input
|
124
|
124
|
v-model="form.in_advance_reason"
|
125
|
125
|
readonly
|
|
@@ -129,7 +129,7 @@
|
129
|
129
|
</el-col>
|
130
|
130
|
|
131
|
131
|
<el-col :span="8" v-if="isShow('透析过程提前其他原因')">
|
132
|
|
- <el-form-item label="透析过程提前其他原因: ">
|
|
132
|
+ <el-form-item label="透析过程提前其他原因: " :prop="isName('透析过程提前其他原因')" :rules="isCheckmust('透析过程提前其他原因')">
|
133
|
133
|
<el-input
|
134
|
134
|
v-model="form.in_advance_reason_other"
|
135
|
135
|
:rows="2"
|
|
@@ -140,13 +140,13 @@
|
140
|
140
|
|
141
|
141
|
<el-row :gutter="20">
|
142
|
142
|
<el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血时间')">
|
143
|
|
- <el-form-item label="内瘘管拔针后压迫止血时间(min): ">
|
|
143
|
+ <el-form-item label="内瘘管拔针后压迫止血时间(min): " :prop="isName('内瘘管拔针后压迫止血时间')" :rules="isCheckmust('内瘘管拔针后压迫止血时间')">
|
144
|
144
|
<el-input v-model="form.hemostasis_minute" :rows="5"></el-input>
|
145
|
145
|
</el-form-item>
|
146
|
146
|
</el-col>
|
147
|
147
|
|
148
|
148
|
<el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
|
149
|
|
- <el-form-item label="内瘘管拔针后压迫止血操作: ">
|
|
149
|
+ <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')">
|
150
|
150
|
<el-select v-model="form.hemostasis_opera">
|
151
|
151
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
152
|
152
|
|
|
@@ -161,7 +161,7 @@
|
161
|
161
|
</el-col>
|
162
|
162
|
|
163
|
163
|
<el-col :span="8" v-if="isShow('动脉管道')">
|
164
|
|
- <el-form-item label="动脉管道: ">
|
|
164
|
+ <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')">
|
165
|
165
|
<el-select v-model="form.arterial_tube">
|
166
|
166
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
167
|
167
|
|
|
@@ -177,7 +177,7 @@
|
177
|
177
|
</el-row>
|
178
|
178
|
<el-row :gutter="20">
|
179
|
179
|
<el-col :span="8" v-if="isShow('静脉管道')">
|
180
|
|
- <el-form-item label="静脉管道: ">
|
|
180
|
+ <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')">
|
181
|
181
|
<el-select v-model="form.intravenous_tube">
|
182
|
182
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
183
|
183
|
|
|
@@ -192,7 +192,7 @@
|
192
|
192
|
</el-col>
|
193
|
193
|
|
194
|
194
|
<el-col :span="8" v-if="isShow('透析器凝血')">
|
195
|
|
- <el-form-item label="透析器凝血: ">
|
|
195
|
+ <el-form-item label="透析器凝血: " :prop="isName('透析器凝血')" :rules="isCheckmust('透析器凝血')">
|
196
|
196
|
<el-input
|
197
|
197
|
v-model="form.cruor"
|
198
|
198
|
readonly
|
|
@@ -202,7 +202,7 @@
|
202
|
202
|
</el-col>
|
203
|
203
|
|
204
|
204
|
<el-col :span="8" v-if="isShow('管路凝血')">
|
205
|
|
- <el-form-item label="管路凝血: ">
|
|
205
|
+ <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
|
206
|
206
|
<el-input
|
207
|
207
|
v-model="form.pip_coagulation"
|
208
|
208
|
readonly
|
|
@@ -212,7 +212,7 @@
|
212
|
212
|
</el-col>
|
213
|
213
|
|
214
|
214
|
<el-col :span="8" v-if="isShow('患者去向')">
|
215
|
|
- <el-form-item label="患者去向: ">
|
|
215
|
+ <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')">
|
216
|
216
|
<el-select v-model="form.patient_gose">
|
217
|
217
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
218
|
218
|
<el-option
|
|
@@ -228,7 +228,7 @@
|
228
|
228
|
|
229
|
229
|
<el-row>
|
230
|
230
|
<el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
|
231
|
|
- <el-form-item label="拔针后穿刺点渗血: ">
|
|
231
|
+ <el-form-item label="拔针后穿刺点渗血: " :prop="isName('拔针后穿刺点渗血')" :rules="isCheckmust('拔针后穿刺点渗血')">
|
232
|
232
|
<el-radio-group v-model="form.puncture_point_oozing_blood">
|
233
|
233
|
<el-radio :label="1">有</el-radio>
|
234
|
234
|
<el-radio :label="2">无</el-radio>
|
|
@@ -236,24 +236,10 @@
|
236
|
236
|
</el-form-item>
|
237
|
237
|
</el-col>
|
238
|
238
|
</el-row>
|
239
|
|
- <!-- <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
|
240
|
|
- <!-- <el-form-item label="压迫后内瘘震颤: ">-->
|
241
|
|
- <!-- <el-select v-model="form.internal_fistula_tremor_ac">-->
|
242
|
|
- <!-- <el-option :key="0" label="请选择" :value="0"></el-option>-->
|
243
|
|
-
|
244
|
|
- <!-- <el-option-->
|
245
|
|
- <!-- v-for="item in internalFistulaTremorAcOptions"-->
|
246
|
|
- <!-- :label="item.name"-->
|
247
|
|
- <!-- :value="item.id"-->
|
248
|
|
- <!-- :key="item.id"-->
|
249
|
|
- <!-- ></el-option>-->
|
250
|
|
- <!-- </el-select>-->
|
251
|
|
- <!-- </el-form-item>-->
|
252
|
|
- <!-- </el-col>-->
|
253
|
239
|
|
254
|
240
|
<el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
|
255
|
241
|
<el-col :span="24">
|
256
|
|
- <el-form-item label="科室: ">
|
|
242
|
+ <el-form-item label="科室: " :prop="isName('科室')" :rules="isCheckmust('科室')">
|
257
|
243
|
<el-input
|
258
|
244
|
v-model="form.inpatient_department"
|
259
|
245
|
:rows="5"
|
|
@@ -269,7 +255,7 @@
|
269
|
255
|
"
|
270
|
256
|
>
|
271
|
257
|
<el-col :span="24">
|
272
|
|
- <el-form-item label="交待病房护士/患者/陪人观察内容: ">
|
|
258
|
+ <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
|
273
|
259
|
<el-input
|
274
|
260
|
placeholder="交待病房护士/患者/陪人观察内容"
|
275
|
261
|
v-model="form.observation_content"
|
|
@@ -286,7 +272,7 @@
|
286
|
272
|
v-show="form.patient_gose == 3 && isShow('其他观察内容')"
|
287
|
273
|
>
|
288
|
274
|
<el-col :span="24">
|
289
|
|
- <el-form-item label="其他观察内容: ">
|
|
275
|
+ <el-form-item label="其他观察内容: " :prop="isName('其他观察内容')" :rules="isCheckmust('其他观察内容')">
|
290
|
276
|
<el-input
|
291
|
277
|
v-model="form.observation_content_other"
|
292
|
278
|
:rows="5"
|
|
@@ -296,7 +282,7 @@
|
296
|
282
|
</el-row>
|
297
|
283
|
|
298
|
284
|
<el-col :span="8" v-if="isShow('体温')">
|
299
|
|
- <el-form-item label="体温(℃): ">
|
|
285
|
+ <el-form-item label="体温(℃): " :prop="isName('体温')" :rules="isCheckmust('体温')">
|
300
|
286
|
<el-input v-model="form.temperature"></el-input>
|
301
|
287
|
</el-form-item>
|
302
|
288
|
</el-col>
|
|
@@ -304,55 +290,54 @@
|
304
|
290
|
|
305
|
291
|
<el-row :gutter="20"> -->
|
306
|
292
|
<el-col :span="8" v-if="isShow('收缩压')">
|
307
|
|
- <el-form-item label="收缩压(mmHg): ">
|
|
293
|
+ <el-form-item label="收缩压(mmHg): " :prop="isName('收缩压')" :rules="isCheckmust('收缩压')">
|
308
|
294
|
<el-input v-model="form.systolic_blood_pressure"></el-input>
|
309
|
295
|
</el-form-item>
|
310
|
296
|
</el-col>
|
311
|
297
|
<el-col :span="8" v-if="isShow('舒张压')">
|
312
|
|
- <el-form-item label="舒张压(mmHg): ">
|
|
298
|
+ <el-form-item label="舒张压(mmHg): " :prop="isName('舒张压')" :rules="isCheckmust('舒张压')">
|
313
|
299
|
<el-input v-model="form.diastolic_blood_pressure"></el-input>
|
314
|
300
|
</el-form-item>
|
315
|
301
|
</el-col>
|
316
|
302
|
|
317
|
|
-
|
318
|
303
|
<el-col :span="8" v-if="isShow('卧位收缩压')">
|
319
|
|
- <el-form-item label="卧位收缩压(mmHg):">
|
|
304
|
+ <el-form-item label="卧位收缩压(mmHg):" :prop="isName('卧位收缩压')" :rules="isCheckmust('卧位收缩压')">
|
320
|
305
|
<el-input v-model="form.supine_systolic_blood_pressure"></el-input>
|
321
|
306
|
</el-form-item>
|
322
|
307
|
</el-col>
|
323
|
308
|
|
324
|
309
|
<el-col :span="8" v-if="isShow('卧位舒张压')">
|
325
|
|
- <el-form-item label="卧位舒张压(mmHg):">
|
|
310
|
+ <el-form-item label="卧位舒张压(mmHg):" :prop="isName('卧位舒张压')" :rules="isCheckmust('卧位舒张压')">
|
326
|
311
|
<el-input v-model="form.supine_diastolic_blood_pressure"></el-input>
|
327
|
312
|
</el-form-item>
|
328
|
313
|
</el-col>
|
329
|
314
|
|
330
|
315
|
<el-col :span="8" v-if="isShow('坐位收缩压')">
|
331
|
|
- <el-form-item label="坐位收缩压(mmHg):">
|
|
316
|
+ <el-form-item label="坐位收缩压(mmHg):" :prop="isName('坐位收缩压')" :rules="isCheckmust('坐位收缩压')">
|
332
|
317
|
<el-input v-model="form.setting_pressure"></el-input>
|
333
|
318
|
</el-form-item>
|
334
|
319
|
</el-col>
|
335
|
320
|
|
336
|
321
|
<el-col :span="8" v-if="isShow('坐位舒张压')">
|
337
|
|
- <el-form-item label="坐位舒张压(mmHg):">
|
|
322
|
+ <el-form-item label="坐位舒张压(mmHg):" :prop="isName('坐位舒张压')" :rules="isCheckmust('坐位舒张压')">
|
338
|
323
|
<el-input v-model="form.diastolic_pressure"></el-input>
|
339
|
324
|
</el-form-item>
|
340
|
325
|
</el-col>
|
341
|
326
|
|
342
|
327
|
<el-col :span="8" v-if="isShow('呼吸频率')">
|
343
|
|
- <el-form-item label="呼吸频率(次/min): ">
|
|
328
|
+ <el-form-item label="呼吸频率(次/min): " :prop="isName('呼吸频率')" :rules="isCheckmust('呼吸频率')">
|
344
|
329
|
<el-input v-model="form.breathing_rate"></el-input>
|
345
|
330
|
</el-form-item>
|
346
|
331
|
</el-col>
|
347
|
332
|
|
348
|
333
|
<el-col :span="8" v-if="isShow('脉搏')">
|
349
|
|
- <el-form-item label="脉搏(次/分): ">
|
|
334
|
+ <el-form-item label="脉搏(次/分): " :prop="isName('脉搏')" :rules="isCheckmust('脉搏')">
|
350
|
335
|
<el-input v-model="form.pulse_frequency"></el-input>
|
351
|
336
|
</el-form-item>
|
352
|
337
|
</el-col>
|
353
|
338
|
|
354
|
339
|
<el-col :span="8" v-if="isShow('透后症状')">
|
355
|
|
- <el-form-item label="透后症状: ">
|
|
340
|
+ <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
|
356
|
341
|
<el-input
|
357
|
342
|
v-model="form.symptom_after_dialysis"
|
358
|
343
|
readonly
|
|
@@ -362,13 +347,13 @@
|
362
|
347
|
</el-col>
|
363
|
348
|
|
364
|
349
|
<el-col :span="8" v-if="isShow('透析中入量')">
|
365
|
|
- <el-form-item label="透析中入量(L): ">
|
|
350
|
+ <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
|
366
|
351
|
<el-input v-model="form.dialysis_intakes"></el-input>
|
367
|
352
|
</el-form-item>
|
368
|
353
|
</el-col>
|
369
|
354
|
|
370
|
355
|
<el-col :span="8" v-if="isShow('透析中入量单位')">
|
371
|
|
- <el-form-item label="透析中入量单位: ">
|
|
356
|
+ <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')">
|
372
|
357
|
<el-select v-model="form.dialysis_intakes_unit">
|
373
|
358
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
374
|
359
|
<el-option
|
|
@@ -382,34 +367,34 @@
|
382
|
367
|
</el-col>
|
383
|
368
|
|
384
|
369
|
<el-col :span="8" v-if="isShow('回血')">
|
385
|
|
- <el-form-item label="回血(ml): ">
|
|
370
|
+ <el-form-item label="回血(ml): " :prop="isName('回血')" :rules="isCheckmust('回血')">
|
386
|
371
|
<el-input v-model="form.return_blood"></el-input>
|
387
|
372
|
</el-form-item>
|
388
|
373
|
</el-col>
|
389
|
374
|
|
390
|
375
|
<el-col :span="8" v-if="isShow('补液量')">
|
391
|
|
- <el-form-item label="补液量(ml): ">
|
|
376
|
+ <el-form-item label="补液量(ml): " :prop="isName('补液量')" :rules="isCheckmust('补液量')">
|
392
|
377
|
<el-input v-model="form.rehydration_volume"></el-input>
|
393
|
378
|
</el-form-item>
|
394
|
379
|
</el-col>
|
395
|
380
|
|
396
|
381
|
<el-col :span="8" v-if="isShow('透析中进食')">
|
397
|
|
- <el-form-item label="透析中进食(ml): " v-if="template_id != 36">
|
|
382
|
+ <el-form-item label="透析中进食(ml): " v-if="template_id != 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')">
|
398
|
383
|
<el-input v-model="form.dialysis_during"></el-input>
|
399
|
384
|
</el-form-item>
|
400
|
|
- <el-form-item label="透析中进食(g): " v-if="template_id == 36">
|
|
385
|
+ <el-form-item label="透析中进食(g): " v-if="template_id == 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')" >
|
401
|
386
|
<el-input v-model="form.dialysis_during"></el-input>
|
402
|
387
|
</el-form-item>
|
403
|
388
|
</el-col>
|
404
|
389
|
|
405
|
390
|
<el-col :span="8" v-if="isShow('出量')">
|
406
|
|
- <el-form-item label="出量(ml): ">
|
|
391
|
+ <el-form-item label="出量(ml): " :prop="isName('出量')" :rules="isCheckmust('出量')">
|
407
|
392
|
<el-input v-model="form.stroke_volume"></el-input>
|
408
|
393
|
</el-form-item>
|
409
|
394
|
</el-col>
|
410
|
395
|
|
411
|
396
|
<el-col :span="8" v-if="isShow('血流量')">
|
412
|
|
- <el-form-item label="血流量: ">
|
|
397
|
+ <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')">
|
413
|
398
|
<el-select v-model="form.blood_flow">
|
414
|
399
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
415
|
400
|
<el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
|
|
@@ -418,7 +403,7 @@
|
418
|
403
|
</el-col>
|
419
|
404
|
|
420
|
405
|
<el-col :span="8" v-if="isShow('封管液配置')">
|
421
|
|
- <el-form-item label="封管液配置:">
|
|
406
|
+ <el-form-item label="封管液配置:" :prop="isName('封管液配置')" :rules="isCheckmust('封管液配置')">
|
422
|
407
|
<!-- <el-select v-model="form.sealing_fluid_dispose">
|
423
|
408
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
424
|
409
|
<el-option v-for="item in this.sealingFluidDisposeOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
|
|
@@ -432,7 +417,7 @@
|
432
|
417
|
</el-col>
|
433
|
418
|
|
434
|
419
|
<el-col :span="8" v-if="sealing_fluid_special_name == '特殊'&&isShow('封管液特殊')">
|
435
|
|
- <el-form-item label="封管液配置(特殊): ">
|
|
420
|
+ <el-form-item label="封管液配置(特殊): " :prop="isName('封管液配置(特殊)')" :rules="isCheckmust('封管液配置(特殊)')">
|
436
|
421
|
<el-input v-model="form.sealing_fluid_special"></el-input>
|
437
|
422
|
</el-form-item>
|
438
|
423
|
</el-col>
|
|
@@ -442,17 +427,17 @@
|
442
|
427
|
<el-row :gutter="20"> -->
|
443
|
428
|
|
444
|
429
|
<el-col :span="8" v-if="isShow('实际置换量')">
|
445
|
|
- <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): ">
|
|
430
|
+ <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
|
446
|
431
|
<el-input v-model="form.actual_displacement"></el-input>
|
447
|
432
|
</el-form-item>
|
448
|
|
- <el-form-item v-else label="实际置换量(L): ">
|
|
433
|
+ <el-form-item v-else label="实际置换量(L): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
|
449
|
434
|
<el-input v-model="form.actual_displacement"></el-input>
|
450
|
435
|
</el-form-item>
|
451
|
436
|
</el-col>
|
452
|
437
|
|
453
|
438
|
|
454
|
439
|
<el-col :span="8" v-if="isShow('失衡综合症')">
|
455
|
|
- <el-form-item label="失衡综合症: ">
|
|
440
|
+ <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')">
|
456
|
441
|
<el-select v-model="form.disequilibrium_syndrome">
|
457
|
442
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
458
|
443
|
|
|
@@ -467,7 +452,7 @@
|
467
|
452
|
</el-col>
|
468
|
453
|
|
469
|
454
|
<el-col :span="8" v-if="isShow('透析期间进食')">
|
470
|
|
- <el-form-item label="透析期间进食: ">
|
|
455
|
+ <el-form-item label="透析期间进食: " :prop="isName('透析期间进食')" :rules="isCheckmust('透析期间进食')">
|
471
|
456
|
<el-radio-group v-model="form.is_eat">
|
472
|
457
|
<el-radio :label="1">有</el-radio>
|
473
|
458
|
<el-radio :label="2">无</el-radio>
|
|
@@ -476,19 +461,19 @@
|
476
|
461
|
</el-col>
|
477
|
462
|
|
478
|
463
|
<el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
|
479
|
|
- <el-form-item label="中心静脉封管(肝素-A端): ">
|
|
464
|
+ <el-form-item label="中心静脉封管(肝素-A端): " :prop="isName('中心静脉封管(肝素-A端)')" :rules="isCheckmust('中心静脉封管(肝素-A端)')">
|
480
|
465
|
<el-input v-model="form.cvc_a"></el-input>
|
481
|
466
|
</el-form-item>
|
482
|
467
|
</el-col>
|
483
|
468
|
|
484
|
469
|
<el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
|
485
|
|
- <el-form-item label="中心静脉封管(肝素-V端): ">
|
|
470
|
+ <el-form-item label="中心静脉封管(肝素-V端): " :prop="isName('中心静脉封管(肝素-V端)')" :rules="isCheckmust('中心静脉封管(肝素-V端)')">
|
486
|
471
|
<el-input v-model="form.cvc_v"></el-input>
|
487
|
472
|
</el-form-item>
|
488
|
473
|
</el-col>
|
489
|
474
|
|
490
|
475
|
<el-col :span="8" v-if="isShow('管路')">
|
491
|
|
- <el-form-item label="管路: ">
|
|
476
|
+ <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')">
|
492
|
477
|
<el-select v-model="form.channel">
|
493
|
478
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
494
|
479
|
<el-option
|
|
@@ -502,25 +487,25 @@
|
502
|
487
|
</el-col>
|
503
|
488
|
|
504
|
489
|
<el-col :span="8" v-if="isShow('实际抗凝剂用量')">
|
505
|
|
- <el-form-item label="实际抗凝剂用量: ">
|
|
490
|
+ <el-form-item label="实际抗凝剂用量: " :prop="isName('实际抗凝剂用量')" :rules="isCheckmust('实际抗凝剂用量')">
|
506
|
491
|
<el-input v-model="form.dosage_of_anticoagulants"></el-input>
|
507
|
492
|
</el-form-item>
|
508
|
493
|
</el-col>
|
509
|
494
|
|
510
|
495
|
|
511
|
496
|
<el-col :span="8" v-if="isShow('并发症其他')">
|
512
|
|
- <el-form-item label="并发症其他: ">
|
|
497
|
+ <el-form-item label="并发症其他: " :prop="isName('并发症其他')" :rules="isCheckmust('并发症其他')">
|
513
|
498
|
<el-input v-model="form.other_complication"></el-input>
|
514
|
499
|
</el-form-item>
|
515
|
500
|
</el-col>
|
516
|
501
|
|
517
|
502
|
<el-col :span="8" v-if="isShow('URR')">
|
518
|
|
- <el-form-item label="URR:">
|
|
503
|
+ <el-form-item label="URR:" :prop="isName('URR')" :rules="isCheckmust('URR')">
|
519
|
504
|
<el-input v-model="form.urr"></el-input>
|
520
|
505
|
</el-form-item>
|
521
|
506
|
</el-col>
|
522
|
507
|
<el-col :span="8" v-if="isShow('透析相关高血压')">
|
523
|
|
- <el-form-item label="透析相关高血压:">
|
|
508
|
+ <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')">
|
524
|
509
|
|
525
|
510
|
<el-select v-model="form.hypertenison">
|
526
|
511
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
|
@@ -533,8 +518,9 @@
|
533
|
518
|
</el-select>
|
534
|
519
|
</el-form-item>
|
535
|
520
|
</el-col>
|
|
521
|
+
|
536
|
522
|
<el-col :span="8" v-if="isShow('透析相关低血压')">
|
537
|
|
- <el-form-item label="透析相关低血压">
|
|
523
|
+ <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')">
|
538
|
524
|
<el-select v-model="form.hypopiesia">
|
539
|
525
|
<el-option
|
540
|
526
|
v-for="item in optionOne"
|
|
@@ -546,7 +532,7 @@
|
546
|
532
|
</el-form-item>
|
547
|
533
|
</el-col>
|
548
|
534
|
<el-col :span="8" v-if="isShow('离科方式')">
|
549
|
|
- <el-form-item label="离科方式">
|
|
535
|
+ <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')">
|
550
|
536
|
<el-select v-model="form.leave_office_method">
|
551
|
537
|
<el-option
|
552
|
538
|
v-for="item in leaveOfficeMethod"
|
|
@@ -558,7 +544,7 @@
|
558
|
544
|
</el-form-item>
|
559
|
545
|
</el-col>
|
560
|
546
|
<el-col :span="8" v-if="isShow('转归')">
|
561
|
|
- <el-form-item label="转归">
|
|
547
|
+ <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')">
|
562
|
548
|
<el-select v-model="form.lapse">
|
563
|
549
|
<el-option
|
564
|
550
|
v-for="item in lapseList"
|
|
@@ -570,7 +556,7 @@
|
570
|
556
|
</el-form-item>
|
571
|
557
|
</el-col>
|
572
|
558
|
<el-col :span="8" v-if="isShow('意识')">
|
573
|
|
- <el-form-item label="意识">
|
|
559
|
+ <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
|
574
|
560
|
<el-select v-model="form.consciousness">
|
575
|
561
|
<el-option
|
576
|
562
|
v-for="item in consciousnessList"
|
|
@@ -582,7 +568,7 @@
|
582
|
568
|
</el-form-item>
|
583
|
569
|
</el-col>
|
584
|
570
|
<el-col :span="8" v-if="isShow('跌倒风险')">
|
585
|
|
- <el-form-item label="跌倒风险">
|
|
571
|
+ <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')">
|
586
|
572
|
<el-select v-model="form.fallrisk">
|
587
|
573
|
<el-option
|
588
|
574
|
v-for="item in fallriskList"
|
|
@@ -595,7 +581,7 @@
|
595
|
581
|
</el-col>
|
596
|
582
|
|
597
|
583
|
<el-col :span="8" v-if="isShow('机器运行')">
|
598
|
|
- <el-form-item label="机器运行: ">
|
|
584
|
+ <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')">
|
599
|
585
|
<el-select v-model="form.machine_run">
|
600
|
586
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
601
|
587
|
|
|
@@ -610,22 +596,21 @@
|
610
|
596
|
</el-col>
|
611
|
597
|
|
612
|
598
|
<el-col :span="8" v-if="isShow('透后尿素')">
|
613
|
|
- <el-form-item label="透后尿素(mmol/L):" label-width="150px">
|
|
599
|
+ <el-form-item label="透后尿素(mmol/L):" label-width="150px" :prop="isName('透后尿素')" :rules="isCheckmust('透后尿素')">
|
614
|
600
|
<el-input v-model="form.after_urea"></el-input>
|
615
|
601
|
</el-form-item>
|
616
|
602
|
</el-col>
|
617
|
603
|
<el-col :span="8" v-if="isShow('累计血容量')">
|
618
|
|
- <el-form-item label="累计血容量(L):" label-width="150px">
|
|
604
|
+ <el-form-item label="累计血容量(L):" label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
|
619
|
605
|
<el-input v-model="form.accumulated_blood_volume"></el-input>
|
620
|
606
|
</el-form-item>
|
621
|
607
|
</el-col>
|
622
|
608
|
<el-col :span="24" v-if="isShow('KT/V')">
|
623
|
|
- <el-form-item label="KT/V:">
|
|
609
|
+ <el-form-item label="KT/V:" :prop="isName('KT/V')" :rules="isCheckmust('KT/V')">
|
624
|
610
|
<el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
|
625
|
611
|
</el-form-item>
|
626
|
612
|
</el-col>
|
627
|
613
|
|
628
|
|
-
|
629
|
614
|
</el-form>
|
630
|
615
|
|
631
|
616
|
|
|
@@ -633,11 +618,11 @@
|
633
|
618
|
<el-button @click="hide">取 消</el-button>
|
634
|
619
|
<el-button
|
635
|
620
|
type="primary"
|
636
|
|
- @click="submitForm"
|
|
621
|
+ @click="submitForm('form')"
|
637
|
622
|
:loading="loading"
|
638
|
623
|
v-if="hasPermission"
|
639
|
|
- >保 存</el-button
|
640
|
|
- >
|
|
624
|
+ >保 存</el-button>
|
|
625
|
+ <!-- -->
|
641
|
626
|
</span>
|
642
|
627
|
</el-dialog>
|
643
|
628
|
|
|
@@ -935,137 +920,195 @@ export default {
|
935
|
920
|
}
|
936
|
921
|
},
|
937
|
922
|
methods: {
|
938
|
|
- submitForm() {
|
939
|
|
- this.loading = true
|
940
|
|
- const ParamsQuery = {}
|
941
|
|
-
|
942
|
|
- if (!(this.patient.id > 0)) {
|
943
|
|
- this.$message.error('没有选择患者')
|
944
|
|
- this.loading = false
|
945
|
|
- return false
|
946
|
|
- }
|
947
|
|
- if (this.record_date.length != 10) {
|
948
|
|
- this.$message.error('无效的日期')
|
949
|
|
- this.loading = false
|
950
|
|
- return false
|
|
923
|
+ isName(name) {
|
|
924
|
+ let filedList = store.getters.xt_user.fileds;
|
|
925
|
+ for (let i = 0; i < filedList.length; i++) {
|
|
926
|
+ if (filedList[i].module == 5 && filedList[i].filed_name_cn == name) {
|
|
927
|
+ return filedList[i].filed_name;
|
|
928
|
+ }
|
951
|
929
|
}
|
|
930
|
+ },
|
|
931
|
+ isCheckmust(name) {
|
|
932
|
+ let filedList = store.getters.xt_user.fileds;
|
952
|
933
|
|
953
|
|
- ParamsQuery['patient'] = this.patient.id
|
954
|
|
- ParamsQuery['record_date'] = this.record_date
|
955
|
|
- ParamsQuery['mode'] = '1'
|
956
|
|
- if (this.assessment_after_dislysis.creater > 0) {
|
957
|
|
- ParamsQuery['mode'] = '2'
|
|
934
|
+ for (let i = 0; i < filedList.length; i++) {
|
958
|
935
|
if (
|
959
|
|
- this.assessment_after_dislysis.creater !=
|
960
|
|
- this.$store.getters.xt_user.user.id
|
|
936
|
+ filedList[i].module == 5 &&
|
|
937
|
+ filedList[i].filed_name_cn == name &&
|
|
938
|
+ filedList[i].is_write == 1&&
|
|
939
|
+ filedList[i].is_show == 1
|
961
|
940
|
) {
|
962
|
|
- ParamsQuery['mode'] = '3'
|
|
941
|
+ console.log(filedList[i],'false')
|
|
942
|
+ // if(name == "实际治疗时长"){
|
|
943
|
+ // return [
|
|
944
|
+ // { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
|
|
945
|
+ // {
|
|
946
|
+ // required: true,
|
|
947
|
+ // pattern: /^[1-9]\d*$/,
|
|
948
|
+ // message: `请选择${name}`,
|
|
949
|
+ // trigger: ['change']
|
|
950
|
+ // },
|
|
951
|
+ // ];
|
|
952
|
+ // }
|
|
953
|
+
|
|
954
|
+ return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
|
|
955
|
+
|
963
|
956
|
}
|
964
|
957
|
}
|
|
958
|
+ },
|
|
959
|
+ isShow(name) {
|
|
960
|
+ var filedList = store.getters.xt_user.fileds
|
965
|
961
|
|
966
|
|
- const data = {}
|
967
|
|
- data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
|
968
|
|
- data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
|
969
|
|
- data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
|
970
|
|
- data['breathing_rate'] = this.form.breathing_rate
|
971
|
|
- data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
|
972
|
|
- data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
|
973
|
|
- data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
|
974
|
|
- data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
|
975
|
|
- data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
|
976
|
|
- data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
|
977
|
|
- data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
|
978
|
|
- data['cruor'] = this.form.cruor
|
979
|
|
- data['pip_coagulation'] = this.form.pip_coagulation
|
980
|
|
- data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
|
981
|
|
- data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
|
982
|
|
- data['internal_fistula'] = this.form.internal_fistula
|
983
|
|
- data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
|
984
|
|
- data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
|
985
|
|
- data['catheter'] = this.form.catheter
|
986
|
|
- data['complication'] = this.form.complication
|
987
|
|
- data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
|
988
|
|
- data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
|
989
|
|
- data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
|
990
|
|
- data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
|
991
|
|
- data['inpatient_department'] = this.form.inpatient_department
|
992
|
|
- data['observation_content'] = this.form.observation_content
|
993
|
|
- data['observation_content_other'] = this.form.observation_content_other
|
994
|
|
- data['remark'] = this.form.remark
|
995
|
|
- data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
|
996
|
|
- data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
|
997
|
|
- data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
|
998
|
|
- data['in_advance_reason_other'] = this.form.in_advance_reason_other
|
999
|
|
- data['in_advance_reason'] = this.form.in_advance_reason
|
1000
|
|
- data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
|
1001
|
|
- data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
|
1002
|
|
- data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
|
1003
|
|
- data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
|
1004
|
|
- data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
|
1005
|
|
- data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
|
1006
|
|
- data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
|
1007
|
|
- data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
|
1008
|
|
- data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
|
1009
|
|
- data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
|
1010
|
|
- data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
|
1011
|
|
- data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
|
1012
|
|
- data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
|
1013
|
|
- data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
|
1014
|
|
- data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
|
1015
|
|
- data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
|
1016
|
|
- data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
|
1017
|
|
- // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
|
1018
|
|
- data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
|
1019
|
|
- data['sealing_fluid_special'] = this.form.sealing_fluid_special
|
1020
|
|
- data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
|
1021
|
|
- data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
|
1022
|
|
- data['setting_pressure'] = this.form.setting_pressure
|
1023
|
|
- data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
|
1024
|
|
- data["diastolic_pressure"] = this.form.diastolic_pressure
|
1025
|
|
- data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
|
1026
|
|
- data["other_complication"] = this.form.other_complication
|
1027
|
|
- data["ktv"] = this.form.ktv
|
1028
|
|
- data["urr"] = this.form.urr
|
1029
|
|
- data["hypertenison"] = parseInt(this.form.hypertenison)
|
1030
|
|
- data["hypopiesia"] = parseInt(this.form.hypopiesia)
|
1031
|
|
- data["leave_office_method"] = this.form.leave_office_method
|
1032
|
|
- data["lapse"] = this.form.lapse
|
1033
|
|
- data["consciousness"] = this.form.consciousness
|
1034
|
|
- data["fallrisk"] = this.form.fallrisk
|
1035
|
|
- data["machine_run"] = this.form.machine_run
|
1036
|
|
- data["after_urea"] = this.form.after_urea
|
1037
|
|
- data["pip_coagulation"] = this.form.pip_coagulation
|
1038
|
|
- data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
|
1039
|
|
- console.log("Paramsquery",data)
|
1040
|
|
-
|
1041
|
|
- postAssessmentAfterDislysis(ParamsQuery, data)
|
1042
|
|
- .then(response => {
|
1043
|
|
- this.loading = false
|
1044
|
|
- if (response.data.state == 0) {
|
1045
|
|
- this.$message.error(response.data.msg)
|
1046
|
|
- return false
|
1047
|
|
- } else {
|
1048
|
|
- this.$notify({
|
1049
|
|
- title: '成功',
|
1050
|
|
- message: '提交成功',
|
1051
|
|
- type: 'success',
|
1052
|
|
- duration: 2000
|
1053
|
|
- })
|
|
962
|
+ for (let i = 0; i < filedList.length; i++) {
|
|
963
|
+ if (
|
|
964
|
+ filedList[i].module == 5 &&
|
|
965
|
+ filedList[i].filed_name_cn == name &&
|
|
966
|
+ filedList[i].is_show == 1
|
|
967
|
+ ) {
|
|
968
|
+ return true
|
|
969
|
+ }
|
|
970
|
+ }
|
|
971
|
+ return false
|
|
972
|
+ },
|
|
973
|
+ submitForm(formName) {
|
|
974
|
+ this.$refs[formName].validate((valid)=>{
|
|
975
|
+ if(valid){
|
1054
|
976
|
|
1055
|
|
- var assement = response.data.data.AssessmentAfterDislysis
|
|
977
|
+ this.loading = true
|
|
978
|
+ const ParamsQuery = {}
|
1056
|
979
|
|
1057
|
|
- var assessment_after_dislysis = this.assessment_after_dislysis
|
|
980
|
+ if (!(this.patient.id > 0)) {
|
|
981
|
+ this.$message.error('没有选择患者')
|
|
982
|
+ this.loading = false
|
|
983
|
+ return false
|
|
984
|
+ }
|
|
985
|
+ if (this.record_date.length != 10) {
|
|
986
|
+ this.$message.error('无效的日期')
|
|
987
|
+ this.loading = false
|
|
988
|
+ return false
|
|
989
|
+ }
|
1058
|
990
|
|
1059
|
|
- for (var index in assement) {
|
1060
|
|
- // assessment_after_dislysis[index] = assement[index];
|
1061
|
|
- this.$set(assessment_after_dislysis, index, assement[index])
|
|
991
|
+ ParamsQuery['patient'] = this.patient.id
|
|
992
|
+ ParamsQuery['record_date'] = this.record_date
|
|
993
|
+ ParamsQuery['mode'] = '1'
|
|
994
|
+ if (this.assessment_after_dislysis.creater > 0) {
|
|
995
|
+ ParamsQuery['mode'] = '2'
|
|
996
|
+ if (
|
|
997
|
+ this.assessment_after_dislysis.creater !=
|
|
998
|
+ this.$store.getters.xt_user.user.id
|
|
999
|
+ ) {
|
|
1000
|
+ ParamsQuery['mode'] = '3'
|
1062
|
1001
|
}
|
1063
|
|
- this.hide()
|
1064
|
1002
|
}
|
1065
|
|
- })
|
1066
|
|
- .catch(v => {
|
1067
|
|
- this.loading = false
|
1068
|
|
- })
|
|
1003
|
+
|
|
1004
|
+ const data = {}
|
|
1005
|
+ data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
|
|
1006
|
+ data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
|
|
1007
|
+ data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
|
|
1008
|
+ data['breathing_rate'] = this.form.breathing_rate
|
|
1009
|
+ data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
|
|
1010
|
+ data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
|
|
1011
|
+ data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
|
|
1012
|
+ data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
|
|
1013
|
+ data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
|
|
1014
|
+ data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
|
|
1015
|
+ data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
|
|
1016
|
+ data['cruor'] = this.form.cruor
|
|
1017
|
+ data['pip_coagulation'] = this.form.pip_coagulation
|
|
1018
|
+ data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
|
|
1019
|
+ data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
|
|
1020
|
+ data['internal_fistula'] = this.form.internal_fistula
|
|
1021
|
+ data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
|
|
1022
|
+ data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
|
|
1023
|
+ data['catheter'] = this.form.catheter
|
|
1024
|
+ data['complication'] = this.form.complication
|
|
1025
|
+ data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
|
|
1026
|
+ data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
|
|
1027
|
+ data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
|
|
1028
|
+ data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
|
|
1029
|
+ data['inpatient_department'] = this.form.inpatient_department
|
|
1030
|
+ data['observation_content'] = this.form.observation_content
|
|
1031
|
+ data['observation_content_other'] = this.form.observation_content_other
|
|
1032
|
+ data['remark'] = this.form.remark
|
|
1033
|
+ data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
|
|
1034
|
+ data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
|
|
1035
|
+ data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
|
|
1036
|
+ data['in_advance_reason_other'] = this.form.in_advance_reason_other
|
|
1037
|
+ data['in_advance_reason'] = this.form.in_advance_reason
|
|
1038
|
+ data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
|
|
1039
|
+ data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
|
|
1040
|
+ data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
|
|
1041
|
+ data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
|
|
1042
|
+ data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
|
|
1043
|
+ data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
|
|
1044
|
+ data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
|
|
1045
|
+ data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
|
|
1046
|
+ data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
|
|
1047
|
+ data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
|
|
1048
|
+ data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
|
|
1049
|
+ data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
|
|
1050
|
+ data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
|
|
1051
|
+ data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
|
|
1052
|
+ data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
|
|
1053
|
+ data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
|
|
1054
|
+ data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
|
|
1055
|
+ // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
|
|
1056
|
+ data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
|
|
1057
|
+ data['sealing_fluid_special'] = this.form.sealing_fluid_special
|
|
1058
|
+ data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
|
|
1059
|
+ data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
|
|
1060
|
+ data['setting_pressure'] = this.form.setting_pressure
|
|
1061
|
+ data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
|
|
1062
|
+ data["diastolic_pressure"] = this.form.diastolic_pressure
|
|
1063
|
+ data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
|
|
1064
|
+ data["other_complication"] = this.form.other_complication
|
|
1065
|
+ data["ktv"] = this.form.ktv
|
|
1066
|
+ data["urr"] = this.form.urr
|
|
1067
|
+ data["hypertenison"] = parseInt(this.form.hypertenison)
|
|
1068
|
+ data["hypopiesia"] = parseInt(this.form.hypopiesia)
|
|
1069
|
+ data["leave_office_method"] = this.form.leave_office_method
|
|
1070
|
+ data["lapse"] = this.form.lapse
|
|
1071
|
+ data["consciousness"] = this.form.consciousness
|
|
1072
|
+ data["fallrisk"] = this.form.fallrisk
|
|
1073
|
+ data["machine_run"] = this.form.machine_run
|
|
1074
|
+ data["after_urea"] = this.form.after_urea
|
|
1075
|
+ data["pip_coagulation"] = this.form.pip_coagulation
|
|
1076
|
+ data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
|
|
1077
|
+ console.log("Paramsquery",data)
|
|
1078
|
+
|
|
1079
|
+ postAssessmentAfterDislysis(ParamsQuery, data)
|
|
1080
|
+ .then(response => {
|
|
1081
|
+ this.loading = false
|
|
1082
|
+ if (response.data.state == 0) {
|
|
1083
|
+ this.$message.error(response.data.msg)
|
|
1084
|
+ return false
|
|
1085
|
+ } else {
|
|
1086
|
+ this.$notify({
|
|
1087
|
+ title: '成功',
|
|
1088
|
+ message: '提交成功',
|
|
1089
|
+ type: 'success',
|
|
1090
|
+ duration: 2000
|
|
1091
|
+ })
|
|
1092
|
+
|
|
1093
|
+ var assement = response.data.data.AssessmentAfterDislysis
|
|
1094
|
+
|
|
1095
|
+ var assessment_after_dislysis = this.assessment_after_dislysis
|
|
1096
|
+
|
|
1097
|
+ for (var index in assement) {
|
|
1098
|
+ // assessment_after_dislysis[index] = assement[index];
|
|
1099
|
+ this.$set(assessment_after_dislysis, index, assement[index])
|
|
1100
|
+ }
|
|
1101
|
+ this.hide()
|
|
1102
|
+ }
|
|
1103
|
+ })
|
|
1104
|
+ .catch(v => {
|
|
1105
|
+ this.loading = false
|
|
1106
|
+ })
|
|
1107
|
+ }else {
|
|
1108
|
+ console.log("error submit!!");
|
|
1109
|
+ return false;
|
|
1110
|
+ }
|
|
1111
|
+ })
|
1069
|
1112
|
},
|
1070
|
1113
|
showDialog: function(val) {
|
1071
|
1114
|
this.InnerDialogProps.visibility = true
|
|
@@ -1268,20 +1311,7 @@ export default {
|
1268
|
1311
|
hide() {
|
1269
|
1312
|
this.isVisibility = false
|
1270
|
1313
|
},
|
1271
|
|
- isShow(name) {
|
1272
|
|
- var filedList = store.getters.xt_user.fileds
|
1273
|
|
-
|
1274
|
|
- for (let i = 0; i < filedList.length; i++) {
|
1275
|
|
- if (
|
1276
|
|
- filedList[i].module == 5 &&
|
1277
|
|
- filedList[i].filed_name_cn == name &&
|
1278
|
|
- filedList[i].is_show == 1
|
1279
|
|
- ) {
|
1280
|
|
- return true
|
1281
|
|
- }
|
1282
|
|
- }
|
1283
|
|
- return false
|
1284
|
|
- },
|
|
1314
|
+
|
1285
|
1315
|
setRecords(records) {
|
1286
|
1316
|
for (var index in records) {
|
1287
|
1317
|
this.$set(this.assessment_after_dislysis, index, records[index])
|