展品维保小程序前端代码接口
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.

51 lines
941 B

  1. import http from "@/api/http";
  2. export default {
  3. // 查看展品信息列表
  4. async queryShowpieceList(data) {
  5. return http({
  6. url: '/showpiece/queryShowpieceList',
  7. method: 'GET',
  8. data
  9. })
  10. },
  11. // 查看维修记录列表
  12. async queryRepairList(data) {
  13. return http({
  14. url: '/showpiece/queryRepairList',
  15. method: 'GET',
  16. data
  17. })
  18. },
  19. // 查看保养记录
  20. async queryMaintenanceList(data) {
  21. return http({
  22. url: '/showpiece/queryMaintenanceList',
  23. method: 'GET',
  24. data
  25. })
  26. },
  27. // 保养-新增保养记录
  28. async addMaintenance(data) {
  29. return http({
  30. url: '/showpiece/addMaintenance',
  31. method: 'POST',
  32. data,
  33. needToken: true
  34. })
  35. },
  36. // 报修- 查看报修单列表
  37. async queryMalfunctionList(data) {
  38. return http({
  39. url: '/showpiece/queryMalfunctionList',
  40. method: 'GET',
  41. data
  42. })
  43. },
  44. // chakan
  45. }