HandoverService.js 630 B

123456789101112131415161718192021222324252627282930313233
  1. import request from "../../../common/request"
  2. import { REGISTER_PATH as prefix } from "@/api/AppPath";
  3. export default {
  4. selectComplete () {
  5. return request({
  6. url: prefix + '/handover/selectComplete',
  7. method: 'get',
  8. params: {}
  9. })
  10. },
  11. save (inputForm) {
  12. return request({
  13. url: prefix + `/handover/save`,
  14. method: 'post',
  15. data: inputForm
  16. })
  17. },
  18. findById (id) {
  19. return request({
  20. url: prefix + '/handover/findById',
  21. method: 'get',
  22. params: {id: id}
  23. })
  24. },
  25. updateStatusById (param) {
  26. return request({
  27. url: prefix + '/handover/updateStatusById',
  28. method: 'post',
  29. data: param
  30. })
  31. },
  32. }