package crm const ( ROLE_TYPE_ADMIN = "管理员" ROLE_TYPE_FICC_ADMIN = "ficc管理员" ROLE_TYPE_FICC_SELLER = "ficc销售" ROLE_TYPE_RAI_ADMIN = "权益管理员" ROLE_TYPE_RAI_SELLER = "权益销售" ROLE_TYPE_FICC_GROUP = "ficc组长" ROLE_TYPE_RAI_GROUP = "权益组长" ROLE_TYPE_FICC_DEPARTMENT = "ficc部门经理" ROLE_TYPE_RAI_DEPARTMENT = "权益部门经理" ROLE_TYPE_FICC_RESEARCHR = "ficc研究员" ROLE_TYPE_RAI_RESEARCHR = "权益研究员" ROLE_TYPE_CODE_ADMIN = "admin" //管理员 ROLE_TYPE_CODE_FICC_ADMIN = "ficc_admin" //ficc管理员 ROLE_TYPE_CODE_FICC_SELLER = "ficc_seller" //ficc销售 ROLE_TYPE_CODE_RAI_ADMIN = "rai_admin" //权益管理员 ROLE_TYPE_CODE_RAI_SELLER = "rai_seller" //权益销售 ROLE_TYPE_CODE_FICC_GROUP = "ficc_group" //ficc销售主管 ROLE_TYPE_CODE_RAI_GROUP = "rai_group" //ficc组长 ROLE_TYPE_CODE_FICC_DEPARTMENT = "ficc_department" //ficc部门经理 ROLE_TYPE_CODE_RAI_DEPARTMENT = "rai_department" //权益部门经理 ROLE_TYPE_CODE_FICC_RESEARCHR = "ficc_researcher" //ficc研究员 ROLE_TYPE_CODE_RESEARCHR = "researcher" //ficc研究员(最早定义的) ROLE_TYPE_CODE_RAI_RESEARCHR = "rai_researcher" //权益研究员 ROLE_TYPE_CODE_COMPLIANCE = "compliance" //合规角色 ROLE_TYPE_CODE_FINANCE = "finance" //财务角色 ROLE_TYPE_CODE_FICC_TEAM = "ficc_team" //ficc销售组长 CompanyProductFicc = 1 CompanyProductRai = 2 CompanyProductFiccName = "ficc" CompanyProductRaiName = "权益" ChartPermissionStrategyName = "策略" // 合同类型 ContractTypeNew = "新签合同" // 新签 ContractTypeRenew = "续约合同" // 续约 ContractTypePlus = "补充协议" // 补充 // 合同业务类型 ContractTypeBusiness = "业务合同" ContractTypePayment = "代付合同" // FICC销售部门ID SellerDepartmentId = 2 // 权益销售部门ID RaiSellerDepartmentId = 5 ) // ContractTypeFmsMap CRM系统合同类型/FMS系统合同类型 var ContractTypeFmsMap = map[string]int{ ContractTypeNew: 1, ContractTypeRenew: 2, ContractTypePlus: 4, }