cost.js 685 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import request from '@/utils/request'
  2. /**
  3. * 会费缴交列表
  4. * @param {Object} data 参数
  5. */
  6. export function list() {
  7. return request({
  8. 'url': '/cost/list',
  9. headers: {
  10. isToken: true
  11. },
  12. 'method': 'get',
  13. 'data': null
  14. })
  15. }
  16. /**
  17. * 个人会费代缴查询
  18. * @param {Object} data 参数
  19. */
  20. export function person(data) {
  21. return request({
  22. 'url': '/cost/person',
  23. headers: {
  24. isToken: true
  25. },
  26. 'method': 'post',
  27. 'data': data
  28. })
  29. }
  30. /**
  31. * 个人会费支付
  32. * @param {Object} data 参数
  33. */
  34. export function personPayment(data) {
  35. return request({
  36. 'url': '/cost/person/payment',
  37. headers: {
  38. isToken: true
  39. },
  40. 'method': 'post',
  41. 'data': data
  42. })
  43. }