From a7af1c8d5a0a1e237e3a9d958dc381b985c8fa2c Mon Sep 17 00:00:00 2001
From: dshclm <3321914460@qq.com>
Date: Tue, 9 Jul 2024 11:05:41 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E6=88=90=E7=BB=A9=E3=80=81?=
=?UTF-8?q?=E9=94=99=E9=A2=98=E8=AE=AD=E7=BB=83=E3=80=81=E9=A2=98=E7=9B=AE?=
=?UTF-8?q?=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../controller/exam/UserBookController.java | 5 +-
.../templates/system/elExam/qu/add.html | 3 +
.../templates/system/elExam/qu/edit.html | 3 +
.../system/elExam/userBook/book.html | 39 +++-
.../system/elExam/userBook/toTrain.html | 189 ++++++++++++++++++
.../system/elExam/userBook/view.html | 122 +++++++++++
.../system/elExam/userExam/myGrades.html | 2 +-
7 files changed, 351 insertions(+), 12 deletions(-)
create mode 100644 ruoyi-admin/src/main/resources/templates/system/elExam/userBook/toTrain.html
create mode 100644 ruoyi-admin/src/main/resources/templates/system/elExam/userBook/view.html
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserBookController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserBookController.java
index 4d40e14..9c6376a 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserBookController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/UserBookController.java
@@ -72,10 +72,9 @@ public class UserBookController extends BaseController {
@ApiOperation("错题训练")
- @GetMapping("/toTrain/{examId}/{quId}")
- public String toTrain(@PathVariable("examId") String examId,@PathVariable("quId") String quId, ModelMap mmap) {
+ @GetMapping("/toTrain/{examId}")
+ public String toTrain(@PathVariable("examId") String examId, ModelMap mmap) {
mmap.put("examId", examId);
- mmap.put("quId", quId);
return prefix + "/toTrain";
}
diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
index 3d72caf..61f7a86 100644
--- a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
+++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
@@ -52,6 +52,9 @@
【{{ quData.quTypeData | quTypeFilter }}】{{ quData.content }}
+
+
{{ quData.analysis }}
+暂无解析内容!
+{{ an.content }}:
+{{ an.analysis }}
+暂无选项解析
+ +【{{ quData.quType===1?'单选题':'多选题' }}】{{ quData.content }}
+
+
{{ quData.analysis }}
+暂无解析内容!
+{{ an.content }}:
+{{ an.analysis }}
+暂无选项解析
+ +