wupengfei
6 天以前 fb531cbb7ceca6e4c28288b5a988a2700a065c59
packages/constants/dic.ts
@@ -1,100 +1,60 @@
export enum SearchType {
export enum CategoryCode {
  /**身份 */
  Identity = 210,
  Identity = '10',
  /**学历 */
  Education = 220,
  Education = '20',
  /**岗位 */
  Position = 230,
  Position = '30',
  /**证书类型 */
  CertificateType = 240,
  CertificateType = '40',
  /**福利 */
  Welfare = 250,
  Welfare = '50',
  /**行业类型 */
  IndustryCategory = 260,
  IndustryCategory = '60',
  /**行政地区 */
  Area = '70',
}
export const SearchTypeText = {
  [SearchType.Identity]: '身份',
  [SearchType.Education]: '学历',
  [SearchType.Position]: '岗位',
  [SearchType.CertificateType]: '证书类型',
  [SearchType.Welfare]: '福利',
  [SearchType.IndustryCategory]: '行业类型',
};
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 TagType {
  /**
   * 产品标签
   */
  ProductTag = 0,
  /**
   * 资讯标签
   */
  InformationTag,
  /**
   * 定义标签
   */
  CustomTag,
  /**
   * 快捷评论标签
   */
  QuickEvaluateTag,
export enum CertificateTypeCodeEnum {
  /**健康证 */
  HealthCertificate = '40-10',
}
export enum UpLevel {
  /**
   * 一级
   */
  One = 1,
  /**
   * 二级
   */
  Two,
  /**
   * 三级
   */
  Three,
export enum WelfareCodeEnum {
  /**包餐 */
  Meal = '50-10',
  /**包住宿 */
  Accommodation = '50-20',
  /**交通补贴 */
  TransportationSubsidies = '50-30',
  /**高温补贴 */
  HighTemperatureSubsidies = '50-40',
}
export const UpLevelText = {
  [UpLevel.One]: '一级',
  [UpLevel.Two]: '二级',
  [UpLevel.Three]: '三级',
};