update summary & layout

This commit is contained in:
Warunee Tamkoo 2024-02-08 12:10:34 +07:00
parent c26efe6c21
commit 6e6e0d2cf9
6 changed files with 130 additions and 21 deletions

View file

@ -72,8 +72,13 @@ interface DataTree {
totalPositionCurrentVacant: number;
totalPositionNextUse: number;
totalPositionNextVacant: number;
totalRootPosition: number;
totalRootPositionCurrentUse: number;
totalRootPositionCurrentVacant: number;
totalRootPositionNextUse: number;
totalRootPositionNextVacant: number;
children?: DataTree[];
}
export type { DataPosition, Position, FormDetailPosition, DataTree };

View file

@ -13,6 +13,11 @@ interface SumPosition {
totalPositionCurrentVacant: number;
totalPositionNextUse: number;
totalPositionNextVacant: number;
totalRootPosition: number;
totalRootPositionCurrentUse: number;
totalRootPositionCurrentVacant: number;
totalRootPositionNextUse: number;
totalRootPositionNextVacant: number;
}
interface OrgTree {