API มอบหมายหน้าที่ความรับผิดชอบ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-07 18:03:50 +07:00
parent 88bf249250
commit e7568373c8
4 changed files with 135 additions and 78 deletions

View file

@ -48,6 +48,7 @@ interface NodeTree {
totalRootPositionNextUse: number;
totalRootPositionNextVacant: number;
children: NodeTree;
isOfficer: boolean;
}
interface PosMaster {
@ -81,6 +82,7 @@ interface PosMaster {
profilePostype: null | string;
reason: null | string;
positions: Position[];
assignId: string[];
}
interface Position {
@ -135,4 +137,25 @@ interface Profile {
salary: number;
}
export type { Users, Roles, NodeTree, PosMaster, Position, SysList, Profile };
interface CommandSysAssign {
assgins: DataAssgins[];
id: "REGISTRY";
sysName: "ทะเบียนประวัติ";
}
interface DataAssgins {
description: "เงินเดือนข้าราชการ";
id: "00942120-9787-43a1-934a-e146e0618622";
name: "เงินเดือนข้าราชการ";
}
export type {
Users,
Roles,
NodeTree,
PosMaster,
Position,
SysList,
Profile,
CommandSysAssign,
};