cost.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. }
  44. /**
  45. * 单位会费代缴查询
  46. * @param {Object} data 参数
  47. */
  48. export function dept(data) {
  49. return request({
  50. 'url': '/cost/dept',
  51. headers: {
  52. isToken: true
  53. },
  54. 'method': 'post',
  55. 'data': data
  56. })
  57. }
  58. /**
  59. * 单位会费支付
  60. * @param {Object} data 参数
  61. */
  62. export function deptPayment(data) {
  63. return request({
  64. 'url': '/cost/dept/payment',
  65. headers: {
  66. isToken: true
  67. },
  68. 'method': 'post',
  69. 'data': data
  70. })
  71. }