implement.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import request, { postBlob, handleImport, getBlob } from '@/utils/request'
  2. // 销售执行明细列表-零售订单-V2
  3. export function retailExecRetailV2(data) {
  4. return request({
  5. url: `/retail/exec/retail/v2?moduleId=${data.moduleId}`,
  6. method: 'post',
  7. data
  8. })
  9. }
  10. //销售执行明细列表-政策零售订单-V2-导出
  11. export function retailExecRetailV2Export(data, name) {
  12. return postBlob({
  13. url: '/retail/exec/retail/export/v2',
  14. method: 'post',
  15. data,
  16. name
  17. })
  18. }
  19. // 销售执行明细列表-政策零售订单-V2
  20. export function retailExecPolicyListV2(data) {
  21. return request({
  22. url: `/retail/exec/policy/list/v2?moduleId=${data.moduleId}`,
  23. method: 'post',
  24. data
  25. })
  26. }
  27. //销售执行明细列表-政策零售订单-V2-导出
  28. export function retailExecPolicyListV2Export(data, name) {
  29. return postBlob({
  30. url: '/retail/exec/policy/export/v2',
  31. method: 'post',
  32. data,
  33. name
  34. })
  35. }
  36. // 销售执行明细列表-政策零售订单-V2
  37. export function retailExecEnginListV2(data) {
  38. return request({
  39. url: `/retail/exec/engin/list/v2?moduleId=${data.moduleId}`,
  40. method: 'post',
  41. data
  42. })
  43. }
  44. //销售执行明细列表-政策零售订单-V2-导出
  45. export function retailExecEnginListV2Export(data, name) {
  46. return postBlob({
  47. url: '/retail/exec/engin/export/v2',
  48. method: 'post',
  49. data,
  50. name
  51. })
  52. }
  53. // 获取列表
  54. export function getList(params) {
  55. return request({
  56. url: '/retail/exec/list',
  57. method: 'get',
  58. params
  59. })
  60. }
  61. // 获取详情
  62. export function getDetail(params) {
  63. return request({
  64. url: '/transfer/detail',
  65. method: 'get',
  66. params
  67. })
  68. }
  69. // 获取列表
  70. export function getTotalList(params) {
  71. return request({
  72. url: '/retail/exec/list/total',
  73. method: 'get',
  74. params
  75. })
  76. }
  77. // 商用信息单-执行明细
  78. export function getExecList(params) {
  79. return request({
  80. url: '/engin-info-order/exec/list',
  81. method: 'get',
  82. params
  83. })
  84. }
  85. // 执行明细-列表
  86. export function v2EnginInfoOrderExcelList(data) {
  87. return request({
  88. url: `/v2/engin-info-order/exec/list?moduleId=${data.moduleId}`,
  89. method: 'post',
  90. data
  91. })
  92. }
  93. //执行明细-导出
  94. export function v2EnginInfoOrderExcelListExport(data, name) {
  95. return postBlob({
  96. url: '/v2/engin-info-order/exec/list/export',
  97. method: 'post',
  98. data,
  99. name
  100. })
  101. }