order.js 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. import request from '@/utils/request' //引入axios请求及拦截器
  2. export default {
  3. //新增业务员订单
  4. appOrder(data) {
  5. return request({
  6. url: '/order',
  7. method: 'post',
  8. data
  9. })
  10. },
  11. //查询订单商品列表
  12. inquireOrderGoodsList(data) {
  13. return request({
  14. url: '/order/goods/list',
  15. method: 'get',
  16. params: data
  17. })
  18. },
  19. //查询订单列表
  20. inquireOrderList(data) {
  21. return request({
  22. url: '/order/list',
  23. method: 'get',
  24. params: data
  25. })
  26. },
  27. //查询接口订单列表
  28. inquireApiOrderList(data) {
  29. return request({
  30. url: '/order/without/list',
  31. method: 'get',
  32. params: data
  33. })
  34. },
  35. //接口订单审核
  36. apiOrderCheck(data) {
  37. return request({
  38. url: '/order/refund/api/check',
  39. method: 'post',
  40. data
  41. })
  42. },
  43. //接口订单关闭
  44. apiOrderCloseOrderGoods(data) {
  45. return request({
  46. url: '/order/goods/closeOrderGoods',
  47. method: 'post',
  48. data
  49. })
  50. },
  51. //查询复购冲突订单列表
  52. inquireOrderrebuyListList(data) {
  53. return request({
  54. url: '/order/rebuyList',
  55. method: 'get',
  56. params: data
  57. })
  58. },
  59. //获取订单详细信息
  60. obtainOrder(data) {
  61. return request({
  62. url: `/order/` + data,
  63. method: 'get',
  64. })
  65. },
  66. //获取退款订单详细子列表
  67. obtainOrderRefundlistAll(data) {
  68. return request({
  69. url: `/order/refund/listAll/goods`,
  70. method: 'get',
  71. params: data
  72. })
  73. },
  74. //修改订单商品
  75. editordergoods(data) {
  76. return request({
  77. url: '/order/goods/edit',
  78. method: 'post',
  79. data
  80. })
  81. },
  82. //获取订单商品详细信息
  83. inquireOrderinfoList(data) {
  84. return request({
  85. url: '/order/goods/info',
  86. method: 'get',
  87. params: data
  88. })
  89. },
  90. //获取订单商品重复购买详细信息
  91. inquireOrderRebuyInfo(data) {
  92. return request({
  93. url: '/order/goods/rebuyInfo',
  94. method: 'get',
  95. params: data
  96. })
  97. },
  98. //查询购买商品的用户列表
  99. inquireOrderGoodsBuyGoodsUserList(data) {
  100. return request({
  101. url: '/order/goods/buyGoodsUserList',
  102. method: 'get',
  103. params: data
  104. })
  105. },
  106. //关闭订单商品
  107. closeOrderGoodsordergoods(data) {
  108. return request({
  109. url: '/order/goods/closeOrderGoods',
  110. method: 'post',
  111. data
  112. })
  113. },
  114. //查询购买直播商品的用户列表
  115. inquireOrderGoodsBuyLiveGoodsList(data) {
  116. return request({
  117. url: '/order/goods/listLiveGoodsList',
  118. method: 'get',
  119. params: data
  120. })
  121. },
  122. //直播商品的用户学习列表
  123. inquireOrderGoodsBuyuserSectionLiveList(data) {
  124. return request({
  125. url: '/order/goods/userSectionLiveList',
  126. method: 'get',
  127. params: data
  128. })
  129. },
  130. //保利威用户学习时间日志
  131. inquireOrderGoodsBuyuserSectionLiveLog(data) {
  132. return request({
  133. url: '/order/goods/userSectionLiveLog',
  134. method: 'get',
  135. params: data
  136. })
  137. },
  138. //导出购买直播商品的学员学习记录
  139. inquireOrderGoodsexport_listLiveGoodsList(data) {
  140. return request({
  141. url: '/order/goods/export_listLiveGoodsList',
  142. method: 'get',
  143. params: data
  144. })
  145. },
  146. //导出订单列表
  147. orderexportList(data) {
  148. return request({
  149. url: '/order/exportList',
  150. method: 'get',
  151. params: data,
  152. isProce:true
  153. })
  154. },
  155. //订单导出
  156. orderexportNew(data) {
  157. return request({
  158. url: '/order/export/new',
  159. method: 'post',
  160. data,
  161. })
  162. },
  163. //后台订单导出
  164. orderinputexportInputOrder(data) {
  165. return request({
  166. url: '/order/input/exportInputOrder',
  167. method: 'post',
  168. data,
  169. isProce:true
  170. })
  171. },
  172. //寄件订单批量处理
  173. ordermailhandle(data) {
  174. return request({
  175. url: '/order/mail/handle',
  176. method: 'post',
  177. data
  178. })
  179. },
  180. //寄件订单列表
  181. ordermaillist(data) {
  182. return request({
  183. url: '/order/mail/list',
  184. method: 'get',
  185. params: data
  186. })
  187. },
  188. //线下订单申请审核
  189. orderofflinecheck(data) {
  190. return request({
  191. url: '/order/offline/check',
  192. method: 'post',
  193. data
  194. })
  195. },
  196. //线下订单申请列表
  197. orderofflinelist(data) {
  198. return request({
  199. url: '/order/offline/list',
  200. method: 'get',
  201. params: data
  202. })
  203. },
  204. //后台订单添加业务员
  205. ordersavesalesman(data) {
  206. return request({
  207. url: '/order/save/salesman',
  208. method: 'post',
  209. data
  210. })
  211. },
  212. }