|
|
|
@ -9,64 +9,6 @@ export default { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//修改销售人员详情
|
|
|
|
memberEdit(data = {}) { |
|
|
|
let url = '/member/member_edit' |
|
|
|
return http.post(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//线索列表
|
|
|
|
salesList(data = {}) { |
|
|
|
let url = '/member/sales_list' |
|
|
|
return http.get(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//转移跟进任务
|
|
|
|
createTask(data = {}) { |
|
|
|
let url = '/member/create_task' |
|
|
|
return http.post(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//写新跟进
|
|
|
|
createFollow(data = {}) { |
|
|
|
let url = '/member/create_follow' |
|
|
|
return http.post(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//小区列表
|
|
|
|
getCampusesList(data = {}) { |
|
|
|
let url = '/member/get_campuses_list' |
|
|
|
return http.get(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//添加线索
|
|
|
|
setSales(data) { |
|
|
|
let url = '/member/set_sales' |
|
|
|
return http.post(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//我的客户
|
|
|
|
myClient(data) { |
|
|
|
let url = '/member/my_client' |
|
|
|
return http.post(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//客户详情
|
|
|
|
clientInfo(data={}) { |
|
|
|
let url = '/member/client_info' |
|
|
|
@ -74,32 +16,6 @@ export default { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//跟进记录
|
|
|
|
followList(data={}) { |
|
|
|
let url = '/member/follow_list' |
|
|
|
return http.get(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//公海-领取客户
|
|
|
|
getSales(data = {}) { |
|
|
|
let url = '/member/get_sales' |
|
|
|
return http.get(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//客户列表-- 查重
|
|
|
|
clientList(data = {}) { |
|
|
|
let url = '/member/client_list' |
|
|
|
return http.get(url, data).then(res => { |
|
|
|
return res; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
//数据页面
|
|
|
|
performance(data = {}) { |
|
|
|
let url = '/member/performance' |
|
|
|
|