From 606995d5940fc4f6a52cad060a4deb2d1ecdb211 Mon Sep 17 00:00:00 2001 From: miaojiale <1123971748@qq.com> Date: Mon, 27 Feb 2023 17:32:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=AD=9B=E6=9F=A5=E5=AE=A1=E6=A0=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=BA=E7=A9=BA=E6=97=B6=E5=9B=9E=E6=98=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98=202.=E6=B6=88=E6=81=AF=E6=A8=A1=E5=9D=97=E9=A9=B3?= =?UTF-8?q?=E5=9B=9E=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.js | 8 ++ src/layouts/components/NavBar/index.vue | 113 ++++++++++++++---- src/mixins/getMessage.js | 32 +++++ src/store/modules/user.js | 5 + .../audit-detail/components/screenReview.vue | 5 + src/views/audit-detail/index.vue | 3 + 6 files changed, 140 insertions(+), 26 deletions(-) create mode 100644 src/mixins/getMessage.js diff --git a/src/api/user.js b/src/api/user.js index 2e6ac82..6acb3ea 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -183,3 +183,11 @@ export function baseEnable(params = {}) { params, }) } +// 获取消息列表 +export function getMessage(params = {}) { + return request({ + url: "/disease-data/sys/message/list", + method: "get", + params, + }) +} diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue index 13f8f01..b19dd0b 100644 --- a/src/layouts/components/NavBar/index.vue +++ b/src/layouts/components/NavBar/index.vue @@ -38,20 +38,23 @@ -
-
- - {{ item.date }} +
+
+
+ + {{ item.createTime }} +
+
{{ item.content }}
-
{{ item.message }}
+