จัดการบทบาทและสิทธิ์ => API
This commit is contained in:
parent
797d2015e7
commit
d90d4287c1
5 changed files with 224 additions and 1113 deletions
|
|
@ -10,4 +10,46 @@ interface ItemsMenu {
|
|||
type: string;
|
||||
}
|
||||
|
||||
export type { Pagination, ItemsMenu };
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface SystemList {
|
||||
attrIsCreate: boolean;
|
||||
attrIsDelete: boolean;
|
||||
attrIsGet: boolean;
|
||||
attrIsList: boolean;
|
||||
attrIsUpdate: boolean;
|
||||
attrOwnership: string;
|
||||
attrPrivilege: string;
|
||||
id: string;
|
||||
order: 1;
|
||||
parentId: string | null;
|
||||
selected: boolean;
|
||||
sysDescription: string;
|
||||
sysName: string;
|
||||
children?: SystemList[];
|
||||
}
|
||||
|
||||
interface DataSystem {
|
||||
attrIsCreate: boolean;
|
||||
attrIsDelete: boolean;
|
||||
attrIsGet: boolean;
|
||||
attrIsList: boolean;
|
||||
attrIsUpdate: boolean;
|
||||
attrOwnership: string;
|
||||
attrPrivilege: string;
|
||||
authRoleId: string;
|
||||
authSysId: string;
|
||||
createdAt: string;
|
||||
createdFullName: string;
|
||||
createdUserId: string;
|
||||
id: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdateUserId: string;
|
||||
lastUpdatedAt: string;
|
||||
parentNode: string;
|
||||
}
|
||||
|
||||
export type { Pagination, ItemsMenu, DataOption, SystemList, DataSystem };
|
||||
|
|
|
|||
|
|
@ -99,4 +99,13 @@ interface Position {
|
|||
positionName: string;
|
||||
}
|
||||
|
||||
export type { Users, Roles, NodeTree, PosMaster, Position };
|
||||
interface SysList {
|
||||
id: string;
|
||||
order: number;
|
||||
parentId: string;
|
||||
sysDescription: string;
|
||||
sysName: string;
|
||||
children: SysList[];
|
||||
}
|
||||
|
||||
export type { Users, Roles, NodeTree, PosMaster, Position, SysList };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue