reportupdateApi.js 876 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //研报更新管理
  2. import http from "@/api/http.js"
  3. /**
  4. * 获取停更的统计
  5. * @returns
  6. */
  7. export const pauseReportAll = params => {
  8. return http.get('/report/getStopDayWeekReportChapterTypeList',params)
  9. }
  10. /**
  11. * 获取暂停更新的报告
  12. * StopType stop - 暂停更新; disable - 永久停更
  13. * @returns
  14. */
  15. export const pauseReport = params => {
  16. return http.get('/report/getDayWeekReportChapterTypeList',params)
  17. }
  18. /**
  19. * 设置停更
  20. * ResearchType
  21. *List [ "ReportChapterTypeId": 19,"PauseStartTime": "2022-10-27","PauseEndTime": "2022-11-02"]
  22. */
  23. export const setPauseReport = params => {
  24. return http.post('/report/setDayWeekReportUpdateRule',params)
  25. }
  26. /**
  27. * 设置永久停
  28. * DayReportChapterTypeId
  29. * WeekReportChapterTypeId
  30. */
  31. export const setStopReport = params => {
  32. return http.post('/report/setDayWeekReportEnableUpdateRule',params)
  33. }