From 10b6532744ce26b4a9764475b3419c76673c3404 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 1 Aug 2024 17:13:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E8=AF=95=E9=A2=98=E8=81=94?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 7 ++ src/pages/ques/detail/index.vue | 29 +++-- src/pages/ques/list/index.vue | 125 +++++++++++++------ src/pages/testPaper/detail/index.vue | 172 ++++++++++++++++++++------ src/pages/testPaper/detail/manual.vue | 39 ++++-- 5 files changed, 273 insertions(+), 99 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 6ae9fe6..8c87371 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -47,6 +47,7 @@ export default { examPaperList: `/exam/exam/paper/examPaperList`, saveExamPaper: `/exam/exam/paper/saveExamPaper`, paperDisable: `/exam/exam/paper/updateStatus`, + avgValues: `/exam/exam/paper/avgValues`, deleteTemplate: `/exam/exam/paperTemplate/deleteTemplate`, examPaperTemplateList: `/exam/exam/paperTemplate/examPaperTemplateList`, @@ -59,4 +60,10 @@ export default { updateQuestion: `/exam/questions/updateQuestion`, batchImportQuestions: `${host}/exam/questions/batchImportQuestions`, checkQuestion: `/exam/questions/checkQuestion`, + delQuestion: `/exam/questions/batchDeletion`, + checkQuestionIsUse: `/exam/questions/checkQuestionIsUse`, + copyQuestion: `/exam/questions/copyQuestion`, + createNewVersion: `/exam/questions/createNewVersion`, + disableOrEnableQuestion: `/exam/questions/disableOrEnableQuestion`, + findAllByQuestionBank: `/exam/questions/findAllByQuestionBank`, } \ No newline at end of file diff --git a/src/pages/ques/detail/index.vue b/src/pages/ques/detail/index.vue index 16c5ff0..eac6ef1 100644 --- a/src/pages/ques/detail/index.vue +++ b/src/pages/ques/detail/index.vue @@ -1,8 +1,8 @@