This commit is contained in:
2025-08-08 17:36:23 +08:00
parent 613ed5173c
commit 181a98c157
4 changed files with 195 additions and 58 deletions

View File

@@ -850,30 +850,30 @@ export default {
this.record = {
information: data.information
? data.information
: recordData.information,
: this.recordData.information,
chiefComplaint: data.chiefComplaint
? data.chiefComplaint
: recordData.chiefComplaint,
: this.recordData.chiefComplaint,
historyOfPresentIllness: data.historyOfPresentIllness
? data.historyOfPresentIllness
: recordData.historyOfPresentIllness,
: this.recordData.historyOfPresentIllness,
pastHistory: data.pastHistory
? data.pastHistory
: recordData.pastHistory,
: this.recordData.pastHistory,
personalAndFamilyHistory: data.personalAndFamilyHistory
? data.personalAndFamilyHistory
: recordData.personalAndFamilyHistory,
: this.recordData.personalAndFamilyHistory,
physicaExamination: data.physicaExamination
? data.physicaExamination
: recordData.physicaExamination,
diagnosis: data.diagnosis ? data.diagnosis : recordData.diagnosis,
: this.recordData.physicaExamination,
diagnosis: data.diagnosis ? data.diagnosis : this.recordData.diagnosis,
treatmentPlan: data.treatmentPlan
? data.treatmentPlan
: recordData.treatmentPlan,
: this.recordData.treatmentPlan,
other: data.other
? data.other
: recordData.other,
: this.recordData.other,
};
for (const key in this.record) {
this.$set(this.editableMap, key, this.getInnerHtml(this.record[key]));