From 5f3dccd86174cf09eda20a6b3a0e580ba444e00a Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期五, 17 四月 2026 13:32:00 +0800
Subject: [PATCH] fix(合同管理): 修复合同年限显示错误

---
 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