You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
2.9 KiB
144 lines
2.9 KiB
import http from '../common/axios.js'
|
|
|
|
//销售相关接口
|
|
export default {
|
|
//获取销售人员详情
|
|
member(data = {}) {
|
|
let url = '/member/member'
|
|
return http.get(url, data).then(res => {
|
|
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'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//跟进记录
|
|
followList(data={}) {
|
|
let url = '/member/follow_list'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//拨打电话记录列表
|
|
listCallUp(data={}) {
|
|
let url = '/member/list_call_up'
|
|
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'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
|
|
//已签客户列表
|
|
signClient(data = {}) {
|
|
let url = '/member/sign_client'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
//添加拨打电话记录
|
|
setCallUp(data = {}) {
|
|
let url = '/member/set_call_up'
|
|
return http.get(url, data).then(res => {
|
|
return res;
|
|
})
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|