feat: Implement encounter add/edit forms for inpatient, outpatient, and emergency features, and remove outdated documentation.

This commit is contained in:
riefive
2025-12-02 12:09:48 +07:00
parent cfecd72d49
commit 4df67ed979
13 changed files with 19 additions and 3232 deletions
+10 -1
View File
@@ -137,9 +137,18 @@ watch(
},
)
watch(
() => props.id,
async (newId) => {
if (props.formType === 'edit' && newId > 0) {
await getFetchEncounterDetail()
}
},
)
onMounted(async () => {
await handleInit()
if (props.id > 0) {
if (props.formType === 'edit' && props.id > 0) {
await getFetchEncounterDetail()
}
})