diff --git a/src/api/paper/question/index.ts b/src/api/paper/question/index.ts index 4940698..add73fd 100644 --- a/src/api/paper/question/index.ts +++ b/src/api/paper/question/index.ts @@ -26,7 +26,10 @@ export const getQuestionAuditList = (params: QuestionQueryVO) => { export async function auditQuestion(data) { - return await request.post({ url: '/rabbitmq/send' ,data }) + return await request.post({ url: '/rabbitmq/sendAudio' ,data }) +} +export async function auditQuestionTrue(data) { + return await request.post({ url: '/exam/question/auditQuestion' ,data }) } export async function rabbitmqConnect() { return await request.post({ url: '/rabbitmq/connect' }) diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index b548773..2fc636b 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -113,9 +113,22 @@ - + 推送审核试题 + + 审核试题 + --> - + + + @@ -253,26 +278,23 @@ :inline="true" label-width="68px" > - + - 搜索 - 重置 - - - + + -