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 @@