综合办公系统
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.2KB

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