From 9c377c0a4004deea4c8dc45f5ba8a874b0d59042 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 09 三月 2026 13:44:32 +0800
Subject: [PATCH] fix: web端隐患上报已整改操作完,APP端隐患上报还可以继续整改
---
src/api/login.js | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/src/api/login.js b/src/api/login.js
index 180e192..29a149d 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -76,4 +76,30 @@
method: 'get',
params: { consigneeId }
})
-}
\ No newline at end of file
+}
+
+// 鏍囪娑堟伅涓哄凡璇�
+export function markAsRead(noticeId, status) {
+ return request({
+ url: "/system/notice",
+ method: "put",
+ data: { noticeId, status },
+ });
+}
+
+// 涓�閿爣璁版墍鏈夋秷鎭负宸茶
+export function markAllAsRead() {
+ return request({
+ url: "/system/notice/readAll",
+ method: "post",
+ });
+}
+
+// 纭娑堟伅
+export function confirmMessage(noticeId, status) {
+ return request({
+ url: "/system/notice",
+ method: "put",
+ data: { noticeId, status },
+ });
+}
--
Gitblit v1.9.3