From 3825d847406208d8658dab0bdd3a19d9581ccd50 Mon Sep 17 00:00:00 2001 From: Theo <971366405@qq.com> Date: Thu, 21 Nov 2024 23:32:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=85=AC=E5=91=8A=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增通知公告菜单 --- src/pages/work/index.vue | 3 +- src/pages/work/notice/index.vue | 192 +++++++++++++++----------------- 2 files changed, 94 insertions(+), 101 deletions(-) diff --git a/src/pages/work/index.vue b/src/pages/work/index.vue index 2558315..3e72f8a 100644 --- a/src/pages/work/index.vue +++ b/src/pages/work/index.vue @@ -51,12 +51,13 @@ const gridList = reactive([ { icon: "/static/icons/config.png", title: "系统配置", - url: "/pages/work/config", + url: "/pages/work/config/index", prem: "sys:config:query", }, { icon: "/static/icons/notice.png", title: "通知公告", + url: "/pages/work/notice/index", prem: "sys:notice:query", }, ], diff --git a/src/pages/work/notice/index.vue b/src/pages/work/notice/index.vue index fdfe664..54fe5f0 100644 --- a/src/pages/work/notice/index.vue +++ b/src/pages/work/notice/index.vue @@ -2,13 +2,7 @@ - + - - + + - - 通告目标类型: - {{ item.targetType === 1 ? "指定" : "全体" }} - + 通告目标类型: - - 发布时间: - {{ formatDate(item.publishTime) }} - + {{ item.targetType === 1 ? "指定" : "全体" }} - - - - - - - 发布人: - {{ item.publisherName || "-" }} - + + + + 发布时间: - - - 发布时间: - {{ formatDate(item.publishTime) }} - + + {{ formatDate(item.publishTime) }} - - + + + + 撤回时间: + + + {{ formatDate(item.revokeTime) }} + + + + + + + 发布人: + + + {{ item.publisherName || "-" }} + + + + + 紧急程度: + + + {{ getLevelType(item.level) || "-" }} + + + + - - + + + - -