testing.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. //获取历史报告
  4. async getReportList(form, msg = true) {
  5. return httpApi({
  6. url: '/api/blade-archive/archiveExaminingReport/getList',
  7. method: 'get',
  8. params: form,
  9. }, msg);
  10. },
  11. //一键检测
  12. async getExamining(form, msg = true) {
  13. return httpApi({
  14. url: '/api/blade-archive/archiveExaminingReport/getExamining',
  15. method: 'get',
  16. params: form,
  17. }, msg);
  18. },
  19. //获取检测报告状态
  20. async getReportStatus(form, msg = true) {
  21. return httpApi({
  22. url: '/api/blade-archive/archiveExaminingReport/getReportStatus',
  23. method: 'get',
  24. params: form,
  25. }, msg);
  26. },
  27. // 获取当前正在检测的报告信息/blade-archive/archiveExaminingReport/getCurrentExaminingInfo
  28. async getCurrentExaminingInfo(form, msg = true) {
  29. return httpApi({
  30. url: '/api/blade-archive/archiveExaminingReport/getCurrentExaminingInfo',
  31. method: 'get',
  32. params: form,
  33. }, msg);
  34. },
  35. }