yyb
11 小时以前 21c1360819a78ab734046fe6e0aa91b4da9f510a
src/api/basicData/customerFile.js
@@ -9,6 +9,7 @@
        params: query
    })
}
// 查询客户档案详细
export function getCustomer(id) {
    return request({
@@ -16,6 +17,7 @@
        method: 'get'
    })
}
// 新增客户档案
export function addCustomer(data) {
    return request({
@@ -24,6 +26,7 @@
        data: data
    })
}
// 修改客户档案
export function updateCustomer(data) {
    return request({
@@ -32,6 +35,7 @@
        data: data
    })
}
// 导出客户档案
export function exportCustomer(query) {
    return request({
@@ -41,6 +45,7 @@
        responseType: 'blob'
    })
}
// 删除客户档案
export function delCustomer(ids) {
    return request({
@@ -62,16 +67,17 @@
// 修改客户跟进
export function updateCustomerFollow(data) {
  return request({
    url: '/basic/customer-follow/edit',
    method: 'put',
    data: data,
  })
    return request({
        url: '/basic/customer-follow/edit',
        method: 'put',
        data: data,
    })
}
// 删除客户跟进
export function delCustomerFollow(id) {
    return request({
        url: '/basic/customer-follow/'+id,
        url: '/basic/customer-follow/' + id,
        method: 'delete',
    })
}
@@ -84,10 +90,20 @@
        data: data
    })
}
// 获取回访提醒详情
export function getReturnVisit(id) {
    return request({
        url: '/basic/customer-follow/return-visit/' + id,
        method: 'get'
    })
}
// 修改客户档案
export function transferCustomer(data) {
    return request({
        url: '/basic/customer/transferCustomer',
        method: 'patch',
        data: data
    })
}