index.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import request from '@/utils/request'
  2. // 查询客户详情列表
  3. export function listCorps(query) {
  4. return request({
  5. // url: '/basicdata/corps/selectCustomerDriverList',
  6. url: '/basicdata/corps/list',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11. // 查询客户详情列表
  12. export function listCorps_s(query) {
  13. return request({
  14. url: '/warehouseBusiness/otherFees/list',
  15. method: 'get',
  16. params: query
  17. })
  18. }
  19. // 查询单条数据
  20. export function single(fId) {
  21. return request({
  22. // url: '/basicdata/corps/selectCustomerDriverList',
  23. url: '/warehouseBusiness/otherFees/' + fId,
  24. method: 'get',
  25. })
  26. }
  27. // 新增
  28. export function preservation(data) {
  29. return request({
  30. url: '/warehouseBusiness/otherFees/save',
  31. method: 'post',
  32. data: data
  33. })
  34. }
  35. // 删除
  36. export function singleDeletion(fId) {
  37. return request({
  38. url: '/warehouseBusiness/otherFees/remove/' + fId,
  39. method: 'get'
  40. })
  41. }
  42. // 撤销
  43. export function revokeContainerPort(fId) {
  44. return request({
  45. url: '/warehouseBusiness/otherFees/revoke/' + fId,
  46. method: 'get'
  47. })
  48. }
  49. // 提交
  50. export function submit(data) {
  51. return request({
  52. url: '/warehouseBusiness/otherFees/add',
  53. method: 'post',
  54. data: data
  55. })
  56. }
  57. // 基础资料
  58. export function allInformation() {
  59. return request({
  60. url: '/warehouseBusiness/containerPort/selectBasicInformation',
  61. method: 'get',
  62. })
  63. }
  64. //导出
  65. export function exportData(query) {
  66. return request({
  67. url: '/warehouseBusiness/otherFees/export',
  68. method: 'get',
  69. params: query
  70. })
  71. }