2024-03-12 13:20:17 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
label: string;
|
|
|
|
|
}
|
2024-05-02 15:12:10 +07:00
|
|
|
interface FormProfile {
|
|
|
|
|
id: string;
|
|
|
|
|
avatar: string;
|
|
|
|
|
fullName: string;
|
|
|
|
|
position: string;
|
|
|
|
|
positionLevel: string;
|
|
|
|
|
organization: string;
|
|
|
|
|
}
|
2024-03-12 13:20:17 +07:00
|
|
|
|
2024-07-31 09:48:33 +07:00
|
|
|
interface RoleData {
|
|
|
|
|
attrOwnership: string;
|
|
|
|
|
attrIsCreate: boolean;
|
|
|
|
|
attrIsList: boolean;
|
|
|
|
|
attrIsGet: boolean;
|
|
|
|
|
attrIsUpdate: boolean;
|
|
|
|
|
attrIsDelete: boolean;
|
|
|
|
|
attrPrivilege: string;
|
|
|
|
|
authSysId: string;
|
|
|
|
|
parentNode: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-05 10:54:04 +07:00
|
|
|
interface DataStructureTree {
|
|
|
|
|
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;
|
|
|
|
|
orgTreeShortName: string;
|
|
|
|
|
responsibility: string;
|
|
|
|
|
totalPosition: number;
|
|
|
|
|
totalPositionCurrentUse: number;
|
|
|
|
|
totalPositionCurrentVacant: number;
|
|
|
|
|
totalPositionNextUse: number;
|
|
|
|
|
totalPositionNextVacant: number;
|
|
|
|
|
totalRootPosition: number;
|
|
|
|
|
totalRootPositionCurrentUse: number;
|
|
|
|
|
totalRootPositionCurrentVacant: number;
|
|
|
|
|
totalRootPositionNextUse: number;
|
|
|
|
|
totalRootPositionNextVacant: number;
|
|
|
|
|
children: DataStructureTree[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type { DataOption, FormProfile, RoleData, DataStructureTree };
|