管理系统PC端
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.
 
 
 
 

71 lines
1.3 KiB

  1. import request from '@/utils/request'
  2. // 查询地块经营列表
  3. export function listOperation(query) {
  4. return request({
  5. url: '/resource/operation/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询地块经营详细
  11. export function getOperation(id) {
  12. return request({
  13. url: '/resource/operation/' + id,
  14. method: 'get'
  15. })
  16. }
  17. // 查询地块经营详细
  18. export function getOperationDetail(id) {
  19. return request({
  20. url: '/resource/operation/detail/' + id,
  21. method: 'get'
  22. })
  23. }
  24. // 查询地块经营详细
  25. export function getOperationDetailByDkbm(dkbm) {
  26. return request({
  27. url: '/resource/operation/detailByDkbm/' + dkbm,
  28. method: 'get'
  29. })
  30. }
  31. // 新增地块经营
  32. export function addOperation(data) {
  33. return request({
  34. url: '/resource/operation/add',
  35. method: 'post',
  36. data: data
  37. })
  38. }
  39. // 修改地块经营
  40. export function updateOperation(data) {
  41. return request({
  42. url: '/resource/operation/update',
  43. method: 'post',
  44. data: data
  45. })
  46. }
  47. // 删除地块经营
  48. export function delOperation(id) {
  49. return request({
  50. url: '/resource/operation/delete/' + id,
  51. method: 'get'
  52. })
  53. }
  54. // 打印地块经营
  55. export function printOperation(query) {
  56. return request({
  57. url: '/resource/operation/print',
  58. method: 'get',
  59. params: query
  60. })
  61. }