performanceTarget.ts 535 B

12345678910111213141516171819
  1. import request from '@/config/axios'
  2. export interface CrmStatisticsPerformanceTargetRespVO {
  3. month: number // 月份
  4. targetPrice: number // 目标金额
  5. currentPrice: number // 完成金额
  6. completionRate: number // 完成率
  7. }
  8. // 业绩目标完成情况 API
  9. export const StatisticsPerformanceTargetApi = {
  10. // 获得业绩目标完成情况
  11. getPerformanceTargetSummary: (params: any) => {
  12. return request.get({
  13. url: '/crm/statistics-performance-target/get-performance-target-summary',
  14. params
  15. })
  16. }
  17. }