| | |
| | | }) |
| | | } |
| | | // 删除客户档案 |
| | | export function delCustomer(id) { |
| | | export function delCustomer(ids) { |
| | | return request({ |
| | | url: '/basic/customer/' + id, |
| | | method: 'delete' |
| | | url: '/basic/customer/delCustomer', |
| | | method: 'delete', |
| | | data: ids |
| | | }) |
| | | } |
| | | |
| | | |
| | | // 新增客户跟进 |
| | | 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', |
| | | }) |
| | | } |