From 438458756ca41c19e20c158b7debd424ab09a314 Mon Sep 17 00:00:00 2001 From: 20918 <2091823062@qq.com> Date: Wed, 8 May 2024 09:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=EF=BC=8C=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=EF=BC=8C=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/system/TdCheckController.java | 15 +- .../src/main/resources/templates/main.html | 14 +- .../templates/system/check/check.html | 3 +- .../templates/system/check/selfcheck.html | 131 +++++++++++++++++- .../system/checkresult/checkresult.html | 3 - 5 files changed, 150 insertions(+), 16 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdCheckController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdCheckController.java index 5af67ce..6521884 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdCheckController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/TdCheckController.java @@ -72,8 +72,9 @@ public class TdCheckController extends BaseController * 新增检查报告管理 */ @GetMapping("/add") - public String add() + public String add(ModelMap mmap) { + mmap.put("user", getSysUser()); return prefix + "/add"; } @@ -149,6 +150,18 @@ public class TdCheckController extends BaseController return toAjax(tdCheckService.updateTdCheck(tdCheck)); } + /** + * 详情操作 报告管理 + */ + @RequiresPermissions("system:check:detail") + @GetMapping("/detail/{checkId}") + public String detail(@PathVariable("checkId") Long checkId, ModelMap mmap) + { + TdCheck tdCheck = tdCheckService.selectTdCheckByCheckId(checkId); + mmap.put("tdCheck", tdCheck); + return prefix + "/detail"; + } + /** * 打印操作 */ diff --git a/ruoyi-admin/src/main/resources/templates/main.html b/ruoyi-admin/src/main/resources/templates/main.html index 120f447..8161cd0 100644 --- a/ruoyi-admin/src/main/resources/templates/main.html +++ b/ruoyi-admin/src/main/resources/templates/main.html @@ -64,13 +64,13 @@

第八条   国家对在保守、保护国家秘密以及改进保密技术、措施等方面成绩显著的单位或者个人给予奖励。

第九条   下列涉及国家安全和利益的事项,泄露后可能损害国家在政治、经济、国防、外交等领域的安全和利益的,应当确定为国家秘密:

政党的秘密事项中符合前款规定的,属于国家秘密。

diff --git a/ruoyi-admin/src/main/resources/templates/system/check/check.html b/ruoyi-admin/src/main/resources/templates/system/check/check.html index 09aebf4..659fa8d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/check/check.html +++ b/ruoyi-admin/src/main/resources/templates/system/check/check.html @@ -60,6 +60,7 @@ \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresult.html b/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresult.html index 09aebf4..307cb49 100644 --- a/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresult.html +++ b/ruoyi-admin/src/main/resources/templates/system/checkresult/checkresult.html @@ -39,9 +39,6 @@
- - 添加 - 修改