From b7eb1da8220f5b72f6891c3c6471ca386604cce4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 10:38:21 +0800
Subject: [PATCH] feat(dashboard): 添加一袋一码首页并重构相关枚举常量
---
src/api/crm/receivable/index.ts | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/api/crm/receivable/index.ts b/src/api/crm/receivable/index.ts
index 35940b4..974be6e 100644
--- a/src/api/crm/receivable/index.ts
+++ b/src/api/crm/receivable/index.ts
@@ -98,9 +98,11 @@
return requestClient.download('/crm/receivable/export-excel', { params });
}
-/** 鎻愪氦瀹℃牳 */
-export function submitReceivable(id: number) {
- return requestClient.put(`/crm/receivable/submit?id=${id}`);
+/** 鏇存柊鍥炴鐨勭姸鎬侊紙瀹℃牳/鍙嶅鏍革級 */
+export function updateReceivableStatus(id: number, status: number) {
+ return requestClient.put('/crm/receivable/update-status', null, {
+ params: { id, status },
+ });
}
/** 鑾峰緱寰呭鏍稿洖娆炬暟閲� */
--
Gitblit v1.9.3