From 9cc35b4945b6de86a013717e7e5cd2e3d2752d4f Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Wed, 10 Jul 2024 14:39:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E9=A2=98=E5=AF=BC=E5=85=A5=E3=80=81?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/exam/QuController.java | 3 +- .../templates/system/elExam/qu/qu.html | 102 +++++++++++++++++- .../system/elExam/userBook/view.html | 8 +- 3 files changed, 105 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java index 6013989..248c69c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/exam/QuController.java @@ -12,6 +12,7 @@ import com.ruoyi.system.domain.qu.ElQu; import com.ruoyi.system.domain.qu.dto.export.QuExportDTO; import com.ruoyi.system.domain.qu.dto.ext.QuDetailDTO; import com.ruoyi.system.domain.qu.dto.request.QuQueryReqDTO; +import com.ruoyi.system.domain.repo.ElRepo; import com.ruoyi.web.controller.manager.QuManager; import com.ruoyi.web.controller.manager.RepoManager; import io.swagger.annotations.Api; @@ -186,7 +187,6 @@ public class QuController extends BaseController { @ApiOperation("导入Excel") - @RequiresPermissions("system:qu:import") @ResponseBody @PostMapping( "/import") public AjaxResult importFile(@RequestParam("file") MultipartFile file) { @@ -217,5 +217,4 @@ public class QuController extends BaseController { - } diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html index 40932fb..947e172 100644 --- a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/qu.html @@ -2,9 +2,10 @@
【{{ quData.quType===1?'单选题':'多选题' }}】{{ quData.content }}
-
{{ an.content }}:
{{ an.analysis }}