From f0ba4ae708d0cbd62a24bfacdcce00e5d0f8e01b Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 13 八月 2025 09:19:31 +0800 Subject: [PATCH] feat: 接口对接 --- packages/constants/dic.ts | 162 +++++++++++++++++------------------------------------- 1 files changed, 51 insertions(+), 111 deletions(-) diff --git a/packages/constants/dic.ts b/packages/constants/dic.ts index 3bda434..41e3e90 100644 --- a/packages/constants/dic.ts +++ b/packages/constants/dic.ts @@ -1,120 +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 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]: '涓夌骇', -}; -- Gitblit v1.9.1