R39: 完成员工档案汇报链查询
这个提交包含在:
@@ -55,6 +55,15 @@ export type EmployeeChecklistTask = {
|
||||
createdAt: string | null;
|
||||
};
|
||||
|
||||
export type EmployeeOrganizationNode = {
|
||||
id: string;
|
||||
employeeNo: string;
|
||||
name: string;
|
||||
title: string;
|
||||
status: EmployeeStatus;
|
||||
department: { id: string; name: string } | null;
|
||||
};
|
||||
|
||||
export type EmployeeProfile = {
|
||||
employee: {
|
||||
id: string;
|
||||
@@ -95,6 +104,10 @@ export type EmployeeProfile = {
|
||||
status: string;
|
||||
location: string | null;
|
||||
}>;
|
||||
organization: {
|
||||
reportingChain: EmployeeOrganizationNode[];
|
||||
directReports: EmployeeOrganizationNode[];
|
||||
};
|
||||
};
|
||||
|
||||
export async function fetchEmployees(params: {
|
||||
|
||||
在新工单中引用
屏蔽一个用户