农经大屏
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

73 righe
1.6 KiB

  1. import request from '@/utils/request'
  2. // 查询生产性资产折旧列表
  3. export function listProductivedepreciation(query) {
  4. return request({
  5. url: '/asset/productivedepreciation/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 统计查询生产性资产折旧列表
  11. export function statisticProductivedepreciation(query) {
  12. return request({
  13. url: '/asset/productivedepreciation/statistic',
  14. method: 'get',
  15. params: query
  16. })
  17. }
  18. // 导出生产性资产折旧
  19. export function exportProductivedepreciation(query) {
  20. return request({
  21. url: '/asset/productivedepreciation/export',
  22. method: 'get',
  23. params: query
  24. })
  25. }
  26. // 查询生产性资产折旧详细
  27. export function getProductivedepreciation(id) {
  28. return request({
  29. url: '/asset/productivedepreciation/get/' + id,
  30. method: 'get',
  31. params: arguments[1] || {}
  32. })
  33. }
  34. // 新增生产性资产折旧
  35. export function addProductivedepreciation(data) {
  36. return request({
  37. url: '/asset/productivedepreciation/add',
  38. method: 'post',
  39. data: data
  40. })
  41. }
  42. // 生产性资产折旧
  43. export function autoAddDepreciation(data) {
  44. return request({
  45. url: '/asset/productivedepreciation/autoAdd',
  46. method: 'post',
  47. params: data
  48. })
  49. }
  50. // 修改生产性资产折旧
  51. export function updateProductivedepreciation(data) {
  52. return request({
  53. url: '/asset/productivedepreciation/edit',
  54. method: 'post',
  55. data: data
  56. })
  57. }
  58. // 删除生产性资产折旧
  59. export function delProductivedepreciation(id) {
  60. return request({
  61. url: '/asset/productivedepreciation/remove/' + id,
  62. method: 'get'
  63. })
  64. }