|
@@ -676,6 +676,48 @@
|
676
|
676
|
if(this.form.dean == ""){
|
677
|
677
|
this.form.dean = 0
|
678
|
678
|
}
|
|
679
|
+
|
|
680
|
+ var main_content = ""
|
|
681
|
+ var patient_case = ""
|
|
682
|
+ var tentative_diagnosis = ""
|
|
683
|
+ var diagnostic_basis = ""
|
|
684
|
+ var differential_diagnosis = ""
|
|
685
|
+ var treatment_plan = ""
|
|
686
|
+ if(this.$refs.editorTen.content == ""){
|
|
687
|
+ main_content = this.hosDetail.content
|
|
688
|
+ }else{
|
|
689
|
+ main_content = this.$refs.editorTen.content
|
|
690
|
+ }
|
|
691
|
+
|
|
692
|
+ if(this.$refs.editorTenOne.content == ""){
|
|
693
|
+ patient_case = this.hosDetail.patient_case
|
|
694
|
+ }else{
|
|
695
|
+ patient_case = this.$refs.editorTenOne.conten
|
|
696
|
+ }
|
|
697
|
+
|
|
698
|
+ if(this.$refs.editorTenTwo.content == ""){
|
|
699
|
+ tentative_diagnosis = this.hosDetail.tentative_diagnosis
|
|
700
|
+ }else{
|
|
701
|
+ tentative_diagnosis = this.$refs.editorTenTwo.content
|
|
702
|
+ }
|
|
703
|
+
|
|
704
|
+ if(this.$refs.editorTenThree.content == ""){
|
|
705
|
+ diagnostic_basis = this.hosDetail.diagnostic_basis
|
|
706
|
+ }else{
|
|
707
|
+ diagnostic_basis = this.$refs.editorTenThree.content
|
|
708
|
+ }
|
|
709
|
+
|
|
710
|
+ if(this.$refs.editorTenFour.content == ""){
|
|
711
|
+ differential_diagnosis = this.hosDetail.differential_diagnosis
|
|
712
|
+ }else{
|
|
713
|
+ differential_diagnosis = this.$refs.editorTenFour.content
|
|
714
|
+ }
|
|
715
|
+
|
|
716
|
+ if(this.$refs.editorTenFive.content == ""){
|
|
717
|
+ treatment_plan = this.hosDetail.treatment_plan
|
|
718
|
+ }else{
|
|
719
|
+ treatment_plan = this.hosDetail.treatment_plan
|
|
720
|
+ }
|
679
|
721
|
|
680
|
722
|
var params = {
|
681
|
723
|
id:this.form.id,
|
|
@@ -683,12 +725,12 @@
|
683
|
725
|
title:this.form.title,
|
684
|
726
|
doctor:this.form.doctor,
|
685
|
727
|
record_date:this.form.record_date,
|
686
|
|
- main_content:this.$refs.editorTen.content,
|
687
|
|
- patient_case:this.$refs.editorTenOne.content,
|
688
|
|
- tentative_diagnosis:this.$refs.editorTenTwo.content,
|
689
|
|
- diagnostic_basis:this.$refs.editorTenThree.content,
|
690
|
|
- differential_diagnosis:this.$refs.editorTenFour.content,
|
691
|
|
- treatment_plan:this.$refs.editorTenFive.content,
|
|
728
|
+ main_content:main_content,
|
|
729
|
+ patient_case:patient_case,
|
|
730
|
+ tentative_diagnosis:tentative_diagnosis,
|
|
731
|
+ diagnostic_basis:diagnostic_basis,
|
|
732
|
+ differential_diagnosis:differential_diagnosis,
|
|
733
|
+ treatment_plan:treatment_plan,
|
692
|
734
|
}
|
693
|
735
|
console.log("poarams2323322323",params)
|
694
|
736
|
updateFirstDisease(params).then(response=>{
|