index.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const showTotalBalance = data => {
  3. return https.get('/custom/show-total-balance', data)
  4. }
  5. export const setChange = data => {
  6. return https.post('/custom/set-change', data)
  7. }
  8. export const getGatheringCode = data => {
  9. return https.get('/custom/get-gathering-code', data)
  10. }
  11. export const getCustomBalanceChange = data => {
  12. return https.get('/custom-balance-change/list', data)
  13. }
  14. export const getCustomRechargeChange = data => {
  15. return https.get('/custom-recharge/list', data)
  16. }
  17. export const getCustomRechargeList = data => {
  18. return https.get('/custom-recharge/list', data)
  19. }
  20. export const rechargeFn = data => {
  21. return https.get('/custom/recharge', data)
  22. }
  23. export const modifySeatSnFn = data => {
  24. return https.get('/custom/modify-seat-sn', data)
  25. }
  26. export const createSeatSnFn = data => {
  27. return https.get('/custom/create-seat-sn', data)
  28. }
  29. export const modifyAddress = data => {
  30. return https.post('/custom/modify-address', data)
  31. }
  32. export const changeIsHd = data => {
  33. return https.get('/custom/change-is-hd', data)
  34. }
  35. export const modifyShortName = data => {
  36. return https.get('/custom/modify-short-name', data)
  37. }
  38. export const changeRiseRule = data => {
  39. return https.get('/custom/change-rise-rule', data)
  40. }
  41. export const modifyHomeParams = data => {
  42. return https.get('/custom/modify-home-amount', data)
  43. }
  44. export const modifyAllHomeParams = data => {
  45. return https.get('/custom/modify-all-home-amount', data)
  46. }
  47. export const changeWlName = data => {
  48. return https.get('/custom/change-wl-name', data)
  49. }
  50. export const changeWl = data => {
  51. return https.get('/custom/change-wl', data)
  52. }
  53. export const changeShowStock = data => {
  54. return https.get('/custom/change-show-stock', data)
  55. }
  56. export const toChangeHome = data => {
  57. return https.get('/custom/change-home', data)
  58. }
  59. export const changePassStatus = data => {
  60. return https.get('/custom/change-pass-status', data)
  61. }
  62. export const changeName = data => {
  63. return https.get('/custom/change-name', data)
  64. }
  65. export const addStaff = data => {
  66. return https.post('/custom/add-staff', data)
  67. }
  68. export const updateDebtLimit = data => {
  69. return https.get('/custom/update-debt-limit', data)
  70. }
  71. export const updateCustomBlack = data => {
  72. return https.get('/custom/set-black', data)
  73. }
  74. export const changeDiscount = data => {
  75. return https.get('/custom/change-discount', data)
  76. }
  77. export const changeLevel = data => {
  78. return https.get('/custom/change-level', data)
  79. }
  80. export const debtChangeList = data => {
  81. return https.get('/custom-debt-change/list', data)
  82. }
  83. export const createCumtomer = data => {
  84. return https.post('/custom/create-customers', data)
  85. }
  86. export const copyCumtomer = data => {
  87. return https.get('/custom/copy-customers', data)
  88. }
  89. export const changeDelStatus = data => {
  90. return https.get('/custom/change-del-status', data)
  91. }
  92. export const allCredit = data => {
  93. return https.get('/custom/all-credit', data)
  94. }
  95. export const allSetLookStock = data => {
  96. return https.get('/custom/all-set-look-stock', data)
  97. }
  98. export const allSetLookSale = data => {
  99. return https.get('/custom/all-set-look-sale', data)
  100. }
  101. export const changeDebtLimitPay = data => {
  102. return https.get('/custom/change-debt-limit-pay', data)
  103. }
  104. //拉取(刷新)客户累计消费
  105. export const refreshCustomBuyAmount = data => {
  106. return https.get('/custom/refresh-buyamount', data)
  107. }