|
@@ -354,6 +354,9 @@ export default {
|
354
|
354
|
this.textarea = '1.开始' + this.modeId + '治疗' + '\n' +
|
355
|
355
|
'2.结束' + this.modeId + '治疗' + '\n' +
|
356
|
356
|
'3.患者离开血透室'
|
|
357
|
+ let str = this.textarea
|
|
358
|
+ this.doctor = []
|
|
359
|
+ this.doctor.push(this.textarea)
|
357
|
360
|
}
|
358
|
361
|
},
|
359
|
362
|
methods:{
|
|
@@ -458,15 +461,19 @@ export default {
|
458
|
461
|
item.single_dose + item.single_dose_unit + ' ' + item.delivery_way + item.execution_frequency + item.remark
|
459
|
462
|
arr.push(str)
|
460
|
463
|
})
|
461
|
|
- this.textarea = ''
|
462
|
|
- arr.map(item => {
|
463
|
|
- this.textarea += item + "\n"
|
464
|
|
- })
|
|
464
|
+ this.doctor = arr
|
|
465
|
+ // this.textarea = ''
|
|
466
|
+ // arr.map(item => {
|
|
467
|
+ // this.textarea += item + "\n"
|
|
468
|
+ // })
|
465
|
469
|
}else if(this.doctor_advices.length == 0){
|
466
|
470
|
this.textarea = ''
|
467
|
471
|
this.textarea = '1.开始' + this.modeId + '治疗' + '\n' +
|
468
|
472
|
'2.结束' + this.modeId + '治疗' + '\n' +
|
469
|
473
|
'3.患者离开血透室'
|
|
474
|
+ let str = this.textarea
|
|
475
|
+ this.doctor = []
|
|
476
|
+ this.doctor.push(this.textarea)
|
470
|
477
|
}
|
471
|
478
|
}
|
472
|
479
|
},
|
|
@@ -475,6 +482,29 @@ export default {
|
475
|
482
|
if(this.prescription.mode_id){
|
476
|
483
|
this.modeId = this.getMode(this.prescription.mode_id)
|
477
|
484
|
}
|
|
485
|
+ if(this.doctor_advices.length > 0){
|
|
486
|
+ let str = ''
|
|
487
|
+ let arr = []
|
|
488
|
+ this.advices = this.doctor_advices
|
|
489
|
+ this.advices.map(item => {
|
|
490
|
+ str = item.advice_name + (item.advice_desc ? ('(' + item.advice_desc + item.drug_spec_unit + ')') : '' ) + ' ' + item.prescribing_number + item.prescribing_number_unit + ' ' +
|
|
491
|
+ item.single_dose + item.single_dose_unit + ' ' + item.delivery_way + item.execution_frequency + item.remark
|
|
492
|
+ arr.push(str)
|
|
493
|
+ })
|
|
494
|
+ this.doctor = arr
|
|
495
|
+ // this.textarea = ''
|
|
496
|
+ // arr.map(item => {
|
|
497
|
+ // this.textarea += item + "\n"
|
|
498
|
+ // })
|
|
499
|
+ }else if(this.doctor_advices.length == 0){
|
|
500
|
+ this.textarea = ''
|
|
501
|
+ this.textarea = '1.开始' + this.modeId + '治疗' + '\n' +
|
|
502
|
+ '2.结束' + this.modeId + '治疗' + '\n' +
|
|
503
|
+ '3.患者离开血透室'
|
|
504
|
+ let str = this.textarea
|
|
505
|
+ this.doctor = []
|
|
506
|
+ this.doctor.push(this.textarea)
|
|
507
|
+ }
|
478
|
508
|
}
|
479
|
509
|
},
|
480
|
510
|
deep:true,
|