Commit f4b67a6d by chenwq

window.$HTTP

1 parent 9c0a3b06
......@@ -5,27 +5,24 @@
* @LastEditors: huyue
* @LastEditTime: 2022-06-28 19:13:34
*/
import Request from '../request'
var request = new Request()
// 品牌-售后档案客户
const getAfterSale = params => {
return request.get('brand/aftersale', params)
return window.$HTTP.get('brand/aftersale', params)
}
// 门店-售后档案客户
const getMerchantAfterSale = params => {
return request.get('merchant/aftersale', params)
return window.$HTTP.get('merchant/aftersale', params)
}
// 获取品牌售后其他信息
const aftersaleother = params => {
return request.get('brand/aftersaleother', params)
return window.$HTTP.get('brand/aftersaleother', params)
}
// 获取门店品牌售后其他信息
const afterMerchantSaleother = params => {
return request.get('merchant/aftersaleother', params)
return window.$HTTP.get('merchant/aftersaleother', params)
}
export default { getAfterSale, aftersaleother,afterMerchantSaleother,getMerchantAfterSale }
export default { getAfterSale, aftersaleother, afterMerchantSaleother, getMerchantAfterSale }
import Request from '../request'
var request = new Request()
// window.$HTTP
export default {
/**获取品牌名称*/
getBrandList () {
return request.get('brand/getBrandName', {
return window.$HTTP.get('brand/getBrandName', {
req: {
queryTime: window.vm.getCurrentDate()
}
......
import Request from '../request'
var request = new Request()
// 获取品牌年龄/性别/购车年限
const overalldistribution = params => {
return request.get('brand/overalldistribution', params)
return window.$HTTP.get('brand/overalldistribution', params)
}
// 获取门店年龄/性别/购车年限
const merchantOveralldistribution = params => {
return request.get('merchant/overalldistribution', params)
return window.$HTTP.get('merchant/overalldistribution', params)
}
export default {
overalldistribution,
merchantOveralldistribution
}
\ No newline at end of file
}
import Request from '../request'
var request = new Request()
// window.$HTTP
export default {
/**获取品牌---总体模块信息(包括:总客户:total,企微客户:wechat,企微群:wechatGroup,小程序:applet,公众号:publiccus 的基础数据 和 前五排行/后五排行 ) */
getBrandOverallbase (req) {
return request.get('brand/overallbase', { req })
return window.$HTTP.get('brand/overallbase', { req })
},
/*获取品牌---总体模块趋势图指标(包括:总客户:total,企微客户:wechat,企微群:wechatGroup,小程序:applet,公众号:publiccus) */
getBrandOveralltrend (req) {
return request.get('brand/overalltrend', { req })
return window.$HTTP.get('brand/overalltrend', { req })
},
/* 获取门店总体相关信息 */
getMerchantOverallbase (req) {
return request.get('merchant/overallbase', { req })
return window.$HTTP.get('merchant/overallbase', { req })
},
/*获取门店---总体模块趋势图指标(包括:总客户:total,企微客户:wechat,企微群:wechatGroup,小程序:applet,公众号:publiccus) */
getMerchantOveralltrend (req) {
return request.get('merchant/overalltrend', { req })
return window.$HTTP.get('merchant/overalltrend', { req })
},
}
......@@ -5,47 +5,44 @@
* @LastEditors: huyue
* @LastEditTime: 2022-06-30 14:27:04
*/
import Request from '../request'
const request = new Request()
// 集团相关
// 获取品牌销售模块其他相关信息
const getSales = params => {
return request.get('brand/saleothers', params)
return window.$HTTP.get('brand/saleothers', params)
}
// 获取品牌销售转化总数居
const saleTotal = params => {
return request.get('brand/saletotal', params)
return window.$HTTP.get('brand/saletotal', params)
}
// 获取品牌销售转化信息
const saleTrans = params => {
return request.get('brand/saleTrans', params)
return window.$HTTP.get('brand/saleTrans', params)
}
// 获取品牌客流转化趋势
const saleTransTrend = params => {
return request.get('brand/saleTransTrend', params)
return window.$HTTP.get('brand/saleTransTrend', params)
}
// 门店相关
// 获取门店销售转化总数据
const storeTotal = params => {
return request.get('merchant/saletotal', params)
return window.$HTTP.get('merchant/saletotal', params)
}
// 获取门店销售转化相关信息
const storeSaleTrans = params => {
return request.get('merchant/saleTrans', params)
return window.$HTTP.get('merchant/saleTrans', params)
}
// 获取门店销售相关信息
const getMerchantSales = params => {
return request.get('merchant/sale', params)
return window.$HTTP.get('merchant/sale', params)
}
// 获取门店客流转化趋势
const storeTransTrend = params => {
return request.get('merchant/saleTransTrend', params)
return window.$HTTP.get('merchant/saleTransTrend', params)
}
export default {
getSales,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!