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

budget.js 944B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * @Author: wrh
  3. * @Date: 2024-03-22 17:42:30
  4. * @LastEditors: wrh
  5. * @LastEditTime: 2024-04-03 10:10:01
  6. */
  7. import request from '@/utils/request'
  8. // 查询cmc预算管理列表
  9. export function listBudget(query) {
  10. return request({
  11. url: '/oa/budget/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询cmc预算管理详细
  17. export function getBudget(budgetId) {
  18. return request({
  19. url: '/oa/budget/' + budgetId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增cmc预算管理
  24. export function addBudget(data) {
  25. return request({
  26. url: '/oa/budget',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改cmc预算管理
  32. export function updateBudget(data) {
  33. return request({
  34. url: '/oa/budget',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除cmc预算管理
  40. export function delBudget(budgetId) {
  41. return request({
  42. url: '/oa/budget/' + budgetId,
  43. method: 'delete'
  44. })
  45. }