diff --git a/src/api/cai/unreadNotifyMessage.js b/src/api/cai/unreadNotifyMessage.js
index e2e14e8..1fe696a 100644
--- a/src/api/cai/unreadNotifyMessage.js
+++ b/src/api/cai/unreadNotifyMessage.js
@@ -13,3 +13,10 @@ export function getUnreadNotifyMessageCount() {
method: 'get'
})
}
+
+export function getCheckNotice() {
+ return request({
+ url: '/cai/unread/checkNotice',
+ method: 'get'
+ })
+}
diff --git a/src/api/system/notice.js b/src/api/system/notice.js
index c274ea5..0326f83 100644
--- a/src/api/system/notice.js
+++ b/src/api/system/notice.js
@@ -35,10 +35,19 @@ export function updateNotice(data) {
})
}
+// 修改公告
+export function dealNotice(data) {
+ return request({
+ url: '/system/notice/deal',
+ method: 'post',
+ data: data
+ })
+}
+
// 删除公告
export function delNotice(noticeId) {
return request({
url: '/system/notice/' + noticeId,
method: 'delete'
})
-}
\ No newline at end of file
+}
diff --git a/src/layout/components/CaiNotice/index.vue b/src/layout/components/CaiNotice/index.vue
new file mode 100644
index 0000000..ca7636c
--- /dev/null
+++ b/src/layout/components/CaiNotice/index.vue
@@ -0,0 +1,186 @@
+
+