Commit 47a12102 authored by dcy's avatar dcy

客户捞取,移交接口修改

parent 6859935c
import request from '@/utils/request'
import query from "@/views/ecw/customer/query";
// 创建客户
export function createCustomer(data) {
......@@ -104,9 +105,6 @@ export function handOverCustomer(data) {
url: '/ecw/customer/handOver',
method: 'put',
data: data,
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
}
})
}
......@@ -120,10 +118,14 @@ export function getPublicList(query) {
}
//捞取
export function setFishing(data){
export function setFishing(query){
return request({
url:'/ecw/customer/catch-open-sea-customer?id='+data.id,
url:'/ecw/customer/catch-open-sea-customer',
method:'put',
params:query,
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
}
})
}
//待分配 客户列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment