useGetData.ts 685 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. export const columns = [
  2. {
  3. title: 'Customer Name',
  4. dataIndex: 'merchandiseEnglishName',
  5. },
  6. {
  7. title: 'Clue Encoding',
  8. dataIndex: 'affiliationBrandName',
  9. },
  10. {
  11. title: 'Clue Status',
  12. dataIndex: 'sellPrice',
  13. },
  14. {
  15. title: 'Commission(USD)',
  16. dataIndex: 'sellPrice',
  17. },
  18. {
  19. title: 'Commission Status',
  20. dataIndex: 'state',
  21. },
  22. ]
  23. export const useGetData = () => {
  24. const condition = ref({
  25. year: '',
  26. })
  27. const clientList = ref([])
  28. const clientLoading = ref(false)
  29. const orderList = ref([])
  30. const orderLoading = ref(false)
  31. return {
  32. condition,
  33. clientList,
  34. orderList,
  35. clientLoading,
  36. orderLoading,
  37. }
  38. }