【修改】页面细节
This commit is contained in:
@@ -41,9 +41,12 @@ export const getBankList = () => {
|
||||
}
|
||||
|
||||
// 删除试题
|
||||
export const removeQuestion = (ids: string[]) => {
|
||||
export const removeQuestions = (ids) => {
|
||||
return request.delete({ url: '/exam/question/' + ids})
|
||||
}
|
||||
export async function removeQuestion(id) {
|
||||
return await request.delete({ url: '/exam/question/' + id })
|
||||
}
|
||||
|
||||
// 新增试题
|
||||
export function addQuestion(data: any) {
|
||||
@@ -55,6 +58,12 @@ export function editQuestion(data: any) {
|
||||
return request.put({url: '/exam/question', data});
|
||||
}
|
||||
|
||||
export function editQuestionNoAudit(data: any) {
|
||||
return request.put({url: '/exam/question/NoAudit', data});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
export const getQuestionExamineList = (params: QuestionQueryVO) => {
|
||||
return request.get({ url: '/exam/question/auditList', params })
|
||||
|
Reference in New Issue
Block a user