จัดการสิทธิ์ => UI Dialog จัดการสิทธิ์

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-05 09:25:47 +07:00
parent 9ce059949c
commit 0531cf2bb3
5 changed files with 364 additions and 51 deletions

View file

@ -1,4 +1,5 @@
interface Pagination {
page: number;
rowsPerPage: number;
}

View file

@ -16,4 +16,14 @@ interface Roles {
id: string;
name: string;
}
export type { FormUser, FormRole, Roles };
interface FilterReqMaster {
id: string;
type: number;
isAll: boolean;
page: number;
pageSize: number;
keyword: string;
revisionId: string;
}
export type { FormUser, FormRole, Roles, FilterReqMaster };

View file

@ -16,4 +16,84 @@ interface Roles {
name: string;
}
export type { Users, Roles };
interface NodeTree {
labelName: string;
orgCode: string;
orgLevel: number;
orgName: string;
orgRevisionId: string;
orgRootName: string;
orgTreeCode: string;
orgTreeFax: string;
orgTreeId: string;
orgTreeName: string;
orgTreeOrder: number;
orgTreePhoneEx: string;
orgTreePhoneIn: string;
orgTreeRank: string;
orgTreeRankSub: string | null;
orgTreeShortName: string;
responsibility: string | null;
totalPosition: number;
totalPositionCurrentUse: number;
totalPositionCurrentVacant: number;
totalPositionNextUse: number;
totalPositionNextVacant: number;
totalRootPosition: number;
totalRootPositionCurrentUse: number;
totalRootPositionCurrentVacant: number;
totalRootPositionNextUse: number;
totalRootPositionNextVacant: number;
children: NodeTree;
}
interface PosMaster {
fullNameCurrentHolder: null | string;
fullNameNextHolder: string;
id: string;
isSit: boolean;
isSpecial: boolean;
orgChild1Id: null | string;
orgChild2Id: null | string;
orgChild3Id: null | string;
orgChild4Id: null | string;
orgRootId: string;
orgShortname: string;
posExecutiveId: string;
posExecutiveName: string;
posLevelId: string;
posLevelName: string;
posMasterNo: 1;
posMasterNoPrefix: null | string;
posMasterNoSuffix: null | string;
posTypeId: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: string;
positionField: string;
positionIsSelected: boolean;
positionName: string;
profilePosition: string;
profilePoslevel: null | string;
profilePostype: null | string;
reason: null | string;
positions: Position[];
}
interface Position {
id: string;
isSpecial: boolean;
posExecutiveId: string;
posExecutiveName: string;
posLevelId: string;
posLevelName: string;
posTypeId: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: string;
positionField: string;
positionIsSelected: boolean;
positionName: string;
}
export type { Users, Roles, NodeTree, PosMaster, Position };