- Add new handler, service, and schema files for unit-position - Update list configuration and entry form components - Modify page title and integrate employee relation - Implement CRUD operations with proper validation
25 lines
436 B
TypeScript
25 lines
436 B
TypeScript
// Handlers
|
|
import { genCrudHandler } from '~/handlers/_handler'
|
|
|
|
// Services
|
|
import { create, update, remove } from '~/services/unit-position.service'
|
|
|
|
export const {
|
|
recId,
|
|
recAction,
|
|
recItem,
|
|
isReadonly,
|
|
isProcessing,
|
|
isFormEntryDialogOpen,
|
|
isRecordConfirmationOpen,
|
|
onResetState,
|
|
handleActionSave,
|
|
handleActionEdit,
|
|
handleActionRemove,
|
|
handleCancelForm,
|
|
} = genCrudHandler({
|
|
create,
|
|
update,
|
|
remove,
|
|
})
|