From c27bea784a6223fac6081569065cd39a8f6f2780 Mon Sep 17 00:00:00 2001 From: liukewei Date: Fri, 22 Dec 2023 10:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=B4=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD=E5=92=8C=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E4=B8=8B=E8=BD=BD=E6=A8=A1=E6=9D=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ehs/EhsNoticeMessageController.java | 11 +++- .../domain/EhsNoticeMessage.java | 2 + .../src/views/ehs/ehsHiddenDanger/index.vue | 13 +++-- .../views/ehs/ehsHiddenDanger/indexAssist.vue | 12 ++-- .../src/views/ehs/ehsNoticeMessage/index.vue | 57 ++++++++++++------- .../views/ehs/ehsNoticeMessage/indexDept.vue | 8 ++- ruoyi-ui/src/views/index.vue | 14 ++--- 7 files changed, 76 insertions(+), 41 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/ehs/EhsNoticeMessageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/ehs/EhsNoticeMessageController.java index 0c67714..7329f35 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/ehs/EhsNoticeMessageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/ehs/EhsNoticeMessageController.java @@ -89,7 +89,16 @@ public class EhsNoticeMessageController extends BaseController @GetMapping(value = "/{noticeMessageId}") public AjaxResult getInfo(@PathVariable("noticeMessageId") Long noticeMessageId) { - return success(ehsNoticeMessageService.selectEhsNoticeMessageByNoticeMessageId(noticeMessageId)); + EhsNoticeMessage ehsNoticeMessage = ehsNoticeMessageService.selectEhsNoticeMessageByNoticeMessageId(noticeMessageId); + if(StringUtils.isNotEmpty(ehsNoticeMessage.getDeptList())){ + String[] s =ehsNoticeMessage.getDeptList().split(","); + Long[] l = new Long[s.length]; + for (int i =0;i {{(scope.row.assistDept=='' ||scope.row.assistDept==null)?"无协办单位": "显示协办单位" }} + + + + + +