customerreport.js 601 Bytes
Newer Older
lanbaoming's avatar
lanbaoming committed
1 2
import request from '@/utils/request'

lanbaoming's avatar
lanbaoming committed
3
//2024-05-01合并
lanbaoming's avatar
lanbaoming committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//lanbm 2024-03-31 add
//获取报表统计结果
export function getReportResult(data) {
  return request({
    url: '/Report/CustomerReport/getPageList',
    method: 'post',
    data
  })
}

export function getBarData(data) {
  return request({
    url: '/Report/CustomerReport/getBarData',
    method: 'post',
    data: data
  })
}


23
// 导出测试 Excel 2024-04-27
lanbaoming's avatar
lanbaoming committed
24 25 26 27 28 29 30 31
export function exportExcel(query) {
  return request({
    url: '/Report/CustomerReport/exportExcel',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}