Commit ab407213 by 李伟康

commit

1 parent 1e3df194
const url = '/rop-scrm-entmicro/router' const url = '/rop-scrm-entmicro/router'
export default { export default {
/**全部活码接口 */ /**全部活码接口 */
getAllEntmicroChannelCodeList(data){ getAllEntmicroChannelCodeList(data) {
data.method = 'entmicro.api.code.listStaffEntmicroChannelCodeList' data.method = 'entmicro.api.code.listEntmicroChannelCodeList'
return window.$HTTP({ return window.$HTTP({
url, url,
data, data,
returnAll: true returnAll: true
}) })
}, },
/**引流获客列表 */ /**引流获客列表 */
getEntmicroChannelCodeList(data) { getEntmicroChannelCodeList(data) {
data.method = 'entmicro.api.code.listEntmicroChannelCodeList' data.method = 'entmicro.api.code.listStaffEntmicroChannelCodeList'
return window.$HTTP({ return window.$HTTP({
url, url,
data, data,
returnAll: true returnAll: true
}) })
}, },
/**变更客户信息 */ /**变更客户信息 */
editCustomer(data) { editCustomer(data) {
data.method = 'entmicro.api.customer.editcustomer' data.method = 'entmicro.api.customer.editcustomer'
return window.$HTTP({ return window.$HTTP({
url:window.$fetchConfig.tagUrl, url: window.$fetchConfig.tagUrl,
data, data
}) })
}, }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!