综合办公系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

borrowDetail.js 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import request from '@/utils/request'
  2. // 查询cmc借款明细列表
  3. export function listBorrowDetail(query) {
  4. return request({
  5. url: '/oa/borrowDetail/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询cmc借款明细详细
  11. export function getBorrowDetail(borrowId) {
  12. return request({
  13. url: '/oa/borrowDetail/' + borrowId,
  14. method: 'get'
  15. })
  16. }
  17. // 新增cmc借款明细
  18. export function addBorrowDetail(data) {
  19. return request({
  20. url: '/oa/borrowDetail',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改cmc借款明细
  26. export function updateBorrowDetail(data) {
  27. return request({
  28. url: '/oa/borrowDetail',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除cmc借款明细
  34. export function delBorrowDetail(borrowId) {
  35. return request({
  36. url: '/oa/borrowDetail/' + borrowId,
  37. method: 'delete'
  38. })
  39. }
  40. // 删除cmc借款明细根据每一项Id
  41. export function delBorrowDetailByDetailId(borrowDetailId) {
  42. return request({
  43. url: '/oa/borrowDetail/id' + borrowDetailId,
  44. method: 'delete'
  45. })
  46. }