ENTERPRISETRADEPERFORMANCE.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import request from '@/utils/request'
  2. // 查询企业贸易绩效数据(每个月填报)列表
  3. export function listENTERPRISETRADEPERFORMANCE(query) {
  4. return request({
  5. url: '/ENTERPRISETRADEPERFORMANCE/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询企业贸易绩效数据(每个月填报)所有列表
  11. export function listAllENTERPRISETRADEPERFORMANCE(query) {
  12. return request({
  13. url: '/ENTERPRISETRADEPERFORMANCE/listAll',
  14. method: 'get',
  15. params: query
  16. })
  17. }
  18. // 查询企业贸易绩效数据(每个月填报)详细
  19. export function getENTERPRISETRADEPERFORMANCE(id) {
  20. return request({
  21. url: '/ENTERPRISETRADEPERFORMANCE/getInfo/' + id,
  22. method: 'get'
  23. })
  24. }
  25. // 新增企业贸易绩效数据(每个月填报)
  26. export function addENTERPRISETRADEPERFORMANCE(data) {
  27. return request({
  28. url: '/ENTERPRISETRADEPERFORMANCE/add',
  29. method: 'post',
  30. data: data
  31. })
  32. }
  33. // 修改企业贸易绩效数据(每个月填报)
  34. export function updateENTERPRISETRADEPERFORMANCE(data) {
  35. return request({
  36. url: '/ENTERPRISETRADEPERFORMANCE/edit',
  37. method: 'post',
  38. data: data
  39. })
  40. }
  41. // 获取部门列表
  42. export function getDeptList(data) {
  43. return request({
  44. url: '/system/dept/list',
  45. method: 'get',
  46. })
  47. }
  48. // 获取已有基础数据的部门列表
  49. export function getBaseDeptList(data) {
  50. return request({
  51. url: '/GARDENBASEDATA/list',
  52. method: 'get',
  53. })
  54. }
  55. // 删除企业贸易绩效数据(每个月填报)
  56. export function delENTERPRISETRADEPERFORMANCE(id) {
  57. return request({
  58. url: '/ENTERPRISETRADEPERFORMANCE/remove/' + id,
  59. method: 'get'
  60. })
  61. }