api.ts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 URL_IMPOERBUSINESS = `/business-opportunity/importData`
  22. export const URL_DETELESTAGE = `/business-opportunity/deleteStage`
  23. export const URL_SAVECONTACT = `/business-opportunity/saveContactsId`
  24. export const URL_STAGEIDNEXT = `/business-opportunity/saveStageId`
  25. export const URL_SAVEREASON = `/business-opportunity/saveReason`
  26. export const URL_EXPORTBUSINESS = `/business-opportunity/exportData`
  27. export const stageStatus = [
  28. { id: 1, name: "赢单", progress: "100%" },
  29. { id: 2, name: "输单", progress: "0%" },
  30. { id: 3, name: "无效", progress: "0%" }
  31. ]
  32. export const tableColumn: businessTableColumnInterface[] = [
  33. { prop: "name", label: "商机名称", width: "180", eventName: "toClueTableDetail" },
  34. { prop: "customerName", label: "客户名称", width: "180" },
  35. { prop: "contactsName", label: "联系人", width: "180", eventName: "showName" },
  36. { prop: "amountOfMoney", label: "商机金额", width: "180" },
  37. { prop: "stageValue", label: "商机阶段", width: "180" },
  38. { prop: "expectedTransactionDate", label: "预计成交", width: "180" },
  39. { prop: "inchargerName", label: "负责人", width: "180" },
  40. { prop: "creatorName", label: "创建人", width: "180" },
  41. { prop: "createTime", label: "创建时间", width: "180" }
  42. ]