yyb
5 天以前 05eb7f660c2968afcfa5d8c961a17d5bf9964d2f
src/api/basicData/customerFile.js
@@ -9,6 +9,41 @@
        params: query
    })
}
// 查询地区列表
export function listCustomerRegions(query) {
    return request({
        url: '/customerRegions/list',
        method: 'get',
        params: query
    })
}
// 新增地区
export function addCustomerRegions(data) {
    return request({
        url: '/customerRegions/add',
        method: 'post',
        data
    })
}
// 修改地区
export function updateCustomerRegions(data) {
    return request({
        url: '/customerRegions/update',
        method: 'put',
        data
    })
}
// 删除地区
export function delCustomerRegions(id) {
    return request({
        url: '/customerRegions/' + id,
        method: 'delete'
    })
}
// 查询客户档案详细
export function getCustomer(id) {
    return request({
@@ -74,4 +109,20 @@
        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'
    })
}