chart.js 899 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // 图库模块
  2. import { httpGet, httpPost } from "@/utils/request.js";
  3. /**
  4. * 图库列表
  5. * @param Keywords 搜索关键词
  6. * @param ClassifyId 图表类型ID
  7. * @param Page
  8. * @param Limit
  9. * @returns
  10. */
  11. export const apiChartList=params=>{
  12. return httpGet('/my_chart/getChartList',params)
  13. }
  14. /**
  15. * 图库分类
  16. * @param Keywords 搜索关键词
  17. */
  18. export const apiChartClassifyList=params=>{
  19. return httpGet('/my_chart/getChartChassify',params)
  20. }
  21. /**
  22. * 图库移动排序
  23. * @param MyChartId
  24. * @param MyChartClassifyId
  25. * @param PrevMyChartId
  26. * @param NextMyChartId
  27. */
  28. export const apiChartMove=params=>{
  29. return httpPost('/my_chart/moveMyChart',params)
  30. }
  31. /**
  32. * 分类移动排序
  33. * @param MyChartClassifyId
  34. * @param PrevClassifyId
  35. * @param NextClassifyId
  36. */
  37. export const apiClassifyMove=params=>{
  38. return httpPost('/my_chart/moveMyChartClassify',params)
  39. }