constants.go 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package crm
  2. const (
  3. ROLE_TYPE_ADMIN = "管理员"
  4. ROLE_TYPE_FICC_ADMIN = "ficc管理员"
  5. ROLE_TYPE_FICC_SELLER = "ficc销售"
  6. ROLE_TYPE_RAI_ADMIN = "权益管理员"
  7. ROLE_TYPE_RAI_SELLER = "权益销售"
  8. ROLE_TYPE_FICC_GROUP = "ficc组长"
  9. ROLE_TYPE_RAI_GROUP = "权益组长"
  10. ROLE_TYPE_FICC_DEPARTMENT = "ficc部门经理"
  11. ROLE_TYPE_RAI_DEPARTMENT = "权益部门经理"
  12. ROLE_TYPE_FICC_RESEARCHR = "ficc研究员"
  13. ROLE_TYPE_RAI_RESEARCHR = "权益研究员"
  14. ROLE_TYPE_CODE_ADMIN = "admin" //管理员
  15. ROLE_TYPE_CODE_FICC_ADMIN = "ficc_admin" //ficc管理员
  16. ROLE_TYPE_CODE_FICC_SELLER = "ficc_seller" //ficc销售
  17. ROLE_TYPE_CODE_RAI_ADMIN = "rai_admin" //权益管理员
  18. ROLE_TYPE_CODE_RAI_SELLER = "rai_seller" //权益销售
  19. ROLE_TYPE_CODE_FICC_GROUP = "ficc_group" //ficc销售主管
  20. ROLE_TYPE_CODE_RAI_GROUP = "rai_group" //ficc组长
  21. ROLE_TYPE_CODE_FICC_DEPARTMENT = "ficc_department" //ficc部门经理
  22. ROLE_TYPE_CODE_RAI_DEPARTMENT = "rai_department" //权益部门经理
  23. ROLE_TYPE_CODE_FICC_RESEARCHR = "ficc_researcher" //ficc研究员
  24. ROLE_TYPE_CODE_RESEARCHR = "researcher" //ficc研究员(最早定义的)
  25. ROLE_TYPE_CODE_RAI_RESEARCHR = "rai_researcher" //权益研究员
  26. ROLE_TYPE_CODE_COMPLIANCE = "compliance" //合规角色
  27. ROLE_TYPE_CODE_FINANCE = "finance" //财务角色
  28. ROLE_TYPE_CODE_FICC_TEAM = "ficc_team" //ficc销售组长
  29. CompanyProductFicc = 1
  30. CompanyProductRai = 2
  31. CompanyProductFiccName = "ficc"
  32. CompanyProductRaiName = "权益"
  33. ChartPermissionStrategyName = "策略"
  34. // 合同类型
  35. ContractTypeNew = "新签合同" // 新签
  36. ContractTypeRenew = "续约合同" // 续约
  37. ContractTypePlus = "补充协议" // 补充
  38. // 合同业务类型
  39. ContractTypeBusiness = "业务合同"
  40. ContractTypePayment = "代付合同"
  41. // FICC销售部门ID
  42. SellerDepartmentId = 2
  43. // 权益销售部门ID
  44. RaiSellerDepartmentId = 5
  45. )
  46. // ContractTypeFmsMap CRM系统合同类型/FMS系统合同类型
  47. var ContractTypeFmsMap = map[string]int{
  48. ContractTypeNew: 1,
  49. ContractTypeRenew: 2,
  50. ContractTypePlus: 4,
  51. }