qianpeiApi.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import request from '@/utils/request' //引入axios请求及拦截器
  2. export default {
  3. //新增前培安排
  4. appsystembefore(data) {
  5. return request({
  6. url: '/system/before',
  7. method: 'post',
  8. data
  9. })
  10. },
  11. //新增前培绑定商品
  12. appsystemaddGoods(data) {
  13. return request({
  14. url: '/system/before/addGoods',
  15. method: 'post',
  16. data
  17. })
  18. },
  19. //修改前培安排
  20. editsystembefore(data) {
  21. return request({
  22. url: '/system/before/edit',
  23. method: 'post',
  24. data
  25. })
  26. },
  27. //查询前培安排列表
  28. inquiresystembefore(data) {
  29. return request({
  30. url: '/system/before/list',
  31. method: 'get',
  32. params: data
  33. })
  34. },
  35. //查看前陪绑定商品
  36. inquiresystembeforelistGoodsgoodsInfo(data) {
  37. return request({
  38. url: '/system/before/goodsInfo',
  39. method: 'get',
  40. params: data
  41. })
  42. },
  43. //查询前培商品列表
  44. inquiresystembeforelistGoods(data) {
  45. return request({
  46. url: '/system/before/listGoods',
  47. method: 'get',
  48. params: data
  49. })
  50. },
  51. //查询前培url列表
  52. inquiresystembeforelistUrl(data) {
  53. return request({
  54. url: '/system/before/listUrl',
  55. method: 'get',
  56. params: data
  57. })
  58. },
  59. //获取前培安排详细信息
  60. obtainsystembefore(data) {
  61. return request({
  62. url: `/system/before/` + data,
  63. method: 'get',
  64. })
  65. },
  66. }