outsourcingCost.js 680 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import request from '@/router/axios';
  2. export const getList = (current, size, params) => {
  3. return request({
  4. url: '/api/kd-scientific/ys-wtwbyjkffy/page',
  5. method: 'get',
  6. params: {
  7. ...params,
  8. current,
  9. size,
  10. }
  11. })
  12. }
  13. export const add = (row) => {
  14. return request({
  15. url: '/api/kd-scientific/ys-wtwbyjkffy/save',
  16. method: 'post',
  17. data: row
  18. })
  19. }
  20. export const update = (row) => {
  21. return request({
  22. url: '/api/kd-scientific/ys-wtwbyjkffy/update',
  23. method: 'post',
  24. data: row
  25. })
  26. }
  27. export const remove = (data) => {
  28. return request({
  29. url: '/api/kd-scientific/ys-wtwbyjkffy/remove',
  30. method: 'post',
  31. data
  32. })
  33. }