feat: Add encounter list page with filter form and document upload functionality.
This commit is contained in:
@@ -244,6 +244,16 @@ function handleFilterApply(filters: { personName: string; startDate: string; end
|
||||
getPatientList()
|
||||
}
|
||||
|
||||
function handleFilterReset() {
|
||||
filterParams.value = {}
|
||||
getPatientList()
|
||||
}
|
||||
|
||||
function handleFilterSearch(filters: any) {
|
||||
filterParams.value = { ...filterParams.value, ...filters }
|
||||
getPatientList()
|
||||
}
|
||||
|
||||
// Handle confirmation result
|
||||
async function handleConfirmCancel(record: any, action: string) {
|
||||
if (action === 'deactivate' && record?.id) {
|
||||
@@ -363,6 +373,8 @@ function handleRemoveConfirmation() {
|
||||
:payments="payments"
|
||||
:units="units"
|
||||
:visits="visits"
|
||||
@search="handleFilterSearch"
|
||||
@reset="handleFilterReset"
|
||||
/>
|
||||
</Dialog>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user