Refactoring code module 08_KPI

This commit is contained in:
STW_TTTY\stwtt 2024-09-10 11:42:43 +07:00
parent 3636f380fb
commit 67d117dcfc
48 changed files with 989 additions and 1140 deletions

View file

@ -41,4 +41,57 @@ interface ResEvaluatorAssessor {
profileId: string;
}
export type { ResEvaluator, ResRound, ResEvaluatorAssessor };
interface EvaOptionType {
id: string;
prefix: string;
firstName: string;
lastName: string;
citizenId: string;
position: string;
posLevel: string;
posType: string;
isDirector: boolean;
}
interface RoundKpiResponse {
id: string;
createdAt: string;
createdUserId: string;
lastUpdatedAt: string;
lastUpdateUserId: string;
createdFullName: string;
lastUpdateFullName: string;
year: number;
durationKPI: string;
startDate: string;
endDate: string;
isActive: boolean;
}
interface EvaluationIndicatorType {
id: string;
evaluationId: string;
indicatorId: string;
includingName: string;
target: string;
weight: number;
unit: string;
meaning: string;
formula: string;
summary: number;
point: number;
achievement: string;
achievement1: string;
achievement2: string;
achievement3: string;
achievement4: string;
achievement5: string;
}
export type {
ResEvaluator,
ResRound,
ResEvaluatorAssessor,
EvaOptionType,
RoundKpiResponse,
EvaluationIndicatorType
};