diff --git a/src/api/paper/question/index.ts b/src/api/paper/question/index.ts index 5882c94..a59da4b 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' }) @@ -170,4 +173,4 @@ export const setPsPoint = (data) => { export const getPsPointByQuId = (id) => { return request.get({ url: `/exam/getPoints/getPsPointById/${id}` }) -} \ No newline at end of file +} diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index e8927f5..67fc44b 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -113,9 +113,12 @@ - + 推送审核试题 + + 审核试题 + --> - + + + @@ -253,26 +268,23 @@ :inline="true" label-width="68px" > - + - 搜索 - 重置 - - - + + -