From f6c1cedccb4e06db9a5a7e0dc381d290644a94a8 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 26 五月 2026 13:51:58 +0800
Subject: [PATCH] 1
---
src/api/customerService/index.js | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/src/api/customerService/index.js b/src/api/customerService/index.js
index 560ffe6..e115ae8 100644
--- a/src/api/customerService/index.js
+++ b/src/api/customerService/index.js
@@ -99,4 +99,43 @@
url: '/afterSalesNearExpiryService/delete?ids=' + ids,
method: 'delete',
})
-}
\ No newline at end of file
+}
+
+// 鏌ヨ鎵�鏈夊鎴蜂俊鎭�
+// /basic/customer/list
+export function getAllCustomerList(query) {
+ return request({
+ url: '/basic/customer/list',
+ method: 'get',
+ params: query,
+ })
+}
+
+// 鏍规嵁瀹㈡埛鏌ヨ閿�鍞鍗曞彿
+// afterSalesService/listSalesLedger
+export function getSalesLedger(query) {
+ return request({
+ url: '/afterSalesService/listSalesLedger',
+ method: 'get',
+ params: query,
+ })
+}
+
+// 鏍规嵁閿�鍞鍗曞彿鏌ヨ閿�鍞鍗曡鎯�
+// afterSalesService/count
+export function getSalesLedgerDetail(query) {
+ return request({
+ url: '/afterSalesService/count',
+ method: 'get',
+ params: query,
+ })
+}
+
+// 鍞悗鍗曡鎯�
+export function getAfterSalesServiceById(id) {
+ return request({
+ url: '/afterSalesService/getById',
+ method: 'get',
+ params: { id }
+ })
+}
--
Gitblit v1.9.3