客户跟进模块

This commit is contained in:
wuyibo
2023-05-09 20:10:57 +08:00
parent 05db667a80
commit dd94242a61
15 changed files with 2594 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
import request from '@/utils/request'
// 查询客户信息列表
export function listCustomer(query) {
return request({
url: '/system/customer/list',
method: 'get',
params: query
})
}
// 查询客户信息列表
export function listCustomerFollow(query) {
return request({
url: '/system/up/list',
method: 'get',
params: query
})
}
// 查询客户信息详细
export function getCustomer(id) {
return request({
url: '/system/customer/' + id,
method: 'get'
})
}
// 新增客户信息
export function addCustomer(data) {
return request({
url: '/system/customer',
method: 'post',
data: data
})
}
// 修改客户信息
export function updateCustomer(data) {
return request({
url: '/system/customer',
method: 'put',
data: data
})
}
// 新增客户跟进信息
export function addCustomerFollowRecerd(data) {
return request({
url: '/system/up',
method: 'post',
data: data
})
}
export function updateCustomerFollowRecerd(data) {
return request({
url: '/system/up',
method: 'put',
data: data
})
}
// 删除客户信息
export function delCustomer(id) {
return request({
url: '/system/customer/' + id,
method: 'delete'
})
}