From f3f5a0c0db0b782401a9a0fcf6176312f420d941 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 25 三月 2026 14:01:19 +0800
Subject: [PATCH] 军泰伟业 1.不要树形结构。根据图纸编号为唯一索引添加产品并可以导入 2.要求可以上传图纸 3.产品可以绑定工艺路线 4.工艺路线改成由工序组成,新增编辑是工序可以挪动顺序 5.工序添加报工权限字段,可以多选人员
---
src/api/system/message.js | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/api/system/message.js b/src/api/system/message.js
index b046016..dd81cc5 100644
--- a/src/api/system/message.js
+++ b/src/api/system/message.js
@@ -10,26 +10,27 @@
}
// 鏌ヨ鏈娑堟伅鏁伴噺
-export function getUnreadCount() {
+export function getUnreadCount(consigneeId) {
return request({
url: "/system/notice/getCount",
method: "get",
+ params: { consigneeId },
});
}
// 鏍囪娑堟伅涓哄凡璇�
-export function markAsRead(noticeId) {
+export function markAsRead(noticeId, status) {
return request({
- url: "/system/notice/markAsRead",
- method: "post",
- data: { noticeId },
+ url: "/system/notice",
+ method: "put",
+ data: { noticeId, status },
});
}
// 涓�閿爣璁版墍鏈夋秷鎭负宸茶
export function markAllAsRead() {
return request({
- url: "/system/notice/markAllAsRead",
+ url: "/system/notice/readAll",
method: "post",
});
}
@@ -37,8 +38,8 @@
// 纭娑堟伅
export function confirmMessage(noticeId, status) {
return request({
- url: "/system/notice/confirm",
- method: "post",
+ url: "/system/notice",
+ method: "put",
data: { noticeId, status },
});
}
--
Gitblit v1.9.3