config.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. export const TREND = { UP: 'up', DOWN: 'down', STABILIZATION: 'stabilization' }
  2. // 统计区
  3. export const statisticalArea = [
  4. {
  5. name: '会员统计',
  6. list: [
  7. { name: '会员总数', trend: '', field: 'memberStatistics.memberTotal' },
  8. { name: '普通会员统计', trend: '', field: 'memberStatistics.normalMemberTotal' },
  9. { name: '团长数量', trend: '', field: 'memberStatistics.headquarterTotal' },
  10. { name: '合伙人数量', trend: '', field: 'memberStatistics.partnerTotal' }
  11. ]
  12. },
  13. {
  14. name: '订单统计',
  15. list: [
  16. { name: '订单总量', trend: '', field: 'orderStatistics.orderTotal' },
  17. { name: '今日单量', trend: '', field: 'orderStatistics.todayOrderTotal' },
  18. { name: '今日完成订单', trend: '', field: 'orderStatistics.todayFinishOrderTotal' }
  19. ]
  20. },
  21. {
  22. name: '财务统计',
  23. list: [
  24. { decimalPlaces: 2, name: '总交易额', trend: '', field: 'financeStatistics.totalTransactionAmount' },
  25. { decimalPlaces: 2, name: '代金券总支出', field: 'financeStatistics.totalCouponAmount' },
  26. { decimalPlaces: 2, name: '今日交易额', trend: '', field: 'financeStatistics.todayTransactionAmount' },
  27. { decimalPlaces: 2, name: '今日代金券支出', trend: '', field: 'financeStatistics.todayCouponAmount' }
  28. ]
  29. }
  30. ]
  31. export const partnerTotalConfig = [
  32. { name: '师傅数量', trend: '', field: 'masterWorkerQuantity' },
  33. { name: '会员总量', trend: '', field: 'memberTotal' },
  34. { name: '团长总量', trend: '', field: 'headquarterTotal' },
  35. { name: '合伙人总量', trend: '', field: 'partnerTotal' }
  36. ]