feat(unit-position): implement crud operations and update ui components

- 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
This commit is contained in:
Khafid Prayoga
2025-10-30 12:14:32 +07:00
parent 59f1def565
commit 1dc42be406
8 changed files with 153 additions and 58 deletions
+3
View File
@@ -1,4 +1,5 @@
import { type Base, genBase } from './_base'
import type { Employee } from './employee'
export interface UnitPosition extends Base {
unit_id: number
@@ -6,6 +7,8 @@ export interface UnitPosition extends Base {
name: string
headStatus?: boolean
employee_id?: number
employee?: Employee | null
}
export function genUnitPosition(): UnitPosition {