assay.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /** @format */
  2. import request from "@/utils/request";
  3. //我的申请列表
  4. export const getMiAuditApplyList = (params) => {
  5. return request({
  6. url: "/api/minaudit/order/getMiAuditApplyList",
  7. method: "get",
  8. params,
  9. });
  10. };
  11. // 备案查看
  12. export const getMiAuditApplyOneList = (id) => {
  13. return request({
  14. url: "/api/minaudit/order/getMiAuditApplyOneList/" + id,
  15. method: "get",
  16. });
  17. };
  18. // 备案查看列表
  19. export const getMiAuditApplyRoobtList = (params) => {
  20. return request({
  21. url: "/api/minaudit/order/getMiAuditApplyRoobtList",
  22. method: "get",
  23. params
  24. });
  25. };
  26. // 器具列表
  27. export const pageAudit = (params) => {
  28. return request({
  29. url: "/api/minaudit/order/page-audit",
  30. method: "get",
  31. params
  32. });
  33. };
  34. // 提交备案
  35. export const addMiAuditOrder = (data) => {
  36. return request({
  37. url: "/api/minaudit/order/addMiAuditOrder",
  38. method: "post",
  39. params: data,
  40. });
  41. // let f = new FormData();
  42. // Object.keys(data).forEach((key) => {
  43. // f.append(key, data[key]);
  44. // });
  45. // return request({
  46. // url: "/api/minaudit/order/addMiAuditOrder",
  47. // method: "post",
  48. // data: f,
  49. // });
  50. };
  51. //备案撤回
  52. export const backAudit = (query) => {
  53. return request({
  54. url: "/api/minaudit/order/back-audit",
  55. method: "post",
  56. params: query
  57. });
  58. };