From d54ecccc11a8c9a342102aca7c126a16c385cbd2 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 17 四月 2026 10:00:13 +0800
Subject: [PATCH] Merge branch 'dev_天津_君歌化工' of http://114.132.189.42:9002/r/product-inventory-management into dev_天津_君歌化工
---
src/api/basicData/customerFile.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/src/api/basicData/customerFile.js b/src/api/basicData/customerFile.js
index c52b76e..489ccf5 100644
--- a/src/api/basicData/customerFile.js
+++ b/src/api/basicData/customerFile.js
@@ -9,6 +9,7 @@
params: query
})
}
+
// 鏌ヨ瀹㈡埛妗f璇︾粏
export function getCustomer(id) {
return request({
@@ -16,6 +17,7 @@
method: 'get'
})
}
+
// 鏂板瀹㈡埛妗f
export function addCustomer(data) {
return request({
@@ -24,6 +26,7 @@
data: data
})
}
+
// 淇敼瀹㈡埛妗f
export function updateCustomer(data) {
return request({
@@ -32,6 +35,7 @@
data: data
})
}
+
// 瀵煎嚭瀹㈡埛妗f
export function exportCustomer(query) {
return request({
@@ -41,6 +45,7 @@
responseType: 'blob'
})
}
+
// 鍒犻櫎瀹㈡埛妗f
export function delCustomer(ids) {
return request({
@@ -50,3 +55,55 @@
})
}
+
+// 鏂板瀹㈡埛璺熻繘
+export function addCustomerFollow(data) {
+ return request({
+ url: '/basic/customer-follow/add',
+ method: 'post',
+ data: data
+ })
+}
+
+// 淇敼瀹㈡埛璺熻繘
+export function updateCustomerFollow(data) {
+ return request({
+ url: '/basic/customer-follow/edit',
+ method: 'put',
+ data: data,
+ })
+}
+
+// 鍒犻櫎瀹㈡埛璺熻繘
+export function delCustomerFollow(id) {
+ return request({
+ url: '/basic/customer-follow/' + id,
+ method: 'delete',
+ })
+}
+
+// 鍥炶鎻愰啋-鏂板/鏇存柊
+export function addReturnVisit(data) {
+ return request({
+ url: '/basic/customer-follow/return-visit',
+ method: 'post',
+ data: data
+ })
+}
+
+// 鑾峰彇鍥炶鎻愰啋璇︽儏
+export function getReturnVisit(id) {
+ return request({
+ url: '/basic/customer-follow/return-visit/' + id,
+ method: 'get'
+ })
+}
+
+// 淇敼瀹㈡埛妗f
+export function transferCustomer(data) {
+ return request({
+ url: '/basic/customer/transferCustomer',
+ method: 'patch',
+ data: data
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3