feat(aihr): add employee mistake book audit

This commit is contained in:
2026-07-14 03:23:49 +08:00
parent 5c0f792f37
commit d98ff0ff8b
12 changed files with 317 additions and 10 deletions
+10
View File
@@ -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>({