รายการการประเมินผลการปฏิบัติราชการระดับบุคคล => ผูก API

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-13 14:38:55 +07:00
parent 03ea92dbe9
commit aa63c96cba
7 changed files with 219 additions and 57 deletions

View file

@ -1,8 +1,12 @@
interface DataOptions {
id:string
name:string
id: string;
name: string;
}
interface Pagination {
descending: boolean;
page: number;
rowsPerPage: number;
sortBy: string;
}
export type {
DataOptions
}
export type { DataOptions, Pagination };

View file

@ -53,6 +53,13 @@ interface FormComment {
reason: string;
}
interface FormQuery {
page: number;
pageSize: number;
round: string;
keyword: string;
}
export type {
FormProfile,
FormDataAssigned,
@ -60,4 +67,5 @@ export type {
ListCriteria,
ListCapacity,
FormComment,
FormQuery,
};

View file

@ -12,4 +12,33 @@ interface ResEvaluator {
type: string;
}
export type { ResEvaluator };
interface ResRound {
createdAt: string;
createdFullName: string;
createdUserId: string;
durationKPI: string;
endDate: string;
id: string;
isActive: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
startDate: string;
year: number;
}
interface ResEvaluatorAssessor {
commanderHighId: string | null;
commanderId: string | null;
createdAt: string;
evaluationResults: string;
evaluationStatus: string;
evaluatorId: string;
firstname: string;
id: string;
kpiPeriodId: string;
lastname: string;
prefix: string;
profileId: string;
}
export type { ResEvaluator, ResRound, ResEvaluatorAssessor };