feat(subspecialist): add detail view and position management
- Implement detail view for subspecialist with specialist relation - Add position management functionality including CRUD operations - Create new components for detail display and position listing - Update service to handle position-related requests - Include employee selection for position assignments
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { type Base, genBase } from "./_base"
|
||||
|
||||
import { type Base, genBase } from './_base'
|
||||
import { type Specialist } from './specialist'
|
||||
export interface Subspecialist extends Base {
|
||||
code: string
|
||||
name: string
|
||||
specialist_id?: number | string | null
|
||||
|
||||
specialist?: Specialist | null
|
||||
}
|
||||
|
||||
export function genSubspecialist(): Subspecialist {
|
||||
@@ -11,6 +13,6 @@ export function genSubspecialist(): Subspecialist {
|
||||
...genBase(),
|
||||
code: '',
|
||||
name: '',
|
||||
specialist_id: 0
|
||||
specialist_id: 0,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user