system.ts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import { DefineApiModule } from '@/api/api'
  2. import { System } from '@/api/api-types/system'
  3. const SystemApi: DefineApiModule<System.ApiMap> = {
  4. /** 评卷数据导入 */
  5. importMarkingData: {
  6. url: '/api/student/import',
  7. headers: {
  8. 'Content-Type': 'multipart/form-data',
  9. },
  10. timeout: 0,
  11. },
  12. /** 创建评卷分配表 */
  13. exportStudentTask: {
  14. url: '/api/student/task/export',
  15. download: true,
  16. timeout: 0,
  17. },
  18. /** 获取培训卷RF卷评分标准路径 */
  19. getImportFilePath: '/api/reference/paper/file/path',
  20. /** 导入培训卷 */
  21. importSamplePaper: {
  22. url: '/api/reference/paper/import/samp',
  23. headers: {
  24. 'Content-Type': 'multipart/form-data',
  25. },
  26. timeout: 0,
  27. },
  28. /** 导入RF卷 */
  29. importRfPaper: {
  30. url: '/api/reference/paper/import/rf',
  31. headers: {
  32. 'Content-Type': 'multipart/form-data',
  33. },
  34. timeout: 0,
  35. },
  36. /** CET成绩列表 */
  37. getCetScoreList: '/api/student/page',
  38. /** CET成绩导出接口 */
  39. exportCetScoreList: {
  40. url: '/api/student/export',
  41. download: true,
  42. timeout: 0,
  43. },
  44. /**删除单条导入导出的记录 */
  45. removeImportOrExport: '/api/operate/task/remove',
  46. /** 导入导出记录 */
  47. imortAndExportList: '/api/operate/task/page',
  48. /** 任务设置 - 按评卷员设置 */
  49. markerSetCount: {
  50. url: '/api/user/marker/add/count',
  51. headers: {
  52. 'Content-Type': 'application/json',
  53. },
  54. },
  55. /** 任务设置 - 按小组追加 */
  56. markGroupUpdateCount: '/api/user/marker/update/count',
  57. /** 任务设置-获取任务计划 */
  58. getTaskDetail: '/api/mark/task/count/datail',
  59. /** 任务设置-获取剩余任务 */
  60. getUnMarkTasks: '/api/mark/task/count/unmark',
  61. /** 考生数据导入状态 */
  62. getStudentImportStatus: '/api/student/import/status',
  63. }
  64. export default SystemApi