feat(medical-action): implement medical action source management

- Add medical action source list component with pagination and search
- Create CRUD operations for medical action source
- Implement form entry and validation for medical action source
- Add confirmation dialog for delete operations
This commit is contained in:
Khafid Prayoga
2025-10-17 13:20:29 +07:00
parent 7ed5177127
commit 2b8bf55e8a
8 changed files with 462 additions and 1 deletions
@@ -0,0 +1,24 @@
// Handlers
import { genCrudHandler } from '~/handlers/_handler'
// Services
import { create, update, remove } from '~/services/medical-action-src.service'
export const {
recId,
recAction,
recItem,
isReadonly,
isProcessing,
isFormEntryDialogOpen,
isRecordConfirmationOpen,
onResetState,
handleActionSave,
handleActionEdit,
handleActionRemove,
handleCancelForm,
} = genCrudHandler({
create,
update,
remove,
})