API เลือกคนครอง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-02-09 10:09:10 +07:00
parent bd16728a36
commit 56351c0fd5
3 changed files with 145 additions and 122 deletions

View file

@ -81,4 +81,27 @@ interface DataTree {
children?: DataTree[];
}
export type { DataPosition, Position, FormDetailPosition, DataTree };
interface SeaechResult {
id: string;
citizenId: string;
name: string;
posTypeName: string;
posLevelName: string;
}
interface FormPositionFilter {
positionNo: string;
positionType: string;
positionLevel: string;
personal: string;
position: string;
status: string;
}
export type {
DataPosition,
Position,
FormDetailPosition,
DataTree,
SeaechResult,
FormPositionFilter,
};

View file

@ -156,6 +156,30 @@ interface HistoryPos {
posMasterNoSuffix: string; //Suffix หลังเลขที่ตำแหน่ง เช่น ช.
}
interface SelectPerson {
citizenId: string;
firstName: string;
id: string;
lastName: string;
posLevel: string;
posType: string;
position: string;
prefix: string;
}
interface PosLevels {
id: string;
posLevelAuthority: null;
posLevelName: string;
posLevelRank: number;
}
interface TypePos {
id: string;
PosLevels: PosLevels[];
posTypeName: string;
posTypeRank: number;
}
export type {
DataActive,
OrgTree,
@ -170,4 +194,7 @@ export type {
Position2,
SumPosition,
HistoryPos,
SelectPerson,
TypePos,
};