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 | 157 ++++------------------------------------------------ 1 files changed, 13 insertions(+), 144 deletions(-) diff --git a/packages/constants/dic.ts b/packages/constants/dic.ts index 889b708..534792d 100644 --- a/packages/constants/dic.ts +++ b/packages/constants/dic.ts @@ -1,145 +1,14 @@ -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', } - -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 IndustryCategoryType { - /** - * 琛屼笟鏈嶅姟 - */ - IndustryServices = 0, - /** - * 琛屼笟閰嶅 - */ - IndustryMatching, - - /** - * 鐢叉柟闇�姹� - */ - FirstPartyDemand, - /** - * 琛屼笟璧勮 - */ - IndustryInformation, -} - -export const IndustryCategoryTypeText = { - [IndustryCategoryType.IndustryServices]: '琛屼笟鏈嶅姟', - [IndustryCategoryType.IndustryMatching]: '琛屼笟閰嶅', - [IndustryCategoryType.FirstPartyDemand]: '鐢叉柟闇�姹�', - [IndustryCategoryType.IndustryInformation]: '琛屼笟璧勮', -}; - -export enum ProductInfoCategoryType { - /** - * 浜у搧绫诲埆 - */ - ProductCategory = 0, - /** - * 璧勮绫诲埆 - */ - InformationCategory = 1, -} - -export const ProductInfoCategoryTypeText = { - [ProductInfoCategoryType.ProductCategory]: '浜у搧绫诲埆', - [ProductInfoCategoryType.InformationCategory]: '璧勮绫诲埆', -}; - -export enum TagType { - /** - * 浜у搧鏍囩 - */ - ProductTag = 0, - /** - * 璧勮鏍囩 - */ - InformationTag, - /** - * 瀹氫箟鏍囩 - */ - CustomTag, - /** - * 蹇嵎璇勮鏍囩 - */ - QuickEvaluateTag, -} - -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]: '涓夌骇', -}; -- Gitblit v1.9.1