From dd0a3e0ed394983c4fbacdab64cad6f8de5b4884 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 18:03:56 +0800 Subject: [PATCH] fix: 对接字典 --- packages/constants/dic.ts | 100 +++---------------------------------------------- 1 files changed, 7 insertions(+), 93 deletions(-) diff --git a/packages/constants/dic.ts b/packages/constants/dic.ts index 475f69a..534792d 100644 --- a/packages/constants/dic.ts +++ b/packages/constants/dic.ts @@ -1,100 +1,14 @@ -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', } - -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 IndustryCategoryType { - /** - * 琛屼笟鏈嶅姟 - */ - IndustryServices = 0, - /** - * 琛屼笟閰嶅 - */ - IndustryMatching, - - /** - * 鐢叉柟闇�姹� - */ - FirstPartyDemand, - /** - * 琛屼笟璧勮 - */ - IndustryInformation, -} - -export const IndustryCategoryTypeText = { - [IndustryCategoryType.IndustryServices]: '琛屼笟鏈嶅姟', - [IndustryCategoryType.IndustryMatching]: '琛屼笟閰嶅', - [IndustryCategoryType.FirstPartyDemand]: '鐢叉柟闇�姹�', - [IndustryCategoryType.IndustryInformation]: '琛屼笟璧勮', -}; - -export enum TagType { - /** - * 浜у搧鏍囩 - */ - ProductTag = 0, - /** - * 璧勮鏍囩 - */ - InformationTag, - /** - * 瀹氫箟鏍囩 - */ - CustomTag, - /** - * 蹇嵎璇勮鏍囩 - */ - QuickEvaluateTag, -} - -export enum UpLevel { - /** - * 涓�绾� - */ - One = 1, - /** - * 浜岀骇 - */ - Two, - /** - * 涓夌骇 - */ - Three, -} -export const UpLevelText = { - [UpLevel.One]: '涓�绾�', - [UpLevel.Two]: '浜岀骇', - [UpLevel.Three]: '涓夌骇', -}; -- Gitblit v1.9.1