feat(unit): add unit detail page with position management
- Create new unit detail page with route and navigation - Add unit detail component to display basic unit information - Implement position list management with pagination and actions - Include position creation, editing and deletion functionality - Update unit model to include installation relationship
This commit is contained in:
+4
-2
@@ -1,9 +1,11 @@
|
||||
import { type Base, genBase } from "./_base"
|
||||
|
||||
import { type Base, genBase } from './_base'
|
||||
import { type Installation } from '~/models/installation'
|
||||
export interface Unit extends Base {
|
||||
code: string
|
||||
name: string
|
||||
installation_id?: number | string | null
|
||||
|
||||
installation?: Installation
|
||||
}
|
||||
|
||||
export function genUnit(): Unit {
|
||||
|
||||
Reference in New Issue
Block a user