report.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. // 报告模块
  2. import { httpGet, httpPost } from "@/utils/request.js";
  3. /**
  4. * 研报详情
  5. * @param report_id
  6. */
  7. export const apiReportDetail=params=>{
  8. return httpGet('/report/detail',params)
  9. }
  10. /**
  11. * 章节详情
  12. * @param report_chapter_id
  13. */
  14. export const apiChapterDetail=params=>{
  15. return httpGet('/report/chapter/detail',params)
  16. }
  17. /**
  18. * 研报首页顶部权限菜单
  19. */
  20. export const apiReportIndexPageAuthList=()=>{
  21. return httpGet('/company/getPermissionList',{})
  22. }
  23. /**
  24. * 研报首页报告列表
  25. * @param chart_permission_id
  26. */
  27. export const apiReportIndexPageList=params=>{
  28. return httpGet('/report/collect',params)
  29. }
  30. /**
  31. * 研报搜索
  32. * @param key_word
  33. */
  34. export const apiReportSearch=params=>{
  35. return httpGet('/report/search',params)
  36. }
  37. /**
  38. * 分类数据
  39. */
  40. export const apiReportClassify=()=>{
  41. return httpGet('/classify/ficc',{})
  42. }
  43. /**
  44. * 研报列表
  45. * @param classify_id_first
  46. * @param key_word
  47. */
  48. export const apiReportList=params=>{
  49. return httpGet('/report/list',params)
  50. }
  51. /**
  52. * 二级分类列表
  53. * @param classify_id_first
  54. * @param classify_id_second
  55. */
  56. export const apiSubClassifyList=params=>{
  57. return httpGet('/classify/simple/list',params)
  58. }
  59. /**
  60. * 专栏列表
  61. * @param classify_id_first
  62. */
  63. export const apiSpecialColumnList=params=>{
  64. return httpGet('/classify/list',params)
  65. }
  66. /**
  67. * 专栏详情
  68. * @param classify_id_second
  69. */
  70. export const apiSpecialColumnDetail=params=>{
  71. return httpGet('/classify/detail',params)
  72. }
  73. /**
  74. * 专栏详情中目录
  75. * @param classify_id_second
  76. * @param current_index
  77. * @param page_size
  78. */
  79. export const apiSpecialColumnReportList=params=>{
  80. return httpGet('/classify/detail/reports',params)
  81. }
  82. /**
  83. * 章节详情中指标数据
  84. * @param report_chapter_id
  85. */
  86. export const apiChapterTickerValue=params=>{
  87. return httpGet('/report/chapter/ticker',params)
  88. }
  89. /**
  90. * 报告对应的ppt图片
  91. * @param report_id 报告id
  92. * @param report_chapter_id 报告章节id
  93. */
  94. export const apiReportPPtImgs=params=>{
  95. return httpGet('/report/ppt_img',params)
  96. }
  97. /**
  98. * 品种类型报告中品种筛选项
  99. * @param classify_id 分类id
  100. */
  101. export const apiGoodsPermissionList=params=>{
  102. return httpGet('/company/permission/commodities',params)
  103. }
  104. /**
  105. * 按品种查询报告列表
  106. * @param chart_permission_id 品种id
  107. * @param classify_id 分类id
  108. * @param current_index
  109. * @param page_size
  110. */
  111. export const apiReportListForVariety=params=>{
  112. return httpGet('/report/variety/list',params)
  113. }
  114. /**
  115. * 获取列表类型报告中的子目录数据
  116. * @param classify_id
  117. */
  118. export const apiReportClassifyMenuList=params=>{
  119. return httpGet('/classify/menu/list',params)
  120. }