From c069a398226e8c6489b9c5c0036bf0553cc66495 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 16 十月 2026 10:28:21 +0800
Subject: [PATCH] feat(crm): 添加业务模块客户选择功能

---
 src/api/crm/customer/index.ts |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 874fbc3..2259fae 100644
--- a/src/api/crm/customer/index.ts
+++ b/src/api/crm/customer/index.ts
@@ -63,6 +63,21 @@
   );
 }
 
+/** 鏌ヨ涓氬姟妯″潡瀹㈡埛鍒楄〃锛堜笉鍙� CRM 璐熻矗浜烘潈闄愯繃婊わ級 */
+export function getBusinessCustomerPage(params: PageParam) {
+  return requestClient.get<PageResult<CrmCustomerApi.Customer>>(
+    '/crm/customer/business-page',
+    { params },
+  );
+}
+
+/** 鏌ヨ涓氬姟妯″潡鍏宠仈瀹㈡埛璇︽儏锛堜笉鍙� CRM 璐熻矗浜烘潈闄愯繃婊わ級 */
+export function getBusinessCustomer(id: number) {
+  return requestClient.get<CrmCustomerApi.Customer>(
+    `/crm/customer/business-get?id=${id}`,
+  );
+}
+
 /** 鏌ヨ瀹㈡埛璇︽儏 */
 export function getCustomer(id: number) {
   return requestClient.get<CrmCustomerApi.Customer>(

--
Gitblit v1.9.3