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

31 lines
577 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 addMaintenance(data) {
  21. return http({
  22. url: '/showpiece/addMaintenance',
  23. method: 'POST',
  24. data,
  25. needToken: true
  26. })
  27. },
  28. }