Newer
Older
smart-metering-front / src / api / customer / bench.ts
/**
 * 工作台
 */
import request from '../index'
// import type { ICustomerQuery } from '@/views/customer/customerInfo/customer_interface'
const prefix = '/customer'

// 样品新增趋势
export function getSampleAddData() {
  return request({
    url: `${prefix}/workbench/sample/increaseTrend`,
    method: 'post',
  })
}

// 样品到期趋势
export function getSampleExpireData() {
  return request({
    url: `${prefix}/workbench/sample/expireTrend`,
    method: 'post',
  })
}

// 客户新增趋势
export function getCustomerExpireData() {
  return request({
    url: `${prefix}/workbench/increaseTrend`,
    method: 'post',
  })
}

// 优质客户名单
export function getHighQualityCustomerList() {
  return request({
    url: `${prefix}/workbench/excellentList`,
    method: 'post',
  })
}