You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
2.7 KiB

3 weeks ago
  1. import { createAPI } from "@/utils/httpRequest.js"
  2. // ================= 序号1:家用梯销售订单 =================
  3. export const getHomeLiftOrderList = data => createAPI(`/longchuang/productionPlan/homeLiftOrder/list`, 'post', data)
  4. export const saveHomeLiftOrder = data => createAPI(`/longchuang/productionPlan/homeLiftOrder/save`, 'post', data)
  5. export const finishHomeLiftOrder = data => createAPI(`/longchuang/productionPlan/homeLiftOrder/finish`, 'post', data)
  6. export const reportHomeLiftOrderNode = data => createAPI(`/longchuang/productionPlan/homeLiftOrder/reportNode`, 'post', data)
  7. export const deleteHomeLiftOrder = data => createAPI(`/longchuang/productionPlan/homeLiftOrder/delete`, 'post', data)
  8. // ================= 序号2:线缆/COP自制任务单 =================
  9. export const getCableCopTaskList = data => createAPI(`/longchuang/productionPlan/cableCopTask/list`, 'post', data)
  10. export const saveCableCopTask = data => createAPI(`/longchuang/productionPlan/cableCopTask/save`, 'post', data)
  11. export const finishCableCopTask = data => createAPI(`/longchuang/productionPlan/cableCopTask/finish`, 'post', data)
  12. export const reportCableCopTaskNode = data => createAPI(`/longchuang/productionPlan/cableCopTask/reportNode`, 'post', data)
  13. export const deleteCableCopTask = data => createAPI(`/longchuang/productionPlan/cableCopTask/delete`, 'post', data)
  14. // ================= 序号3:改造项目订单 =================
  15. export const getRenovationOrderList = data => createAPI(`/longchuang/productionPlan/renovationOrder/list`, 'post', data)
  16. export const saveRenovationOrder = data => createAPI(`/longchuang/productionPlan/renovationOrder/save`, 'post', data)
  17. export const finishRenovationOrder = data => createAPI(`/longchuang/productionPlan/renovationOrder/finish`, 'post', data)
  18. export const reportRenovationOrderNode = data => createAPI(`/longchuang/productionPlan/renovationOrder/reportNode`, 'post', data)
  19. export const deleteRenovationOrder = data => createAPI(`/longchuang/productionPlan/renovationOrder/delete`, 'post', data)
  20. // ================= 节点负责人分配 =================
  21. export const getNodeAssigneeList = data => createAPI(`/longchuang/productionPlan/nodeAssignee/list`, 'post', data)
  22. export const saveNodeAssignee = data => createAPI(`/longchuang/productionPlan/nodeAssignee/save`, 'post', data)
  23. export const getNodeAssigneeUsers = data => createAPI(`/longchuang/productionPlan/nodeAssignee/users`, 'post', data)
  24. export const getReportLogList = data => createAPI(`/longchuang/productionPlan/reportLog/list`, 'post', data)
  25. // ================= 生产报工 =================
  26. export const getWorkReportOrderList = data => createAPI(`/longchuang/productionPlan/workReport/list`, 'post', data)