From b00816ee219ef3e7d21974bc58e061ee188eee74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E8=BE=89?= Date: Fri, 13 Mar 2026 11:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BD=93=E6=9C=BA=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E9=80=89=E9=A1=B9=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../new-filter-page/new-filter-page.vue | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/components/new-filter-page/new-filter-page.vue b/components/new-filter-page/new-filter-page.vue index c716cc4..037f503 100644 --- a/components/new-filter-page/new-filter-page.vue +++ b/components/new-filter-page/new-filter-page.vue @@ -95,6 +95,24 @@ + + + + + + + @@ -131,7 +149,8 @@ const tabs = [ { key: 'education', label: '学历要求' }, { key: 'experience', label: '工作经验' }, { key: 'scale', label: '公司规模' }, - { key: 'jobType', label: '岗位类型' } + { key: 'jobType', label: '岗位类型' }, + { key: 'area', label: '地区' } ]; // 当前激活的标签 @@ -142,7 +161,8 @@ const selectedValues = reactive({ education: '', experience: '', scale: '', - jobType: '' + jobType: '', + area: '' }); // 从字典获取的选项数据 @@ -150,6 +170,7 @@ const educationOptions = ref([]); const experienceOptions = ref([]); const scaleOptions = ref([]); const jobTypeOptions = ref([]); +const areaOptions = ref([]); // 初始化获取数据 onBeforeMount(() => { @@ -157,6 +178,7 @@ onBeforeMount(() => { experienceOptions.value = getTransformChildren('experience', '工作经验').options || []; scaleOptions.value = getTransformChildren('scale', '公司规模').options || []; jobTypeOptions.value = getJobTypeData(); + areaOptions.value = getTransformChildren('area', '地区').options || []; }); // 处理选项选择