Перейти к основному содержимому

useWatchFill

@mineflow/client-react


@mineflow/client-react / HR / useWatchFill

Function: useWatchFill()

function useWatchFill(id: string): UseQueryResult<{
objectId: string;
positions: object[];
totals: {
actual: number;
fillPercent: number;
planned: number;
vacancy: number;
};
unassigned: object[];
watchId: string;
}>;

Defined in: client-react/src/domain-hooks/hr.generated.ts:85

Заполнение вахты по должностям (план/факт/% — ADR-0082).

Parameters​

ParameterType
idstring

Returns​

UseQueryResult<{ objectId: string; positions: object[]; totals: { actual: number; fillPercent: number; planned: number; vacancy: number; }; unassigned: object[]; watchId: string; }>