refactor: เป้าหมาย
This commit is contained in:
parent
ec36ffe6ba
commit
0dfe2f5e13
3 changed files with 65 additions and 25 deletions
|
|
@ -20,7 +20,25 @@ interface FormGroupTarget {
|
|||
position: string;
|
||||
posType: string | null;
|
||||
level: string | null;
|
||||
type: string;
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
interface FormGroupTargetPlannedGoal {
|
||||
positions:[
|
||||
{
|
||||
position: string,
|
||||
posTypePlannedId: string,
|
||||
posLevelPlannedId: string,
|
||||
}
|
||||
]
|
||||
;
|
||||
groupTarget: string;
|
||||
groupTargetSub: string;
|
||||
position: string;
|
||||
posType: string | null;
|
||||
level: string | null;
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
|
|
@ -178,17 +196,21 @@ interface actualGoals {
|
|||
position: string;
|
||||
posTypeActualId: string | null;
|
||||
posLevelActualId: string | null;
|
||||
type: string;
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
interface PlannedGoals {
|
||||
groupTarget: string;
|
||||
groupTargetSub: string;
|
||||
position: string;
|
||||
posTypePlannedId: string | null;
|
||||
posLevelPlannedId: string | null;
|
||||
type: string;
|
||||
positions:[
|
||||
{
|
||||
position: string,
|
||||
posTypePlannedId: string,
|
||||
posLevelPlannedId: string,
|
||||
}
|
||||
]
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
|
|
@ -203,4 +225,5 @@ export type {
|
|||
FormAddHistory,
|
||||
FormAddHistoryProject,
|
||||
FormAddHistoryEmployee,
|
||||
FormGroupTargetPlannedGoal
|
||||
};
|
||||
|
|
|
|||
|
|
@ -81,17 +81,22 @@ interface ResActualGoals {
|
|||
position: string;
|
||||
posTypeActualId: string | null;
|
||||
posLevelActualId: string | null;
|
||||
type: string;
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
interface ResPlannedGoals {
|
||||
groupTarget: string;
|
||||
groupTargetSub: string;
|
||||
position: string;
|
||||
posTypePlannedId: string | null;
|
||||
posLevelPlannedId: string | null;
|
||||
type: string;
|
||||
positions:[
|
||||
{
|
||||
position: string,
|
||||
posTypePlannedId: string,
|
||||
posLevelPlannedId: string,
|
||||
}
|
||||
]
|
||||
;
|
||||
type: string | null;
|
||||
amount: number | null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue