api.ts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. export const MOD = "/business";
  2. export const MODURL = "business";
  3. export const prefix = "/clue";
  4. export const GETSYSFILED = "/sys-dict/getListByCode";
  5. export const GETPERSONNEL = "/user/getSimpleActiveUserList";
  6. export const GETGENERATEFOEM = `/sys-form/getListByCode${MOD}`
  7. export const GETBUSINESSLIST = `/business-opportunity/list`
  8. export const UPDATEINSET = `/business-opportunity/insertAndUpdate`
  9. export const BUSINESSDETELE = `/business-opportunity/delete`
  10. export const BATCHTRANSFER = `/business-opportunity/claim`
  11. export const BUSIESS_DETELELIST = `/business-opportunity/deleterList`
  12. export const BUSIESS_ROWBACK = `/business-opportunity/rollBack`
  13. export const BUSIESS_PERDETELE = `/business-opportunity/deleterDelete`
  14. export const BUSIESS_GETSATE = `/business-opportunity/getStage`
  15. export const BUSIESS_SAVESAIE = `/business-opportunity/saveStage`
  16. export const BUSIESS_ALL = `/business-opportunity/getAll`
  17. export const BUSIESS_INFO = `/business-opportunity/getInfo`
  18. export const DETELEFILEFILE = `/business-opportunity/deleteFile`
  19. export const REFIENAMEFILE = `/business-opportunity/reFileName`
  20. export const UPLOADFILEFILE = `/business-opportunity/uploadFile`
  21. export const stageStatus = [
  22. { id: 1, name: "赢单", progress: "100%" },
  23. { id: 2, name: "输单", progress: "0%" },
  24. { id: 3, name: "无效", progress: "0%" }
  25. ]
  26. export const tableColumn: businessTableColumnInterface[] = [
  27. { prop: "name", label: "商机名称", width: "180", eventName: "toClueTableDetail" },
  28. { prop: "customerName", label: "客户名称", width: "180" },
  29. { prop: "contactsName", label: "联系人", width: "180", eventName: "showName" },
  30. { prop: "amountOfMoney", label: "商机金额", width: "180" },
  31. { prop: "stageValue", label: "商机阶段", width: "180" },
  32. { prop: "expectedTransactionDate", label: "预计成交", width: "180" },
  33. { prop: "inchargerName", label: "负责人", width: "180" },
  34. { prop: "creatorName", label: "创建人", width: "180" },
  35. { prop: "createTime", label: "创建时间", width: "180" }
  36. ]