report.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /**
  2. * 报告模块
  3. */
  4. import {get,post} from './http'
  5. /**
  6. * 研报详情
  7. * @param report_id
  8. */
  9. export const apiReportDetail=params=>{
  10. return get('/report/detail',params)
  11. }
  12. /**
  13. * 章节详情
  14. * @param report_chapter_id
  15. */
  16. export const apiChapterDetail=params=>{
  17. return get('/report/chapter/detail',params)
  18. }
  19. /**
  20. * 研报首页顶部权限菜单
  21. */
  22. export const apiReportIndexPageAuthList=()=>{
  23. return get('/company/getPermissionList',{})
  24. }
  25. /**
  26. * 研报首页报告列表
  27. * @param chart_permission_id
  28. */
  29. export const apiReportIndexPageList=params=>{
  30. return get('/report/collect',params)
  31. }
  32. /**
  33. * 研报搜索
  34. * @param key_word
  35. */
  36. export const apiReportSearch=params=>{
  37. return get('/report/search',params)
  38. }
  39. /**
  40. * 分类数据
  41. */
  42. export const apiReportClassify=()=>{
  43. return get('/pc/classify',{})
  44. }
  45. /**
  46. * 研报列表
  47. * @param classify_id_first
  48. * @param key_word
  49. */
  50. export const apiReportList=params=>{
  51. return get('/report/list',params)
  52. }
  53. /**
  54. * 二级分类列表
  55. * @param classify_id_first
  56. */
  57. export const apiSubClassifyList=params=>{
  58. return get('/classify/simple/list',params)
  59. }
  60. /**
  61. * 专栏列表
  62. * @param classify_id_first
  63. */
  64. export const apiSpecialColumnList=params=>{
  65. return get('/classify/list',params)
  66. }
  67. /**
  68. * 专栏详情
  69. * @param classify_id_second
  70. */
  71. export const apiSpecialColumnDetail=params=>{
  72. return get('/classify/detail',params)
  73. }
  74. /**
  75. * 专栏详情中目录
  76. * @param classify_id_second
  77. * @param current_index
  78. * @param page_size
  79. */
  80. export const apiSpecialColumnReportList=params=>{
  81. return get('/classify/detail/reports',params)
  82. }
  83. /**
  84. * 章节详情中指标数据
  85. * @param report_chapter_id
  86. */
  87. export const apiChapterTickerValue=params=>{
  88. return get('/report/chapter/ticker',params)
  89. }
  90. /**
  91. * 研报首页上新公告背景图
  92. */
  93. export const apiReportIndexNewbanner=()=>{
  94. return get('/pc/banner',{})
  95. }
  96. /**
  97. * 研报首页上新公共内容
  98. */
  99. export const apiReportIndexNew=params=>{
  100. return get('/pc/latest_release',params)
  101. }
  102. /**
  103. * 专栏详情中客户评价
  104. */
  105. export const apiSpecialColumnComment=params=>{
  106. return get('/pc/comment',params)
  107. }
  108. /**
  109. * 首页最新资讯
  110. */
  111. export const apiLatestNews=()=>{
  112. return get('/pc/latest_news')
  113. }