From b50f6e4d9b20a46629f993d2cc4c45c12189cf61 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 04 三月 2026 10:56:23 +0800
Subject: [PATCH] 公司app 1.添加商机管理功能 2.app部署修改

---
 src/api/login.js |   65 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 1 deletions(-)

diff --git a/src/api/login.js b/src/api/login.js
index acf6978..a4dbd0d 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -40,4 +40,67 @@
     method: 'get',
     params: params
   })
-}
\ No newline at end of file
+}
+
+// 鑾峰彇鏈繃鏈熷叕鍛婃暟閲�
+export function noticesList(params) {
+  return request({
+    url: '/collaborativeApproval/notice/page',
+    method: 'get',
+    params: params
+  })
+}
+
+// 鍙戦�佸鎴风鎺ㄩ�佹爣璇嗗埌鏈嶅姟鍣�
+export function updateClientId(data) {
+  return request({
+    url: '/system/client/addOrUpdateClientId',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 鏌ヨ鍏憡鍒楄〃
+export function listNotice(query) {
+  return request({
+    url: '/system/notice/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 鑾峰彇鏈娑堟伅鏁伴噺
+export function getNoticeCount(consigneeId) {
+  return request({
+    url: '/system/notice/getCount',
+    method: 'get',
+    params: { consigneeId }
+  })
+}
+
+// 鏍囪娑堟伅涓哄凡璇�
+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