|
@@ -209,7 +209,7 @@ export default {
|
209
|
209
|
admin_users:Array,
|
210
|
210
|
dialysis_order:Object,
|
211
|
211
|
double_check:Object,
|
212
|
|
- selected_date:Number
|
|
212
|
+ selected_date:Date
|
213
|
213
|
},
|
214
|
214
|
data(){
|
215
|
215
|
return{
|
|
@@ -257,8 +257,6 @@ export default {
|
257
|
257
|
this.dialysis_order = this.dialysis_order
|
258
|
258
|
this.double_check = this.double_check
|
259
|
259
|
this.getUpdate()
|
260
|
|
- console.log(999999999,this.selected_date.getTime() / 1000)
|
261
|
|
-
|
262
|
260
|
},
|
263
|
261
|
methods:{
|
264
|
262
|
chooseDay(day) {
|
|
@@ -274,6 +272,16 @@ export default {
|
274
|
272
|
})
|
275
|
273
|
return name
|
276
|
274
|
},
|
|
275
|
+ getAnticoagulant(id){
|
|
276
|
+ let name = ''
|
|
277
|
+ this.anticoagulants_confit = Object.values(this.$store.getters.anticoagulants_confit)
|
|
278
|
+ this.anticoagulants_confit.map(item => {
|
|
279
|
+ if(item.id == id){
|
|
280
|
+ name = item.name
|
|
281
|
+ }
|
|
282
|
+ })
|
|
283
|
+ return name
|
|
284
|
+ },
|
277
|
285
|
getBloodAccessPartOpera(id){
|
278
|
286
|
let name = ''
|
279
|
287
|
this.blood_access_part_opera = getDataConfig('hemodialysis', 'vascular_access_desc')
|
|
@@ -312,7 +320,7 @@ export default {
|
312
|
320
|
this.form.blood_flow_volume = ''
|
313
|
321
|
}
|
314
|
322
|
|
315
|
|
- this.form.anticoagulant = this.prescription.anticoagulant
|
|
323
|
+ this.form.anticoagulant = this.getAnticoagulant(this.prescription.anticoagulant)
|
316
|
324
|
this.form.anticoagulant_shouji = this.prescription.anticoagulant_shouji
|
317
|
325
|
this.form.anticoagulant_weichi = this.prescription.anticoagulant_weichi
|
318
|
326
|
this.form.mode_id = this.getMode(this.form.mode_id)
|
|
@@ -342,49 +350,41 @@ export default {
|
342
|
350
|
watch:{
|
343
|
351
|
prescription:{
|
344
|
352
|
handler:function(val) {
|
345
|
|
- console.log("处方",val)
|
346
|
353
|
this.getUpdate()
|
347
|
354
|
}
|
348
|
355
|
},
|
349
|
356
|
predialysis_evaluation:{
|
350
|
357
|
handler:function(val) {
|
351
|
|
- console.log("处方",val)
|
352
|
358
|
this.getUpdate()
|
353
|
359
|
}
|
354
|
360
|
},
|
355
|
361
|
assessment_after_dislysis:{
|
356
|
362
|
handler:function(val) {
|
357
|
|
- console.log("处方",val)
|
358
|
363
|
this.getUpdate()
|
359
|
364
|
}
|
360
|
365
|
},
|
361
|
366
|
patient:{
|
362
|
367
|
handler:function(val) {
|
363
|
|
- console.log("处方",val)
|
364
|
368
|
this.getUpdate()
|
365
|
369
|
}
|
366
|
370
|
},
|
367
|
371
|
monitor_records:{
|
368
|
372
|
handler:function(val) {
|
369
|
|
- console.log("处方",val)
|
370
|
373
|
this.getUpdate()
|
371
|
374
|
}
|
372
|
375
|
},
|
373
|
376
|
admin_users:{
|
374
|
377
|
handler:function(val) {
|
375
|
|
- console.log("处方",val)
|
376
|
378
|
this.getUpdate()
|
377
|
379
|
}
|
378
|
380
|
},
|
379
|
381
|
dialysis_order:{
|
380
|
382
|
handler:function(val) {
|
381
|
|
- console.log("处方",val)
|
382
|
383
|
this.getUpdate()
|
383
|
384
|
}
|
384
|
385
|
},
|
385
|
386
|
double_check:{
|
386
|
387
|
handler:function(val) {
|
387
|
|
- console.log("处方",val)
|
388
|
388
|
this.getUpdate()
|
389
|
389
|
}
|
390
|
390
|
},
|