wupengfei
6 天以前 fb531cbb7ceca6e4c28288b5a988a2700a065c59
packages/constants/dic.ts
@@ -1,145 +1,60 @@
export enum SearchType {
  Hot = 10,
  Service = 20,
  Work = 30,
  Park = 40,
  Info = 50,
  Policy = 60,
  RegionalManagement = 70,
  ProductType = 80,
  DemandType = 90,
  DemandRange = 100,
  EmployeeBenefits = 110,
  CompanyIndustry = 120,
  HeadHunterPosition = 130,
  ConsultationCategory = 140,
  FAQCategory = 150,
  IndustryCategory = 160,
  FirstPartyIndustry = 170,
  MatingServiceType = 180,
  IndustryBodyType = 190,
export enum CategoryCode {
  /**身份 */
  Identity = '10',
  /**学历 */
  Education = '20',
  /**岗位 */
  Position = '30',
  /**证书类型 */
  CertificateType = '40',
  /**福利 */
  Welfare = '50',
  /**行业类型 */
  IndustryCategory = '60',
  /**行政地区 */
  Area = '70',
}
export const SearchTypeText = {
  [SearchType.Hot]: '热搜词',
  [SearchType.Service]: '服务类型',
  [SearchType.Work]: '工种',
  [SearchType.Park]: '园区类型',
  [SearchType.Info]: '资讯活动类型',
  [SearchType.Policy]: '政策颁布机构',
  [SearchType.RegionalManagement]: '区域管理',
  [SearchType.ProductType]: '产品类型',
  [SearchType.DemandType]: '需求类型',
  [SearchType.DemandRange]: '需求范围',
  [SearchType.EmployeeBenefits]: '员工福利',
  [SearchType.CompanyIndustry]: '公司行业',
  [SearchType.HeadHunterPosition]: '猎头职位',
  [SearchType.ConsultationCategory]: '咨询类别',
  [SearchType.FAQCategory]: '问题分类',
  [SearchType.IndustryCategory]: '行业类别',
  [SearchType.FirstPartyIndustry]: '甲方行业',
  [SearchType.MatingServiceType]: '配套服务类型',
  [SearchType.IndustryBodyType]: '行业机构类型',
};
export enum BelongType {
  Park = 10,
  Human = 20,
  Product = 30,
  Information = 40,
  FlexiblePlatform = 60,
  LaborRecruitment = 70,
  DemandDevelopment = 80,
  TrainingInstitutions = 90,
export enum IdentityCodeEnum {
  /**学生 */
  Student = '10-10',
  /**非学生 */
  NotStudent = '10-20',
}
export enum IndustryCategoryType {
  /**
   * 行业服务
   */
  IndustryServices = 0,
  /**
   * 行业配套
   */
  IndustryMatching,
  /**
   * 甲方需求
   */
  FirstPartyDemand,
  /**
   * 行业资讯
   */
  IndustryInformation,
export enum EducationCodeEnum {
  /**初中以下 */
  UnderPrimarySchool = '20-10',
  /**初中 */
  PrimarySchool = '20-20',
  /**高中 */
  HighSchool = '20-30',
  /**中专 */
  JuniorCollege = '20-40',
  /**技校 */
  TechnicalSchool = '20-50',
  /**中职 */
  JuniorHighSchool = '20-60',
  /**高职 */
  SeniorHighSchool = '20-70',
  /**本科 */
  Undergraduate = '20-80',
  /**本科以上 */
  UndergraduateAndAbove = '20-90',
}
export const IndustryCategoryTypeText = {
  [IndustryCategoryType.IndustryServices]: '行业服务',
  [IndustryCategoryType.IndustryMatching]: '行业配套',
  [IndustryCategoryType.FirstPartyDemand]: '甲方需求',
  [IndustryCategoryType.IndustryInformation]: '行业资讯',
};
export enum ProductInfoCategoryType {
  /**
   * 产品类别
   */
  ProductCategory = 0,
  /**
   * 资讯类别
   */
  InformationCategory = 1,
export enum CertificateTypeCodeEnum {
  /**健康证 */
  HealthCertificate = '40-10',
}
export const ProductInfoCategoryTypeText = {
  [ProductInfoCategoryType.ProductCategory]: '产品类别',
  [ProductInfoCategoryType.InformationCategory]: '资讯类别',
};
export enum TagType {
  /**
   * 产品标签
   */
  ProductTag = 0,
  /**
   * 资讯标签
   */
  InformationTag,
  /**
   * 定义标签
   */
  CustomTag,
  /**
   * 快捷评论标签
   */
  QuickEvaluateTag,
export enum WelfareCodeEnum {
  /**包餐 */
  Meal = '50-10',
  /**包住宿 */
  Accommodation = '50-20',
  /**交通补贴 */
  TransportationSubsidies = '50-30',
  /**高温补贴 */
  HighTemperatureSubsidies = '50-40',
}
export const ProductInfoTagTypeText = {
  [TagType.ProductTag]: '产品标签',
  [TagType.InformationTag]: '资讯标签',
};
export const ProductQuickEvaluateTypeText = {
  [TagType.ProductTag]: '产品快捷评价',
};
export enum UpLevel {
  /**
   * 一级
   */
  One = 1,
  /**
   * 二级
   */
  Two,
  /**
   * 三级
   */
  Three,
}
export const UpLevelText = {
  [UpLevel.One]: '一级',
  [UpLevel.Two]: '二级',
  [UpLevel.Three]: '三级',
};