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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user