shmily1213 2 недель назад
Родитель
Сommit
986969de1d

+ 3 - 3
src/pagesMain/pages/index/components/index-map.vue

@@ -95,9 +95,9 @@ const maps = computed<SiteMap[]>(() => [{
   pagePath: '',
   handler: goSimulate
 }, {
-  title: '测录取率',
-  desc: '录取风险评估',
-  pagePath: routes.voluntaryIndex
+  title: userStore.isVHS ? '测技能分' : '测录取率',
+  desc: userStore.isVHS ? '精准定位' : '录取风险评估',
+  pagePath: userStore.isVHS ? routes.skillIndex : routes.voluntaryIndex
 }])
 
 const location = computed(() => userStore.getLocation);

+ 7 - 1
src/pagesOther/pages/university/index/components/plus/college-conditions-picker.vue

@@ -60,7 +60,13 @@ const options = computed(() => {
 })
 const form = ref<Record<string, any>>({});
 const configs = computed<Dropdown.DropdownItem[]>(() => {
-  return options.value.map(item => {
+  return options.value.filter(item => {
+    if (userStore.isVHS) {
+      // 职高对口升学不支持院校梯队筛选
+      return item.prop !== 'tiers';
+    }
+    return true;
+  }).map(item => {
     const list = props.options[item.optionKey as keyof UniversityFilter] || [];
     if (Array.isArray(list)) {
       return {