|
|
|
@ -16,13 +16,25 @@ export const getQueryCache = () => { |
|
|
|
|
return get('/bank/bank/queryCache') |
|
|
|
|
} |
|
|
|
|
export const addOperation = (params) => { |
|
|
|
|
return post('/bank/bank/addOperation', params) |
|
|
|
|
return post('/bank/bank/addOperation', { |
|
|
|
|
...params, |
|
|
|
|
assessmentId: sessionStorage.getItem('assessmentId') || '', |
|
|
|
|
competitionId: sessionStorage.getItem('competitionId') || '', |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
export const getOperation = (params) => { |
|
|
|
|
return get('/bank/bank/getOperation', params) |
|
|
|
|
return post('/bank/bank/getOperation', { |
|
|
|
|
...params, |
|
|
|
|
assessmentId: sessionStorage.getItem('assessmentId') || '', |
|
|
|
|
competitionId: sessionStorage.getItem('competitionId') || '', |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
export const deleteCache = () => { |
|
|
|
|
return get('/bank/bank/deleteCache') |
|
|
|
|
return post('/bank/bank/deleteCache', { |
|
|
|
|
projectId: sessionStorage.getItem('projectId') || '', |
|
|
|
|
assessmentId: sessionStorage.getItem('assessmentId') || '', |
|
|
|
|
competitionId: sessionStorage.getItem('competitionId') || '', |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
export const exportBankExperimentReport = (params) => { |
|
|
|
|
return post('/occupationlab/occupationlab/achievement/exportBankExperimentReport', params) |
|
|
|
|