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 @@ + -
+
@@ -38,14 +39,28 @@ 删除 + + 导入 +
-
+ + + 上传导入 + 下载导入模板 + + +
+ diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/userBook/view.html b/ruoyi-admin/src/main/resources/templates/system/elExam/userBook/view.html index 63841b8..3d4e2ac 100644 --- a/ruoyi-admin/src/main/resources/templates/system/elExam/userBook/view.html +++ b/ruoyi-admin/src/main/resources/templates/system/elExam/userBook/view.html @@ -34,18 +34,18 @@

【{{ quData.quType===1?'单选题':'多选题' }}】{{ quData.content }}

- +

- {{ an.content }} + {{ an.content }}
- {{ an.content }} + {{ an.content }}
@@ -61,7 +61,7 @@ 选项解析: -
+

{{ an.content }}:

{{ an.analysis }}