feat(aihr): add employee mistake book audit
This commit is contained in:
@@ -2,6 +2,7 @@ import type {
|
||||
PracticeFinishResponse,
|
||||
PracticePrepCard,
|
||||
PracticeRecord,
|
||||
PracticeMistake,
|
||||
PracticeTeamSnapshot,
|
||||
PracticeStartResponse,
|
||||
PracticeTurnResponse,
|
||||
@@ -88,6 +89,15 @@ export const getPracticeHistoryDetail = (id: number) =>
|
||||
timeout: 15000
|
||||
});
|
||||
|
||||
export const getPracticeMistakes = () => {
|
||||
const extPartyId = encodeURIComponent(currentExtPartyId());
|
||||
return apiRequest<PracticeMistake[]>({
|
||||
url: `/api/aihr/mobile/practice/mistakes?extPartyId=${extPartyId}`,
|
||||
method: 'GET',
|
||||
timeout: 15000
|
||||
});
|
||||
};
|
||||
|
||||
export const getCompetencyProfile = () => {
|
||||
const extPartyId = encodeURIComponent(currentExtPartyId());
|
||||
return apiRequest<CompetencyProfile>({
|
||||
|
||||
Reference in New Issue
Block a user