user.js 1.31 KB
/*
 * @Description: 售后数据
 * @Author: huyue
 * @Date: 2022-06-28 16:55:48
 * @LastEditors: 前端 qianduan01@didihu.com.cn
 * @LastEditTime: 2022-10-27 15:23:24
 */
// 私域用户池总览数据
const getoverview = params => {
  return window.$HTTP.get('/privateDomainUserPool/getoverview', params)
}

// 客户年龄分布/车价占比/购车年限分布/里程分布
const getDistribution = params => {
  return window.$HTTP.get('privateDomainUserPool/getDistribution', params)
}
// 用户数、企微客户数、企微群数、小程序、个微客户数 趋势图
const getTrend = params => {
  return window.$HTTP.get('privateDomainUserPool/getTrend', params)
}
const getCustomerValueAnalysis = params => {
  return window.$HTTP.get('privateDomainUserPool/getCustomerValueAnalysis', params)
}
const getValueDistribution = params => {
  return window.$HTTP.get('privateDomainUserPool/getValueDistribution', params)
}

// // 获取品牌售后其他信息
// const aftersaleother = params => {
//   return window.$HTTP.get('brand/aftersaleother', params)
// }

// // 获取门店品牌售后其他信息
// const afterMerchantSaleother = params => {
//   return window.$HTTP.get('merchant/aftersaleother', params)
// }

export default { getoverview, getDistribution, getTrend, getCustomerValueAnalysis, getValueDistribution }