|
@@ -23,7 +23,6 @@
|
23
|
23
|
ref="dialysisPrescription"
|
24
|
24
|
:model="dialysisPrescription"
|
25
|
25
|
label-width="148px"
|
26
|
|
-
|
27
|
26
|
>
|
28
|
27
|
<el-row :gutter="24">
|
29
|
28
|
<el-col :span="8" v-if="isShows('透析模式')">
|
|
@@ -75,7 +74,7 @@
|
75
|
74
|
<el-input v-model="dialysisPrescription.replacement_flow"></el-input>
|
76
|
75
|
</el-form-item>
|
77
|
76
|
</el-col>
|
78
|
|
-
|
|
77
|
+
|
79
|
78
|
<el-col :span="8" v-if="isShows('置换流量') && this.$store.getters.xt_user.template_info.org_id == 10340">
|
80
|
79
|
<el-form-item label="置换流量(ml/min):" prop="replacement_flow" :rules="isCheckmust('置换流量')">
|
81
|
80
|
<el-input v-model="dialysisPrescription.replacement_flow"></el-input>
|
|
@@ -102,10 +101,10 @@
|
102
|
101
|
></el-input>
|
103
|
102
|
</el-form-item>
|
104
|
103
|
</el-col>
|
105
|
|
-
|
|
104
|
+
|
106
|
105
|
<el-col :span="8"
|
107
|
106
|
v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || 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 == 9829|| this.$store.getters.xt_user.template_info.org_id == 10440 || this.$store.getters.xt_user.template_info.org_id == 10469|| this.$store.getters.xt_user.template_info.org_id == 10471)">
|
108
|
|
- <el-form-item label="目标超滤量(ml):"
|
|
107
|
+ <el-form-item label="目标超滤量(ml):"
|
109
|
108
|
prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
|
110
|
109
|
<el-input
|
111
|
110
|
type="number"
|
|
@@ -114,12 +113,12 @@
|
114
|
113
|
</el-form-item>
|
115
|
114
|
</el-col>
|
116
|
115
|
|
117
|
|
-
|
|
116
|
+
|
118
|
117
|
|
119
|
118
|
|
120
|
119
|
<el-col :span="8"
|
121
|
120
|
v-if="isShows('目标超滤量') && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 && this.$store.getters.xt_user.template_info.org_id != 10345 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 && this.$store.getters.xt_user.template_info.org_id != 10395 && this.$store.getters.xt_user.template_info.template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 10340 && 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!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469&& this.$store.getters.xt_user.template_info.org_id != 10471">
|
122
|
|
- <el-form-item
|
|
121
|
+ <el-form-item
|
123
|
122
|
label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
|
124
|
123
|
<el-input
|
125
|
124
|
type="number"
|
|
@@ -137,7 +136,7 @@
|
137
|
136
|
></el-input>
|
138
|
137
|
</el-form-item>
|
139
|
138
|
</el-col>
|
140
|
|
-
|
|
139
|
+
|
141
|
140
|
<el-col :span="8" v-if="isShows('带水上机')">
|
142
|
141
|
<el-form-item label="带水上机:" prop="water_machine" :rules="isCheckmust('带水上机')">
|
143
|
142
|
<el-select v-model="dialysisPrescription.water_machine">
|
|
@@ -149,8 +148,8 @@
|
149
|
148
|
></el-option>
|
150
|
149
|
</el-select>
|
151
|
150
|
</el-form-item>
|
152
|
|
- </el-col>
|
153
|
|
-
|
|
151
|
+ </el-col>
|
|
152
|
+
|
154
|
153
|
<el-col :span="8" v-if="isShows('是否单超脱水')">
|
155
|
154
|
<el-form-item label="是否单超脱水:" prop="is_water" :rules="isCheckmust('是否单超脱水')">
|
156
|
155
|
<el-select v-model="dialysisPrescription.is_water">
|
|
@@ -169,14 +168,14 @@
|
169
|
168
|
<el-input v-model="dialysisPrescription.single_time"></el-input>
|
170
|
169
|
</el-form-item>
|
171
|
170
|
</el-col>
|
172
|
|
-
|
|
171
|
+
|
173
|
172
|
<el-col :span="8" v-if="isShows('单超脱水') && dialysisPrescription.is_water == 1">
|
174
|
173
|
<el-form-item label="单超脱水(ml):" prop="single_water" :rules="isCheckmust('单超脱水')">
|
175
|
174
|
<el-input v-model="dialysisPrescription.single_water"></el-input>
|
176
|
175
|
</el-form-item>
|
177
|
176
|
</el-col>
|
178
|
177
|
|
179
|
|
-
|
|
178
|
+
|
180
|
179
|
<el-col :span="8" v-if="isShows('曲线脱水')">
|
181
|
180
|
<el-form-item label="曲线脱水(ml):" prop="drhy_water" :rules="isCheckmust('曲线脱水')">
|
182
|
181
|
<el-input v-model="dialysisPrescription.drhy_water"></el-input>
|
|
@@ -211,7 +210,7 @@
|
211
|
210
|
<el-row :gutter="20"> -->
|
212
|
211
|
|
213
|
212
|
<el-col :span="8" v-if="isShows('抗凝剂')">
|
214
|
|
-
|
|
213
|
+
|
215
|
214
|
<el-form-item label="抗凝剂:" prop="anticoagulant" :rules="isCheckmust('抗凝剂')">
|
216
|
215
|
<el-select v-model="dialysisPrescription.anticoagulant" placeholder="请选择"
|
217
|
216
|
style="width:100%;"
|
|
@@ -226,7 +225,7 @@
|
226
|
225
|
</el-form-item>
|
227
|
226
|
</el-col>
|
228
|
227
|
|
229
|
|
- <el-col :span="8" v-if="isShows('抗凝剂商品名称')">
|
|
228
|
+ <el-col :span="8" v-if="isShows('抗凝剂商品名称')">
|
230
|
229
|
<el-form-item label="抗凝剂商品名称:" prop="antioxidant_commodity_name" :rules="isCheckmust('抗凝剂商品名称')">
|
231
|
230
|
<el-input
|
232
|
231
|
v-model="dialysisPrescription.antioxidant_commodity_name"
|
|
@@ -250,7 +249,7 @@
|
250
|
249
|
></el-input肝素>
|
251
|
250
|
</el-form-item>
|
252
|
251
|
</el-col>
|
253
|
|
-
|
|
252
|
+
|
254
|
253
|
<el-col :span="8" v-if="isShows('下机前推注鱼精蛋白') && dialysisPrescription.anticoagulant ==10">
|
255
|
254
|
<el-form-item label="下机前推注鱼精蛋白(mg):" prop="push_the_protamine" :rules="isCheckmust('下机前推注鱼精蛋白')">
|
256
|
255
|
<el-input
|
|
@@ -260,7 +259,7 @@
|
260
|
259
|
</el-col>
|
261
|
260
|
|
262
|
261
|
<el-col :span="8" v-if="isShows('追加肝素量')" >
|
263
|
|
- <el-form-item v-if="dialysisPrescription.anticoagulant == 2"
|
|
262
|
+ <el-form-item v-if="dialysisPrescription.anticoagulant == 2"
|
264
|
263
|
:label="'追加肝素量(mg) : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
|
265
|
264
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
266
|
265
|
v-model="dialysisPrescription.add_amount"></el-input>
|
|
@@ -268,7 +267,7 @@
|
268
|
267
|
v-model="dialysisPrescription.add_amount"></el-input>
|
269
|
268
|
</el-form-item>
|
270
|
269
|
|
271
|
|
- <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1"
|
|
270
|
+ <el-form-item v-if="dialysisPrescription.anticoagulant != 2 && dialysisPrescription.anticoagulant != 1"
|
272
|
271
|
:label="'追加肝素量(' + anticoagulant.shouji_unit + ') : '" prop="add_amount" :rules="isCheckmust('追加肝素量')">
|
273
|
272
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
274
|
273
|
v-model="dialysisPrescription.add_amount"></el-input>
|
|
@@ -276,7 +275,7 @@
|
276
|
275
|
v-model="dialysisPrescription.add_amount"></el-input>
|
277
|
276
|
</el-form-item>
|
278
|
277
|
</el-col>
|
279
|
|
-
|
|
278
|
+
|
280
|
279
|
<el-col :span="8" v-if="isShows('减肝素量')">
|
281
|
280
|
<el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'减肝素量(mg) : '" prop="calculateAnticoagulantZL" :rules="isCheckmust('减肝素量')">
|
282
|
281
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -295,17 +294,17 @@
|
295
|
294
|
</el-col>
|
296
|
295
|
|
297
|
296
|
<el-col :span="8" v-if="anticoagulant!=undefined && anticoagulant.shouji != -1 && isShows('首剂') && dialysisPrescription.anticoagulant!=1 && dialysisPrescription.anticoagulant!=12">
|
298
|
|
- <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 &&
|
299
|
|
- this.$store.getters.xt_user.template_info.template_id != 54 &&
|
300
|
|
- this.$store.getters.xt_user.template_info.org_id != 10340 &&
|
301
|
|
- this.$store.getters.xt_user.template_info.org_id != 10432 &&
|
302
|
|
- this.$store.getters.xt_user.template_info.org_id != 9829 &&
|
303
|
|
- this.$store.getters.xt_user.template_info.org_id != 10440 &&
|
304
|
|
- this.$store.getters.xt_user.template_info.org_id != 10469 &&
|
|
297
|
+ <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 &&
|
|
298
|
+ this.$store.getters.xt_user.template_info.template_id != 54 &&
|
|
299
|
+ this.$store.getters.xt_user.template_info.org_id != 10340 &&
|
|
300
|
+ this.$store.getters.xt_user.template_info.org_id != 10432 &&
|
|
301
|
+ this.$store.getters.xt_user.template_info.org_id != 9829 &&
|
|
302
|
+ this.$store.getters.xt_user.template_info.org_id != 10440 &&
|
|
303
|
+ this.$store.getters.xt_user.template_info.org_id != 10469 &&
|
305
|
304
|
this.$store.getters.xt_user.template_info.org_id != 10471">
|
306
|
|
- <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
|
307
|
|
- this.$store.getters.xt_user.template_info.template_id != 45 &&
|
308
|
|
- this.$store.getters.xt_user.template_info.org_id != 10346 &&
|
|
305
|
+ <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
|
|
306
|
+ this.$store.getters.xt_user.template_info.template_id != 45 &&
|
|
307
|
+ this.$store.getters.xt_user.template_info.org_id != 10346 &&
|
309
|
308
|
this.$store.getters.xt_user.template_info.org_id != 10387">
|
310
|
309
|
<el-form-item
|
311
|
310
|
v-if='dialysisPrescription.anticoagulant != 1 &&
|
|
@@ -314,7 +313,7 @@
|
314
|
313
|
this.$store.getters.xt_user.template_info.template_id != 38 &&
|
315
|
314
|
this.$store.getters.xt_user.template_info.org_id != 9987 &&
|
316
|
315
|
this.$store.getters.xt_user.template_info.org_id!=9990'
|
317
|
|
- :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji"
|
|
316
|
+ :label="'首剂(' + anticoagulant.shouji_unit + ') : '" prop="anticoagulant_shouji"
|
318
|
317
|
:rules="isCheckmust('首剂')">
|
319
|
318
|
|
320
|
319
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -324,32 +323,32 @@
|
324
|
323
|
v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
|
325
|
324
|
</el-form-item>
|
326
|
325
|
|
327
|
|
- <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
|
328
|
|
- this.$store.getters.xt_user.template_info.template_id!=6" :label="'首剂(mg):'"
|
329
|
|
- prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
|
326
|
+ <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant==7 &&
|
|
327
|
+ this.$store.getters.xt_user.template_info.template_id!=6" :label="'首剂(mg):'"
|
|
328
|
+ prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
330
|
329
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
331
|
330
|
v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
|
332
|
331
|
|
333
|
332
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
334
|
333
|
v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
|
335
|
334
|
</el-form-item>
|
336
|
|
- <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 &&
|
337
|
|
- dialysisPrescription.anticoagulant!=7 && this.$store.getters.xt_user.template_info.template_id!=6"
|
338
|
|
- :label="'首剂(iu):'" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
|
335
|
+ <el-form-item v-if="this.$store.getters.xt_user.template_info.org_id == 9990 &&
|
|
336
|
+ dialysisPrescription.anticoagulant!=7 && this.$store.getters.xt_user.template_info.template_id!=6"
|
|
337
|
+ :label="'首剂(iu):'" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
339
|
338
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
340
|
339
|
v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
|
341
|
340
|
|
342
|
341
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
343
|
342
|
v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
|
344
|
343
|
</el-form-item>
|
345
|
|
-
|
|
344
|
+
|
346
|
345
|
<el-form-item
|
347
|
|
- v-if='dialysisPrescription.anticoagulant == 2 &&
|
348
|
|
- this.$store.getters.xt_user.template_info.template_id == 21 ||
|
349
|
|
- this.$store.getters.xt_user.template_info.template_id == 23 ||
|
350
|
|
- this.$store.getters.xt_user.template_info.template_id == 38 ||
|
351
|
|
- this.$store.getters.xt_user.template_info.org_id == 9987 ||
|
352
|
|
- this.$store.getters.xt_user.template_info.org_id == 10346 ||
|
|
346
|
+ v-if='dialysisPrescription.anticoagulant == 2 &&
|
|
347
|
+ this.$store.getters.xt_user.template_info.template_id == 21 ||
|
|
348
|
+ this.$store.getters.xt_user.template_info.template_id == 23 ||
|
|
349
|
+ this.$store.getters.xt_user.template_info.template_id == 38 ||
|
|
350
|
+ this.$store.getters.xt_user.template_info.org_id == 9987 ||
|
|
351
|
+ this.$store.getters.xt_user.template_info.org_id == 10346 ||
|
353
|
352
|
this.$store.getters.xt_user.template_info.org_id == 10387'
|
354
|
353
|
:label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
355
|
354
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -358,7 +357,7 @@
|
358
|
357
|
v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
|
359
|
358
|
</el-form-item>
|
360
|
359
|
|
361
|
|
-
|
|
360
|
+
|
362
|
361
|
|
363
|
362
|
</div>
|
364
|
363
|
|
|
@@ -379,7 +378,7 @@
|
379
|
378
|
</div>
|
380
|
379
|
|
381
|
380
|
<div v-else>
|
382
|
|
-
|
|
381
|
+
|
383
|
382
|
<el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
|
384
|
383
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
385
|
384
|
v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
|
|
@@ -393,8 +392,8 @@
|
393
|
392
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
394
|
393
|
v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
|
395
|
394
|
</el-form-item>
|
396
|
|
-
|
397
|
|
-
|
|
395
|
+
|
|
396
|
+
|
398
|
397
|
</div>
|
399
|
398
|
|
400
|
399
|
</el-col>
|
|
@@ -406,10 +405,10 @@
|
406
|
405
|
<el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
|
407
|
406
|
v-if="anticoagulant.weichi != -1 &&
|
408
|
407
|
this.$store.getters.xt_user.template_info.template_id != 21 &&
|
409
|
|
- this.$store.getters.xt_user.template_info.template_id != 23 &&
|
410
|
|
- this.$store.getters.xt_user.template_info.template_id != 38 &&
|
411
|
|
- this.$store.getters.xt_user.template_info.org_id != 9987 &&
|
412
|
|
- this.$store.getters.xt_user.template_info.org_id != 54 &&
|
|
408
|
+ this.$store.getters.xt_user.template_info.template_id != 23 &&
|
|
409
|
+ this.$store.getters.xt_user.template_info.template_id != 38 &&
|
|
410
|
+ this.$store.getters.xt_user.template_info.org_id != 9987 &&
|
|
411
|
+ this.$store.getters.xt_user.template_info.org_id != 54 &&
|
413
|
412
|
this.$store.getters.xt_user.template_info.org_id != 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
|
414
|
413
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
415
|
414
|
v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
|
|
@@ -417,23 +416,23 @@
|
417
|
416
|
v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
|
418
|
417
|
</el-form-item>
|
419
|
418
|
<el-form-item :label="'维持(mg/h) : '"
|
420
|
|
- v-if="anticoagulant.weichi != -1 &&
|
421
|
|
- this.$store.getters.xt_user.template_info.template_id == 21 ||
|
422
|
|
- this.$store.getters.xt_user.template_info.template_id == 23 ||
|
423
|
|
- this.$store.getters.xt_user.template_info.template_id == 38 ||
|
424
|
|
- this.$store.getters.xt_user.template_info.org_id == 9987 ||
|
425
|
|
- this.$store.getters.xt_user.template_info.org_id == 54 ||
|
426
|
|
- this.$store.getters.xt_user.template_info.org_id == 10346 ||
|
427
|
|
- this.$store.getters.xt_user.template_info.org_id == 10387 ||
|
|
419
|
+ v-if="anticoagulant.weichi != -1 &&
|
|
420
|
+ this.$store.getters.xt_user.template_info.template_id == 21 ||
|
|
421
|
+ this.$store.getters.xt_user.template_info.template_id == 23 ||
|
|
422
|
+ this.$store.getters.xt_user.template_info.template_id == 38 ||
|
|
423
|
+ this.$store.getters.xt_user.template_info.org_id == 9987 ||
|
|
424
|
+ this.$store.getters.xt_user.template_info.org_id == 54 ||
|
|
425
|
+ this.$store.getters.xt_user.template_info.org_id == 10346 ||
|
|
426
|
+ this.$store.getters.xt_user.template_info.org_id == 10387 ||
|
428
|
427
|
this.$store.getters.xt_user.template_info.org_id == 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
|
429
|
428
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
430
|
429
|
v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
|
431
|
430
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
432
|
431
|
v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
|
433
|
432
|
</el-form-item>
|
434
|
|
-
|
435
|
|
-
|
436
|
|
-
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
437
|
436
|
</div>
|
438
|
437
|
<div v-else>
|
439
|
438
|
<el-form-item :label="'维持(iu/h) : '" prop="anticoagulant_weichi" :rules="isCheckmust('维持')"
|
|
@@ -450,22 +449,22 @@
|
450
|
449
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
451
|
450
|
v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
|
452
|
451
|
</el-form-item>
|
453
|
|
-
|
454
|
|
-
|
455
|
|
-
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
456
|
455
|
</div>
|
457
|
456
|
</div>
|
458
|
457
|
|
459
|
458
|
|
460
|
459
|
<div v-else>
|
461
|
|
- <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '"
|
|
460
|
+ <el-form-item v-if="dialysisPrescription.anticoagulant == 2" :label="'维持(mg/h) : '"
|
462
|
461
|
prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
|
463
|
462
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
464
|
463
|
v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
|
465
|
464
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
466
|
465
|
v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
|
467
|
466
|
</el-form-item>
|
468
|
|
- <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else
|
|
467
|
+ <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '" v-else
|
469
|
468
|
prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
|
470
|
469
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
471
|
470
|
v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
|
|
@@ -482,7 +481,7 @@
|
482
|
481
|
<el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
|
483
|
482
|
<div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471">
|
484
|
483
|
<div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
|
485
|
|
- <el-form-item
|
|
484
|
+ <el-form-item
|
486
|
485
|
v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'
|
487
|
486
|
:label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
|
488
|
487
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -490,7 +489,7 @@
|
490
|
489
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
491
|
490
|
v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
|
492
|
491
|
</el-form-item>
|
493
|
|
- <el-form-item
|
|
492
|
+ <el-form-item
|
494
|
493
|
v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38|| this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387'
|
495
|
494
|
:label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
|
496
|
495
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
|
@@ -507,8 +506,8 @@
|
507
|
506
|
<el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
|
508
|
507
|
v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
|
509
|
508
|
</el-form-item>
|
510
|
|
- <el-form-item
|
511
|
|
- v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7"
|
|
509
|
+ <el-form-item
|
|
510
|
+ v-if="this.$store.getters.xt_user.template_info.org_id == 9990 && dialysisPrescription.anticoagulant!=7"
|
512
|
511
|
:label="'总量(iu)'" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
|
513
|
512
|
<el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
|
514
|
513
|
v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
|
|
@@ -551,7 +550,7 @@
|
551
|
550
|
</div>
|
552
|
551
|
|
553
|
552
|
</el-col>
|
554
|
|
-
|
|
553
|
+
|
555
|
554
|
<el-col :span="8"
|
556
|
555
|
v-if="isShows('开药数量')">
|
557
|
556
|
<el-form-item label="开药数量(支):" prop="prescribing_number" :rules="isCheckmust('开药数量')">
|
|
@@ -559,11 +558,11 @@
|
559
|
558
|
</el-form-item>
|
560
|
559
|
</el-col>
|
561
|
560
|
|
562
|
|
-<!-- dialysisPrescription.mode_id -->
|
563
|
|
- <el-col :span="8"
|
|
561
|
+
|
|
562
|
+ <el-col :span="8"
|
564
|
563
|
v-if="isShows('置换量') && ((this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 53)&& this.$store.getters.xt_user.template_info.org_id!=10441)"
|
565
|
564
|
v-show="zhiShow">
|
566
|
|
- <el-form-item label="置换量(ml):" prop="replacement_total" :rules="isSubstitution('置换量')">
|
|
565
|
+ <el-form-item label="置换量(ml):" prop="replacement_total" :rules="isCheckmust('置换量')">
|
567
|
566
|
<el-input
|
568
|
567
|
type="number"
|
569
|
568
|
v-model="dialysisPrescription.replacement_total"
|
|
@@ -572,9 +571,8 @@
|
572
|
571
|
</el-col>
|
573
|
572
|
<el-col :span="8"
|
574
|
573
|
v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 46 && this.$store.getters.xt_user.template_info.template_id != 53) || this.$store.getters.xt_user.template_info.org_id == 10441"
|
575
|
|
- v-show="zhiShow">
|
576
|
|
- <!-- -->
|
577
|
|
- <el-form-item label="置换量(L):" prop="replacement_total" :rules="isSubstitution('置换量')">
|
|
574
|
+ v-show="zhiShow">
|
|
575
|
+ <el-form-item label="置换量(L):" prop="replacement_total" :rules="isCheckmust('置换量')">
|
578
|
576
|
<el-input
|
579
|
577
|
type="number"
|
580
|
578
|
v-model="dialysisPrescription.replacement_total"
|
|
@@ -582,9 +580,9 @@
|
582
|
580
|
</el-form-item>
|
583
|
581
|
</el-col>
|
584
|
582
|
|
585
|
|
-
|
586
|
|
- <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow"><!-- substitution isCheckmust-->
|
587
|
|
- <el-form-item label="置换速度(ml/min)" prop="displace_speed" :rules="isSubstitution('置换速度')">
|
|
583
|
+
|
|
584
|
+ <el-col :span="8" v-if="isShows('置换速度')" v-show="totalShow">
|
|
585
|
+ <el-form-item label="置换速度(ml/min)" prop="displace_speed" :rules="isCheckmust('置换速度')">
|
588
|
586
|
<el-input
|
589
|
587
|
v-model="dialysisPrescription.displace_speed"
|
590
|
588
|
></el-input>
|
|
@@ -606,7 +604,7 @@
|
606
|
604
|
:span="8"
|
607
|
605
|
v-if="isShows('钙剂量')"
|
608
|
606
|
></el-col>
|
609
|
|
-
|
|
607
|
+
|
610
|
608
|
<el-col :span="8" v-if="isShows('钙剂量')" >
|
611
|
609
|
<el-form-item label="钙剂量(ml) : " prop="anticoagulant_gaijiliang" :rules="isCheckmust('钙剂量')">
|
612
|
610
|
<el-input
|
|
@@ -616,7 +614,7 @@
|
616
|
614
|
></el-input>
|
617
|
615
|
</el-form-item>
|
618
|
616
|
</el-col>
|
619
|
|
-
|
|
617
|
+
|
620
|
618
|
<el-col :span="8" v-if="isShows('钾')">
|
621
|
619
|
<el-form-item label="钾(mmol/L): " prop="kalium" :rules="isCheckmust('钾')">
|
622
|
620
|
<el-input
|
|
@@ -687,7 +685,7 @@
|
687
|
685
|
></el-input>
|
688
|
686
|
</el-form-item>
|
689
|
687
|
</el-col>
|
690
|
|
-
|
|
688
|
+
|
691
|
689
|
<el-col :span="8" v-if="isShows('透析器/灌流器')" >
|
692
|
690
|
<el-form-item label="透析器/灌流器" prop="dialyzer_perfusion_apparatus" :rules="isCheckmust('透析器/灌流器')">
|
693
|
691
|
<el-input v-model="dialysisPrescription.dialyzer_perfusion_apparatus"
|
|
@@ -716,8 +714,8 @@
|
716
|
714
|
@focus="showInnerDialog('12')"></el-input>
|
717
|
715
|
</el-form-item>
|
718
|
716
|
</el-col>
|
719
|
|
-
|
720
|
|
- <el-col :span="8" v-if="isShows('血浆分离器')">
|
|
717
|
+
|
|
718
|
+ <el-col :span="8" v-if="isShows('血浆分离器')">
|
721
|
719
|
<el-form-item label="血浆分离器:" prop="plasma_separator" :rules="isCheckmust('血浆分离器')">
|
722
|
720
|
<el-input v-model="dialysisPrescription.plasma_separator"
|
723
|
721
|
@focus="showInnerDialog('9')"></el-input>
|
|
@@ -793,7 +791,6 @@
|
793
|
791
|
prop="displace_liqui_part"
|
794
|
792
|
:rules="isCheckmust('置换液')"
|
795
|
793
|
>
|
796
|
|
- <!-- -->
|
797
|
794
|
<el-select
|
798
|
795
|
v-model="dialysisPrescription.displace_liqui_part"
|
799
|
796
|
placeholder="请选择"
|
|
@@ -897,7 +894,7 @@
|
897
|
894
|
<el-input v-model="dialysisPrescription.amylaceum"></el-input>
|
898
|
895
|
</el-form-item>
|
899
|
896
|
</el-col>
|
900
|
|
-
|
|
897
|
+
|
901
|
898
|
<el-col :span="8" v-if="isShows('吸氧')">
|
902
|
899
|
<el-form-item label="吸氧:" prop="oxygen_uptake" :rules="isCheckmust('吸氧')">
|
903
|
900
|
<el-select v-model="dialysisPrescription.oxygen_uptake" placeholder="请选择"
|
|
@@ -1007,7 +1004,7 @@
|
1007
|
1004
|
|
1008
|
1005
|
|
1009
|
1006
|
</el-row>
|
1010
|
|
-
|
|
1007
|
+
|
1011
|
1008
|
<el-row :gutter="20">
|
1012
|
1009
|
<el-col :span="24" v-if="isShows('透析备注') && (dialysisPrescription.mode_id == 2 || dialysisPrescription.mode_id == 3 || dialysisPrescription.mode_id == 4)">
|
1013
|
1010
|
<el-form-item label="透析备注:" prop="value" :rules="isCheckmust('透析备注')">
|
|
@@ -1045,7 +1042,7 @@
|
1045
|
1042
|
</el-col>
|
1046
|
1043
|
<el-col :span="8" v-if="isShows('开始钠')">
|
1047
|
1044
|
<el-form-item label="开始钠: " prop="start_sodium" :rules="isCheckmust('开始钠')">
|
1048
|
|
- <el-input
|
|
1045
|
+ <el-input
|
1049
|
1046
|
v-model="dialysisPrescription.start_sodium"
|
1050
|
1047
|
:rows="5"
|
1051
|
1048
|
></el-input>
|
|
@@ -1065,7 +1062,7 @@
|
1065
|
1062
|
<el-col :span="8" v-if="isShows('透析液流速')">
|
1066
|
1063
|
<el-form-item label="透析液流速(ml/h):" prop="dialysis_fluid_flow" :rules="isCheckmust('透析液流速')">
|
1067
|
1064
|
<el-input
|
1068
|
|
-
|
|
1065
|
+
|
1069
|
1066
|
v-model="dialysisPrescription.dialysis_fluid_flow"
|
1070
|
1067
|
:rows="5"
|
1071
|
1068
|
></el-input>
|
|
@@ -1106,7 +1103,7 @@
|
1106
|
1103
|
</el-col>
|
1107
|
1104
|
</el-row>
|
1108
|
1105
|
</el-form>
|
1109
|
|
-
|
|
1106
|
+
|
1110
|
1107
|
<span slot="footer" class="dialog-footer">
|
1111
|
1108
|
<el-button @click="handleCancle">取 消</el-button>
|
1112
|
1109
|
<!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
|
|
@@ -1678,9 +1675,8 @@
|
1678
|
1675
|
zongliang:"",
|
1679
|
1676
|
educationList:[],
|
1680
|
1677
|
value:"",
|
1681
|
|
-
|
1682
|
1678
|
}
|
1683
|
|
-
|
|
1679
|
+
|
1684
|
1680
|
},
|
1685
|
1681
|
methods: {
|
1686
|
1682
|
changeOxygenList(val) {
|
|
@@ -1698,7 +1694,7 @@
|
1698
|
1694
|
|
1699
|
1695
|
},
|
1700
|
1696
|
showInnerDialog: function(val) {
|
1701
|
|
-
|
|
1697
|
+
|
1702
|
1698
|
this.InnerDialogProps.visibility = true
|
1703
|
1699
|
switch (val) {
|
1704
|
1700
|
case '5': // 透析器/灌流器
|
|
@@ -1706,7 +1702,7 @@
|
1706
|
1702
|
this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
|
1707
|
1703
|
this.InnerDialogProps.titles = '透析器/灌流器'
|
1708
|
1704
|
this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
|
1709
|
|
-
|
|
1705
|
+
|
1710
|
1706
|
this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus
|
1711
|
1707
|
this.InnerDialogProps.isShowTextArea = false
|
1712
|
1708
|
break
|
|
@@ -1779,7 +1775,7 @@ mu
|
1779
|
1775
|
}
|
1780
|
1776
|
},
|
1781
|
1777
|
innerDialogComfirm: function(val) {
|
1782
|
|
-
|
|
1778
|
+
|
1783
|
1779
|
|
1784
|
1780
|
this.InnerDialogProps.visibility = false
|
1785
|
1781
|
switch (val.type) {
|
|
@@ -1794,21 +1790,21 @@ mu
|
1794
|
1790
|
}
|
1795
|
1791
|
}
|
1796
|
1792
|
}
|
1797
|
|
- }
|
|
1793
|
+ }
|
1798
|
1794
|
if(newArr!=null && newArr.length>0){
|
1799
|
|
-
|
|
1795
|
+
|
1800
|
1796
|
this.dialysisPrescription.dialyzer_perfusion_apparatus = newArr.join(',')
|
1801
|
1797
|
}else{
|
1802
|
1798
|
this.dialysisPrescription.dialyzer_perfusion_apparatus = ""
|
1803
|
1799
|
}
|
1804
|
|
-
|
|
1800
|
+
|
1805
|
1801
|
break
|
1806
|
1802
|
case 'blood':
|
1807
|
|
-
|
|
1803
|
+
|
1808
|
1804
|
this.dialysisPrescription.blood = val.value.join(',')
|
1809
|
1805
|
break
|
1810
|
1806
|
case 'dialyzers':
|
1811
|
|
-
|
|
1807
|
+
|
1812
|
1808
|
var newArr = []
|
1813
|
1809
|
if(this.dialyzers!=null && this.dialyzers.length >0){
|
1814
|
1810
|
for(let i=0;i<this.dialyzers.length;i++){
|
|
@@ -1824,7 +1820,7 @@ mu
|
1824
|
1820
|
}else{
|
1825
|
1821
|
this.dialysisPrescription.dialysis_dialyszers = ""
|
1826
|
1822
|
}
|
1827
|
|
-
|
|
1823
|
+
|
1828
|
1824
|
break
|
1829
|
1825
|
case 'irrigations':
|
1830
|
1826
|
var newArr = []
|
|
@@ -1842,7 +1838,7 @@ mu
|
1842
|
1838
|
}else{
|
1843
|
1839
|
this.dialysisPrescription.dialysis_irrigation = ""
|
1844
|
1840
|
}
|
1845
|
|
-
|
|
1841
|
+
|
1846
|
1842
|
break
|
1847
|
1843
|
case 'plasma_separator':
|
1848
|
1844
|
this.dialysisPrescription.plasma_separator = val.value.join(',')
|
|
@@ -2334,7 +2330,7 @@ mu
|
2334
|
2330
|
}else{
|
2335
|
2331
|
this.dialysisPrescription.admin_user_id = prescription.admin_user_id
|
2336
|
2332
|
}
|
2337
|
|
-
|
|
2333
|
+
|
2338
|
2334
|
this.adminRoles = []
|
2339
|
2335
|
if(admins.length > 0 ){
|
2340
|
2336
|
for(let i=0;i<admins.length;i++){
|
|
@@ -2519,7 +2515,6 @@ mu
|
2519
|
2515
|
this.zhiShow = true
|
2520
|
2516
|
this.huShow = true
|
2521
|
2517
|
this.totalShow = true
|
2522
|
|
-
|
2523
|
2518
|
} else if (
|
2524
|
2519
|
pre.mode_id == 1 ||
|
2525
|
2520
|
pre.mode_id == 3 ||
|
|
@@ -2537,7 +2532,7 @@ mu
|
2537
|
2532
|
this.zhiShow = false
|
2538
|
2533
|
this.huShow = false
|
2539
|
2534
|
this.totalShow = false
|
2540
|
|
-
|
|
2535
|
+
|
2541
|
2536
|
}
|
2542
|
2537
|
this.pre = pre
|
2543
|
2538
|
// console.log("pre1", pre);
|
|
@@ -2565,7 +2560,7 @@ mu
|
2565
|
2560
|
}
|
2566
|
2561
|
}
|
2567
|
2562
|
if (this.predialysis == null || this.predialysis.id == 0) {
|
2568
|
|
-
|
|
2563
|
+
|
2569
|
2564
|
if (last != null) {
|
2570
|
2565
|
|
2571
|
2566
|
this.dialysisPrescription.niprocart = last.niprocart
|
|
@@ -2586,14 +2581,14 @@ mu
|
2586
|
2581
|
if(this.$store.getters.xt_user.template_info.org_id!=10013 && this.$store.getters.xt_user.template_info.org_id!=10014){
|
2587
|
2582
|
this.remark = last.remark
|
2588
|
2583
|
}
|
2589
|
|
-
|
|
2584
|
+
|
2590
|
2585
|
weight_before = 0
|
2591
|
2586
|
|
2592
|
2587
|
}
|
2593
|
2588
|
|
2594
|
2589
|
} else {
|
2595
|
2590
|
weight_before = this.predialysis.weight_before
|
2596
|
|
-
|
|
2591
|
+
|
2597
|
2592
|
}
|
2598
|
2593
|
|
2599
|
2594
|
|
|
@@ -2625,7 +2620,7 @@ mu
|
2625
|
2620
|
if(moment().weekday() == 6){
|
2626
|
2621
|
total_day ="周六"
|
2627
|
2622
|
}
|
2628
|
|
- if(moment().weekday() == 7){
|
|
2623
|
+ if(moment().weekday() == 0){
|
2629
|
2624
|
total_day ="周日"
|
2630
|
2625
|
}
|
2631
|
2626
|
console.log("---------",this.targetAdvices)
|
|
@@ -2637,7 +2632,7 @@ mu
|
2637
|
2632
|
}
|
2638
|
2633
|
}
|
2639
|
2634
|
for (let i = 0; i < this.targetAdvices.length; i++) {
|
2640
|
|
-
|
|
2635
|
+
|
2641
|
2636
|
if (this.targetAdvices[i].isCheck == 1) {
|
2642
|
2637
|
this.checkedCities.push(this.targetAdvices[i].id)
|
2643
|
2638
|
}
|
|
@@ -2714,27 +2709,27 @@ mu
|
2714
|
2709
|
this.dialysisPrescription.displace_liqui_part == 0 ||
|
2715
|
2710
|
this.dialysisPrescription.displace_liqui_part == -2 ||
|
2716
|
2711
|
this.dialysisPrescription.displace_liqui_value == 0 ||
|
2717
|
|
- this.dialysisPrescription.displace_liqui_value == ''
|
|
2712
|
+ this.dialysisPrescription.displace_liqui_value == ''
|
2718
|
2713
|
|| this.dialysisPrescription.replacement_total == 0 ||
|
2719
|
2714
|
this.dialysisPrescription.replacement_total == '' ||
|
2720
|
2715
|
this.dialysisPrescription.displace_speed == 0 ||
|
2721
|
|
- this.dialysisPrescription.displace_speed == ''
|
|
2716
|
+ this.dialysisPrescription.displace_speed == ''
|
2722
|
2717
|
) {
|
2723
|
2718
|
this.$message.error('HDF模式下置换液和置换液总量不能为空!')
|
2724
|
2719
|
return
|
2725
|
2720
|
}
|
2726
|
2721
|
}
|
2727
|
|
-
|
|
2722
|
+
|
2728
|
2723
|
}
|
2729
|
2724
|
if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
|
2730
|
2725
|
this.dialysisPrescription.displace_liqui_part = 0
|
2731
|
2726
|
this.dialysisPrescription.displace_liqui_value = 0
|
2732
|
2727
|
this.dialysisPrescription.replacement_total = 0
|
2733
|
|
- this.dialysisPrescription.displace_speed = 0
|
|
2728
|
+ this.dialysisPrescription.displace_speed = 0
|
2734
|
2729
|
console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
|
2735
|
2730
|
console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
|
2736
|
|
-
|
2737
|
|
- }
|
|
2731
|
+
|
|
2732
|
+ }
|
2738
|
2733
|
|
2739
|
2734
|
this.is_pre = 1
|
2740
|
2735
|
|
|
@@ -3203,7 +3198,7 @@ mu
|
3203
|
3198
|
return false;
|
3204
|
3199
|
}
|
3205
|
3200
|
})
|
3206
|
|
-
|
|
3201
|
+
|
3207
|
3202
|
},
|
3208
|
3203
|
handleCancle: function() {
|
3209
|
3204
|
this.hide()
|
|
@@ -3223,31 +3218,31 @@ mu
|
3223
|
3218
|
this.dialysisPrescription.displace_liqui_part == 0 ||
|
3224
|
3219
|
this.dialysisPrescription.displace_liqui_part == -2 ||
|
3225
|
3220
|
this.dialysisPrescription.displace_liqui_value == 0 ||
|
3226
|
|
- this.dialysisPrescription.displace_liqui_value == ''
|
|
3221
|
+ this.dialysisPrescription.displace_liqui_value == ''
|
3227
|
3222
|
|| this.dialysisPrescription.replacement_total == 0 ||
|
3228
|
3223
|
this.dialysisPrescription.replacement_total == ''||
|
3229
|
3224
|
this.dialysisPrescription.displace_speed == 0 ||
|
3230
|
|
- this.dialysisPrescription.displace_speed == ''
|
|
3225
|
+ this.dialysisPrescription.displace_speed == ''
|
3231
|
3226
|
) {
|
3232
|
3227
|
this.$message.error('HDF模式下置换液和置换液总量不能为空!')
|
3233
|
3228
|
return
|
3234
|
3229
|
}
|
3235
|
3230
|
}
|
3236
|
3231
|
if(this.dialysisPrescription.mode_id!=2 && this.dialysisPrescription.mode_id!=5 && this.dialysisPrescription.mode_id!=12){
|
3237
|
|
- this.dialysisPrescription.displace_liqui_part == 0
|
|
3232
|
+ this.dialysisPrescription.displace_liqui_part == 0
|
3238
|
3233
|
this.dialysisPrescription.displace_liqui_value == 0
|
3239
|
3234
|
this.dialysisPrescription.replacement_total == 0
|
3240
|
|
- this.dialysisPrescription.displace_speed == 0
|
|
3235
|
+ this.dialysisPrescription.displace_speed == 0
|
3241
|
3236
|
console.log('this.dialysisPrescription.displace_liqui_part',this.dialysisPrescription.displace_liqui_part);
|
3242
|
3237
|
console.log('this.dialysisPrescription.replacement_total',this.dialysisPrescription.replacement_total);
|
3243
|
|
- // this.dialysisPrescription.displace_liqui_part = 0
|
|
3238
|
+ // this.dialysisPrescription.displace_liqui_part = 0
|
3244
|
3239
|
// this.dialysisPrescription.displace_liqui_value = 0
|
3245
|
3240
|
// this.dialysisPrescription.replacement_total = 0
|
3246
|
|
- // this.dialysisPrescription.displace_speed = 0
|
|
3241
|
+ // this.dialysisPrescription.displace_speed = 0
|
3247
|
3242
|
}
|
3248
|
3243
|
}
|
3249
|
3244
|
|
3250
|
|
- this.is_pre = 2
|
|
3245
|
+ this.is_pre = 2
|
3251
|
3246
|
|
3252
|
3247
|
if (this.prescription.id == 0) {
|
3253
|
3248
|
if (this.is_open == 0) {
|
|
@@ -3754,10 +3749,8 @@ mu
|
3754
|
3749
|
var filedList = store.getters.xt_user.fileds
|
3755
|
3750
|
for (let i = 0; i < filedList.length; i++) {
|
3756
|
3751
|
if (filedList[i].module == 1 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
|
3757
|
|
-
|
3758
|
3752
|
return true
|
3759
|
3753
|
}
|
3760
|
|
-
|
3761
|
3754
|
}
|
3762
|
3755
|
return false
|
3763
|
3756
|
},
|
|
@@ -3785,7 +3778,7 @@ mu
|
3785
|
3778
|
];
|
3786
|
3779
|
}
|
3787
|
3780
|
return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
|
3788
|
|
-
|
|
3781
|
+
|
3789
|
3782
|
}
|
3790
|
3783
|
}
|
3791
|
3784
|
},
|
|
@@ -3800,7 +3793,7 @@ mu
|
3800
|
3793
|
filedList[i].is_show == 1
|
3801
|
3794
|
) {
|
3802
|
3795
|
return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
|
3803
|
|
-
|
|
3796
|
+
|
3804
|
3797
|
}
|
3805
|
3798
|
}
|
3806
|
3799
|
},
|
|
@@ -3826,13 +3819,13 @@ mu
|
3826
|
3819
|
];
|
3827
|
3820
|
}
|
3828
|
3821
|
return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
|
3829
|
|
-
|
|
3822
|
+
|
3830
|
3823
|
}
|
3831
|
3824
|
}
|
3832
|
3825
|
}else{
|
3833
|
3826
|
return [{required: false}]
|
3834
|
3827
|
}
|
3835
|
|
-
|
|
3828
|
+
|
3836
|
3829
|
},
|
3837
|
3830
|
|
3838
|
3831
|
getDoctorName(doctor_id) {
|
|
@@ -3932,7 +3925,7 @@ mu
|
3932
|
3925
|
this.dialysisPrescription.replacement_total = ""
|
3933
|
3926
|
this.dialysisPrescription.displace_speed = ""
|
3934
|
3927
|
}
|
3935
|
|
-
|
|
3928
|
+
|
3936
|
3929
|
const ParamsQuery = {}
|
3937
|
3930
|
ParamsQuery['patient_id'] = this.$route.query.patient_id
|
3938
|
3931
|
ParamsQuery['mode_id'] = id
|
|
@@ -3944,7 +3937,7 @@ mu
|
3944
|
3937
|
console.log('切换数据', response.data.data.solution)
|
3945
|
3938
|
this.$message.success('切换成功')
|
3946
|
3939
|
console.log("dialysisPrescription",response.data.data.dialysisPrescription)
|
3947
|
|
-
|
|
3940
|
+
|
3948
|
3941
|
if (response.data.data.solution != null) {
|
3949
|
3942
|
for (const key in response.data.data.solution) {
|
3950
|
3943
|
// 长期处方不为空
|
|
@@ -4008,7 +4001,7 @@ mu
|
4008
|
4001
|
}
|
4009
|
4002
|
|
4010
|
4003
|
if(response.data.data.dialysisPrescription!=null){
|
4011
|
|
- this.dialysisPrescription.remark = response.data.data.dialysisPrescription.remark
|
|
4004
|
+ this.dialysisPrescription.remark = response.data.data.dialysisPrescription.remark
|
4012
|
4005
|
}
|
4013
|
4006
|
}
|
4014
|
4007
|
if (response.data.data.solution == null) {
|
|
@@ -4250,12 +4243,12 @@ mu
|
4250
|
4243
|
if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
|
4251
|
4244
|
this.dialysisPrescription.anticoagulant_zongliang = ''
|
4252
|
4245
|
}
|
4253
|
|
-
|
|
4246
|
+
|
4254
|
4247
|
if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
|
4255
|
4248
|
this.dialysisPrescription.anticoagulant_zongliang = ""
|
4256
|
4249
|
this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
4257
|
4250
|
}
|
4258
|
|
-
|
|
4251
|
+
|
4259
|
4252
|
},
|
4260
|
4253
|
'dialysisPrescription.anticoagulant_weichi': function() {
|
4261
|
4254
|
let dialysis_duration_minute = 0
|
|
@@ -4287,10 +4280,10 @@ mu
|
4287
|
4280
|
this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
4288
|
4281
|
}
|
4289
|
4282
|
this.zongliang = this.dialysisPrescription.anticoagulant_zongliang
|
4290
|
|
-
|
|
4283
|
+
|
4291
|
4284
|
},
|
4292
|
|
-
|
4293
|
|
-
|
|
4285
|
+
|
|
4286
|
+
|
4294
|
4287
|
'prescription.id': {
|
4295
|
4288
|
immediate: true,
|
4296
|
4289
|
deep: true,
|
|
@@ -4678,12 +4671,12 @@ mu
|
4678
|
4671
|
if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
|
4679
|
4672
|
this.dialysisPrescription.anticoagulant_zongliang = ''
|
4680
|
4673
|
}
|
4681
|
|
-
|
|
4674
|
+
|
4682
|
4675
|
if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
|
4683
|
4676
|
this.dialysisPrescription.anticoagulant_zongliang = ""
|
4684
|
4677
|
this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
4685
|
4678
|
}
|
4686
|
|
-
|
|
4679
|
+
|
4687
|
4680
|
},
|
4688
|
4681
|
'dialysisPrescription.reduce_amount': function() {
|
4689
|
4682
|
let dialysis_duration_minute = 0
|
|
@@ -4717,12 +4710,12 @@ mu
|
4717
|
4710
|
if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
|
4718
|
4711
|
this.dialysisPrescription.anticoagulant_zongliang = ''
|
4719
|
4712
|
}
|
4720
|
|
-
|
|
4713
|
+
|
4721
|
4714
|
if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
|
4722
|
4715
|
this.dialysisPrescription.anticoagulant_zongliang = ""
|
4723
|
4716
|
this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
|
4724
|
4717
|
}
|
4725
|
|
-
|
|
4718
|
+
|
4726
|
4719
|
},
|
4727
|
4720
|
stockType: function() {
|
4728
|
4721
|
console.log('stockType', this.stockType)
|
|
@@ -4756,16 +4749,16 @@ mu
|
4756
|
4749
|
}
|
4757
|
4750
|
}
|
4758
|
4751
|
this.irrigations = irrigation
|
4759
|
|
-
|
|
4752
|
+
|
4760
|
4753
|
for(let i=0;i<arrThree.length;i++){
|
4761
|
4754
|
for (let j = 0; j < arrThree[i].GoodInfo.length; j++) {
|
4762
|
4755
|
dialysis_strainer.push(arrThree[i].GoodInfo[j])
|
4763
|
4756
|
}
|
4764
|
4757
|
}
|
4765
|
|
-
|
|
4758
|
+
|
4766
|
4759
|
this.dialysisStrainerList = dialysis_strainer
|
4767
|
4760
|
},
|
4768
|
|
-
|
|
4761
|
+
|
4769
|
4762
|
admin_user_id:function(){
|
4770
|
4763
|
console.log("处方医生",this.admins)
|
4771
|
4764
|
if(this.admins.length > 0 ){
|
|
@@ -4777,6 +4770,7 @@ mu
|
4777
|
4770
|
}
|
4778
|
4771
|
},
|
4779
|
4772
|
created() {
|
|
4773
|
+ console.log('weretrertf',this.dialysisPrescription.sodium);
|
4780
|
4774
|
console.log("schedual232323323232323232",this.adminRoles)
|
4781
|
4775
|
this.illnessList = getDataConfig('hemodialysis', 'illness')
|
4782
|
4776
|
|
|
@@ -4784,7 +4778,7 @@ mu
|
4784
|
4778
|
|
4785
|
4779
|
this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
|
4786
|
4780
|
|
4787
|
|
-
|
|
4781
|
+
|
4788
|
4782
|
this.educationList = getDataConfig('dialysis_remark', 'dialysis_remark')
|
4789
|
4783
|
console.log("透析准备232323232323wo",this.educationList)
|
4790
|
4784
|
}
|