detail.js 1.83 KB
const url = '/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.163:8080/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,
		})
	},

	/** 根据Id获取客户跟进记录列表 */
	getCustomerRecord (data) {
		data.method = 'entmicro.api.customer.record'
		return window.$HTTP({
			url,
			data
		})
	},

	/** 获取业主类型列表 */
	getOwnerTypeListApi (data) {
		data.method = 'entmicro.api.common.dictdata.list'
		return window.$HTTP({
			url,
			data
		})
	},

	
	/** 查询业主住户和楼栋信息 */
	getRoomListApi (data) {
		data.method = 'entmicro.api.property.room.page'
		return window.$HTTP({
			url,
			data
		})
	},

	/** 获取业主信息 */
	getOwnerInfoApi (data) {
		data.method = 'entmicro.api.customer.property.message.get'
		return window.$HTTP({
			url,
			data
		})
	},

	/** 修改业主信息 */
	updateOwnerInfoApi (data) {
		data.method = 'entmicro.api.customer.property.message.update'
		return window.$HTTP({
			url,
			data
		})
	},
}