api.ts 1.5 KB

12345678910111213141516171819202122232425262728293031
  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 stageStatus = [
  14. { id: 1, name: "赢单", progress: "100%" },
  15. { id: 2, name: "输单", progress: "0%" },
  16. { id: 3, name: "无效", progress: "0%" }
  17. ]
  18. export const tableColumn: businessTableColumnInterface[] = [
  19. { prop: "name", label: "商机名称", width: "180", eventName: "toClueTableDetail" },
  20. { prop: "customerName", label: "客户名称", width: "180" },
  21. { prop: "contactsName", label: "联系人", width: "180", eventName: "showName" },
  22. { prop: "amountOfMoney", label: "商机金额", width: "180" },
  23. { prop: "stageValue", label: "商机阶段", width: "180" },
  24. { prop: "expectedTransactionDate", label: "预计成交", width: "180" },
  25. { prop: "inchargerName", label: "负责人", width: "180" },
  26. { prop: "creatorName", label: "创建人", width: "180" },
  27. { prop: "createTime", label: "创建时间", width: "180" }
  28. ]