index.js 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. // 物业管理员
  2. import http from "@/apis/axios";
  3. const api = "admin/";
  4. export default {
  5. // 添加
  6. add: (data, params) => http(api + "salecreate", data, "post", params),
  7. // 删除
  8. delete: (data, params) => http(api + "delete", data, "post", params),
  9. // 分页查询
  10. list: (data, params) => http(api + "salelist", data, "post", params),
  11. // 详情
  12. detail: (data, params) => http(api + "detail", data, "post", params),
  13. // 更新
  14. update: (data, params) => http(api + "update", data, "post", params),
  15. // 修改状态
  16. status: (data, params) => http(api + "accountstatus", data, "post", params),
  17. //验证售价
  18. salegetprice: (data, params) => http(api + "salegetprice", data, "post", params),
  19. // 线上商品详情
  20. goods_detail: (data, params) => http(api + "goodinfo", data, "post", params),
  21. // 线上商品获取活动
  22. goods_active: (data, params) => http(api + "actquery", data, "post", params),
  23. //订单用途绑定
  24. saleuse: (data, params) => http(api + "saleuse", data, "post", params),
  25. //订单用途列表
  26. uselist: (data, params) => http(api + "uselist", data, "post", params),
  27. //添加其他业管、PO、承诺回款时间
  28. saleaddother: (data, params) => http(api + "saleaddother", data, "post", params),
  29. //延时发货追加地址
  30. saleaddr: (data, params) => http(api + "saleaddr", data, "post", params),
  31. // 区编码获取省市区汉字
  32. addrall: (data, params) => http(api + "addrall", data, "post", params),
  33. };