API ข้อมูลตำแหน่งลูกจ้างประจำ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-03-14 15:45:37 +07:00
parent c052ef9148
commit 0a86f87f9c
7 changed files with 275 additions and 144 deletions

View file

@ -7,9 +7,22 @@ interface ObjectGroupRef {
interface ObjectLevelRef {
posLevelName: object | null;
commander: object | null;
posLevelAuthority: object | null;
[key: string]: any;
}
export type { ObjectGroupRef, ObjectLevelRef };
interface ObjectPosRef {
posName: object | null;
posTypeName: object | null;
posLevelName: object | null;
[key: string]: any;
}
interface FormQuery {
type: string;
keyword: string;
}
export type { ObjectGroupRef, ObjectLevelRef, ObjectPosRef, FormQuery };

View file

@ -7,7 +7,7 @@ interface FrmDataGroup {
interface FormDataLevel {
posLevelName: number | null;
posTypeName: string | undefined;
commander: string;
posLevelAuthority: string;
}
export type { FrmDataGroup, FormDataLevel };

View file

@ -3,6 +3,7 @@ interface ResGroup {
posLevels: ResLevel[];
posTypeName: string;
posTypeRank: number;
posTypeShortName: string;
}
interface ResLevel {
@ -10,7 +11,16 @@ interface ResLevel {
posLevelName: number;
posTypeName: string;
posTypeId: string;
commander: string;
posLevelAuthority: string;
}
export type { ResGroup, ResLevel };
interface ResPossition {
id: string;
posDictName: string;
posLevelId: string;
posLevelName: number;
posTypeId: string;
posTypeName: string;
}
export type { ResGroup, ResLevel, ResPossition };