clewApi.js
749 Bytes
const url = '/rop-scrm-wwbench/router'
// const url = 'http://192.168.1.78:8064/rop-scrm-entmicro/router'
export default {
/** 工作台-线索管理列表 */
getClueList(data) {
data.method = 'scrm.api.wwbench.clue.listByUser'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/** 工作台-线索管理-详情 */
getClueDetail(data) {
data.method = 'scrm.api.wwbench.clue.updateTaskStatus'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/** 工作台-线索管理-添加跟进记录 */
addFollow(data) {
data.method = 'scrm.api.wwbench.clue.follow.insertOrUpdate'
return window.$HTTP({
url,
data,
returnAll: true
})
}
}