ReimburseSubmitAccountService.js 814 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from "@/utils/httpRequest";
  2. import { REGISTER_PATH as prefix } from "../../AppPath";
  3. export default {
  4. list: function (params) {
  5. return request({
  6. url: prefix + '/reimburseSubmitAccount/list',
  7. method: 'get',
  8. params: params
  9. })
  10. },
  11. save (inputForm) {
  12. return request({
  13. url: prefix + `/reimburseSubmitAccount/save`,
  14. method: 'post',
  15. data: inputForm
  16. })
  17. },
  18. findById (id) {
  19. return request({
  20. url: prefix + '/reimburseSubmitAccount/findById',
  21. method: 'get',
  22. params: {id: id}
  23. })
  24. },
  25. updateStatusById (param) {
  26. return request({
  27. url: prefix + '/reimburseSubmitAccount/updateStatusById',
  28. method: 'post',
  29. data: param
  30. })
  31. },
  32. remove (id) {
  33. return request({
  34. url: prefix + '/reimburseSubmitAccount/remove',
  35. method: 'get',
  36. params: {id: id}
  37. })
  38. }
  39. }