普兆健康管家前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
961 B

  1. // 报告相关接口
  2. const api = {
  3. // 近期报告
  4. getRecentReport: {
  5. url: '/paper/recentReport',
  6. method: 'GET',
  7. auth: true,
  8. },
  9. // 试卷查询
  10. getPaperList: {
  11. url: '/paper/paper',
  12. method: 'GET',
  13. auth: true,
  14. },
  15. // 试卷详情
  16. getPaperDetail: {
  17. url: '/paper/paperDetail',
  18. method: 'GET',
  19. auth: true,
  20. limit : 500,
  21. showLoading : true,
  22. },
  23. // 开始答题
  24. startPaper: {
  25. url: '/paper/start',
  26. method: 'GET',
  27. auth: true,
  28. },
  29. // 选择-输入完成答案
  30. answerPaper: {
  31. url: '/paper/answer',
  32. method: 'GET',
  33. auth: true,
  34. },
  35. // 提交试卷
  36. submitPaper: {
  37. url: '/paper/submit',
  38. method: 'GET',
  39. auth: true,
  40. },
  41. // 试卷下的报告列表
  42. getReportByPaperId: {
  43. url: '/paper/reportById',
  44. method: 'GET',
  45. auth: true,
  46. limit : 500,
  47. showLoading : true,
  48. },
  49. // 报告详情
  50. getReportDetail: {
  51. url: '/paper/reportDetail',
  52. method: 'GET',
  53. auth: true,
  54. showLoading : true,
  55. },
  56. }
  57. export default api