From bc44c8e3c9d85691ce3fa73ef1300a6fae46e365 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 18 三月 2025 19:07:08 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/center-lims-before-ruoyi into dev
---
src/api/system/notice.js | 63 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 1 deletions(-)
diff --git a/src/api/system/notice.js b/src/api/system/notice.js
index c274ea5..4dd18c4 100644
--- a/src/api/system/notice.js
+++ b/src/api/system/notice.js
@@ -41,4 +41,65 @@
url: '/system/notice/' + noticeId,
method: 'delete'
})
-}
\ No newline at end of file
+}
+
+// 娑堟伅閫氱煡-婊氬姩鍒嗛〉鏌ヨ
+export function pageNotice(query) {
+ return request({
+ url: '/informationNotification/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 娑堟伅閫氱煡-鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級
+export function updateMessageStatus(query) {
+ return request({
+ url: '/informationNotification/updateMessageStatus',
+ method: 'put',
+ data: query
+ })
+}
+
+// 娑堟伅閫氱煡-鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�
+export function informationReadOrDelete(isMarkAllInformationRead) {
+ return request({
+ url: '/informationNotification/informationReadOrDelete/' + isMarkAllInformationRead,
+ method: 'put',
+ })
+}
+
+// 娑堟伅閫氱煡-鍒犻櫎鏁版嵁
+export function deleteDataBasedOnId(query) {
+ return request({
+ url: '/informationNotification/deleteDataBasedOnId',
+ method: 'delete',
+ params: query
+ })
+}
+
+// 娑堟伅閫氱煡-鏌ヨ鏄惁瀛樺湪鏈鏁版嵁
+export function checkForUnreadData() {
+ return request({
+ url: '/informationNotification/checkForUnreadData',
+ method: 'get',
+ })
+}
+
+// 娑堟伅閫氱煡-鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶
+export function triggerModificationStatusToRead(id) {
+ return request({
+ url: '/informationNotification/triggerModificationStatusToRead/' + id,
+ method: 'put',
+ })
+}
+
+// 娑堟伅閫氱煡-鑾峰彇棣栭〉鍥涚娑堟伅鏁伴噺
+export function getNumberFourTypesMessagesHomePage() {
+ return request({
+ url: '/informationNotification/getNumberFourTypesMessagesHomePage',
+ method: 'get',
+ })
+}
+
+
--
Gitblit v1.9.3