diff --git a/src/api/notice.ts b/src/api/notice.ts index f9ffb366..efa94850 100644 --- a/src/api/notice.ts +++ b/src/api/notice.ts @@ -199,7 +199,7 @@ export interface NoticeDetailVO { /** 通知内容 */ content?: string; /** 通知类型 */ - noticeTypeLabel?: number; + noticeType?: number; /** 发布人 */ releaseBy?: string; /** 优先级(0-低 1-中 2-高) */ diff --git a/src/components/Notice/index.vue b/src/components/Notice/index.vue index a4ba322c..f7ecf8d0 100644 --- a/src/components/Notice/index.vue +++ b/src/components/Notice/index.vue @@ -137,7 +137,7 @@ function readNotice(id: number) { */ function more() { //跳转到我的消息页面 - router.push({ path: "notice/notice" }); + router.push({ path: "/notice/notice" }); } /** diff --git a/src/components/NoticeModal/index.vue b/src/components/NoticeModal/index.vue index 62575329..2a958e03 100644 --- a/src/components/NoticeModal/index.vue +++ b/src/components/NoticeModal/index.vue @@ -27,10 +27,17 @@
- {{ message.noticeTypeLabel }} 优先级 {{ message.priority }} 发布人:{{ - message.releaseBy - }} - 发布时间:{{ message.releaseTime }} + + 系统通知 + 通知消息 + + + + + + + {{ message.releaseBy }} + {{ message.releaseTime }}
diff --git a/src/views/notice/index.vue b/src/views/notice/index.vue index f6c68d5e..4ea6cadc 100644 --- a/src/views/notice/index.vue +++ b/src/views/notice/index.vue @@ -44,7 +44,16 @@ label="通知类型" prop="noticeType" min-width="150" - /> + > + + - + + + +