detail.js 1.01 KB
const url = '/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.78:8064/rop-scrm-entmicro/router'
export default {
	/**  侧边栏-客户跟进 */
	getCustomerDetail(data) {
		data.method = 'entmicro.api.customer.detail'
		return window.$HTTP({
			url,
			data,
		})
	},

	/**  侧边栏-群客户跟进-群基本信息 */
	getCustomerBaseDetail(data) {
		data.method = 'entmicro.api.customer.base.detail'
		return window.$HTTP({
			url,
			data,
		})
	},

	/**  侧边栏-群客户跟进-统计接口 */
	getCustomerBaseDetailStatics(data) {
		data.method = 'entmicro.api.customer.base.detail.statics'
		return window.$HTTP({
			url,
			data,
		})
	},
	/**  侧边栏-群客户跟进-群客户列表 */
	getCustomerCustList(data) {
		data.method = 'entmicro.api.customer.base.cust.list'
		return window.$HTTP({
			url,
			data,
		})
	},
	/**  侧边栏-群客户跟进-群员工列表 */
	getCustomerStaffList(data) {
		data.method = 'entmicro.api.customer.base.staff.list'
		return window.$HTTP({
			url,
			data,
		})
	}
}