xlb-main-login
Version:
``` yarn install ```
66 lines (58 loc) • 1.59 kB
JavaScript
import { axios } from '@/utils/request'
import { wei_url } from './config'
// 客户沟通数据
export function getcustomerinfo(type, params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/staff/statistic/data/' + type,
method: 'get',
params,
})
}
// 客户沟通数据成员列表
export function getcustomeruserList(type, params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/staff/statistic/data/' + type + '/page',
method: 'get',
params,
})
}
// 客户沟通数据成员列表导出
export function memberExports(type, params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/staff/statistic/data/' + type + '/page/e',
method: 'get',
params,
})
}
// 群聊沟通数据
export function getgroupinfo(params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/chat/statistic/data/groupChat',
method: 'get',
params,
})
}
// 群聊沟通数据成员信息
export function getgrouplist(customType, params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/wechat/work/custom-send-msg/' + customType + '/',
method: 'get',
params,
})
}
// 活动总客户数
export function getactivitynum(params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/wechat/work/overview/info',
method: 'get',
params,
})
}
// 活动总入群数
export function getqungrouplist(params) {
return axios({
url: wei_url + '/demo-wechat-work/v1/wechat/work/overview/group',
method: 'get',
params,
})
}