system.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import { DefineApiModule, System } from 'api-type'
  2. const SystemApi: DefineApiModule<System.ApiMap> = {
  3. /** 评卷数据导入 */
  4. importMarkingData: {
  5. url: '/api/student/import',
  6. headers: {
  7. 'Content-Type': 'multipart/form-data',
  8. },
  9. },
  10. /** 获取培训卷RF卷评分标准路径 */
  11. getImportFilePath: '/api/reference/paper/file/path',
  12. /** 导入培训卷 */
  13. importSamplePaper: {
  14. url: '/api/reference/paper/import/samp',
  15. headers: {
  16. 'Content-Type': 'multipart/form-data',
  17. },
  18. },
  19. /** 导入培训卷 */
  20. importRfPaper: {
  21. url: '/api/reference/paper/import/rf',
  22. headers: {
  23. 'Content-Type': 'multipart/form-data',
  24. },
  25. },
  26. /** CET成绩列表 */
  27. getCetScoreList: '/api/student/page',
  28. /** CET成绩导出接口 */
  29. exportCetScoreList: {
  30. url: '/api/student/export',
  31. download: true,
  32. },
  33. /** 任务设置 - 按评卷员设置 */
  34. markerSetCount: {
  35. url: '/api/user/marker/add/count',
  36. headers: {
  37. 'Content-Type': 'application/json',
  38. },
  39. },
  40. /** 任务设置 - 按小组追加 */
  41. markGroupUpdateCount: '/api/user/marker/update/count',
  42. /** 任务设置-获取任务计划 */
  43. getTaskDetail: '/api/mark/task/count/datail',
  44. /** 任务设置-获取剩余任务 */
  45. getUnMarkTasks: '/api/mark/task/count/unmark',
  46. }
  47. export default SystemApi