index.js 892 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const bx = data => {
  3. return https.get('/expend/bx', data)
  4. }
  5. export const getUnBxList = data => {
  6. return https.get('/expend/un-bx-list', data)
  7. }
  8. export const getStat = data => {
  9. return https.get('/expend/stat', data)
  10. }
  11. export const getTypeList = data => {
  12. return https.get('/expend/get-type-list', data)
  13. }
  14. export const getSalaryList = data => {
  15. return https.get('/salary/list', data)
  16. }
  17. export const addSalary = data => {
  18. return https.post('/salary/add-salary', data)
  19. }
  20. export const addExpend = data => {
  21. return https.post('/expend/add-expend', data)
  22. }
  23. export const getExpendList = data => {
  24. return https.get('/expend/list', data)
  25. }
  26. export const deleteExpend = data => {
  27. return https.post('/expend/del-expend', data)
  28. }
  29. export const changePayTime = data => {
  30. return https.get('/expend/change-pay-time', data)
  31. }