- 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
25 lines
441 B
TypeScript
25 lines
441 B
TypeScript
// 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,
|
|
})
|