|
|
@@ -22,11 +22,70 @@ const emit = defineEmits<{
|
|
|
(e: 'change', value: UniversityQueryDto): void;
|
|
|
}>();
|
|
|
const options = computed(() => {
|
|
|
- return userStore.isHN ? [
|
|
|
+ // return userStore.isHN ? [
|
|
|
+ // {
|
|
|
+ // label: '院校层次',
|
|
|
+ // prop: 'features',
|
|
|
+ // optionKey: 'features',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '院校类型',
|
|
|
+ // prop: 'type',
|
|
|
+ // optionKey: 'types',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '办学类型',
|
|
|
+ // prop: 'natureTypeCN',
|
|
|
+ // optionKey: 'natureTypes',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '院校梯队',
|
|
|
+ // prop: 'tiers',
|
|
|
+ // optionKey: 'tiers',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // ] : [
|
|
|
+ // {
|
|
|
+ // label: '院校层次',
|
|
|
+ // prop: 'features',
|
|
|
+ // optionKey: 'features',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '院校类型',
|
|
|
+ // prop: 'type',
|
|
|
+ // optionKey: 'types',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '办学类型',
|
|
|
+ // prop: 'natureTypeCN',
|
|
|
+ // optionKey: 'natureTypes',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '院校省份',
|
|
|
+ // prop: 'location',
|
|
|
+ // optionKey: 'locations',
|
|
|
+ // keyName: 'label',
|
|
|
+ // keyValue: 'value',
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ return [
|
|
|
{
|
|
|
- label: '院校层次',
|
|
|
- prop: 'features',
|
|
|
- optionKey: 'features',
|
|
|
+ label: '院校省市',
|
|
|
+ prop: 'location',
|
|
|
+ optionKey: 'locations',
|
|
|
keyName: 'label',
|
|
|
keyValue: 'value',
|
|
|
},
|
|
|
@@ -50,35 +109,6 @@ const options = computed(() => {
|
|
|
optionKey: 'tiers',
|
|
|
keyName: 'label',
|
|
|
keyValue: 'value',
|
|
|
- },
|
|
|
- ] : [
|
|
|
- {
|
|
|
- label: '院校层次',
|
|
|
- prop: 'features',
|
|
|
- optionKey: 'features',
|
|
|
- keyName: 'label',
|
|
|
- keyValue: 'value',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '院校类型',
|
|
|
- prop: 'type',
|
|
|
- optionKey: 'types',
|
|
|
- keyName: 'label',
|
|
|
- keyValue: 'value',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '办学类型',
|
|
|
- prop: 'natureTypeCN',
|
|
|
- optionKey: 'natureTypes',
|
|
|
- keyName: 'label',
|
|
|
- keyValue: 'value',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '院校省份',
|
|
|
- prop: 'location',
|
|
|
- optionKey: 'locations',
|
|
|
- keyName: 'label',
|
|
|
- keyValue: 'value',
|
|
|
}
|
|
|
]
|
|
|
})
|