|
@@ -81,7 +81,8 @@ const swiperAdList = [
|
|
|
]
|
|
|
const filterList = ref([
|
|
|
{ label: '城市', dictType: 'areaTreeData', key: 'areaIds', map: { text: 'name', value: 'id' } },
|
|
|
- { label: '行业', dictType: 'industryTreeData',key: 'industryIds', map: { text: 'nameCn', value: 'id' } },
|
|
|
+ // { label: '行业', dictType: 'industryTreeData',key: 'industryIds', map: { text: 'nameCn', value: 'id' } },
|
|
|
+ { label: '职位', dictType: 'positionTreeData',key: 'positionId', map: { text: 'nameCn', value: 'id' } },
|
|
|
{ label: '求职类型', dictType: 'menduner_job_type', key: 'jobType' },
|
|
|
{ label: '薪资待遇', dictType: 'menduner_pay_scope', key: 'payScope' },
|
|
|
// { label: '工作经验', dictType: 'menduner_exp_type', key: 'expType' },
|
|
@@ -141,7 +142,11 @@ const getData = async () => {
|
|
|
getData()
|
|
|
|
|
|
const handleSearch = (key, value) => {
|
|
|
- query[key] = value ? [value] : []
|
|
|
+ if (key === 'positionId' || key === 'payScope') {
|
|
|
+ query[key] = value || null
|
|
|
+ } else {
|
|
|
+ query[key] = value ? [value] : []
|
|
|
+ }
|
|
|
onSearch()
|
|
|
}
|
|
|
|