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.
74 lines
1.1 KiB
74 lines
1.1 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.get(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;
|
|
})
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|