招聘页面更新筛选功能

This commit is contained in:
dengxin
2024-03-26 21:19:45 +08:00
parent 10cf467473
commit 14498c5003
4 changed files with 275 additions and 120 deletions

View File

@@ -37,7 +37,7 @@ export const recMission = () => {
})
}
/*抢任务-附近任务*/
/*抢任务-推荐岗位*/
export const nearMission = (current, size, lat, lon, distance) => {
return request({
url: '/api/jobslink-api/user/userWork/getPushListByUserId',
@@ -67,7 +67,6 @@ export const recommendMission = (current, size, seaStr) => {
})
}
/*抢任务-最新任务*/
export const newMissionAll = (current, size, seaStr) => {
return request({
@@ -81,6 +80,47 @@ export const newMissionAll = (current, size, seaStr) => {
headers: getHeader()
})
}
/*抢任务-个体户招工*/
export const nearMissionSearch = (current, size, education,salary,industry,province,city) => {
return request({
url: '/api/jobslink-api/user/userWork/searchList',
method: 'get',
params: {
current,
size,
education,salary,industry,province,city
},
headers: getHeader()
})
}
/*抢任务-推荐任务*/
export const recommendMissionSearch = (current, size, education,salary,industry,province,city) => {
return request({
url: '/api/jobslink-api/missions/user/mission/searchList',
method: 'get',
params: {
current,
size,
education,salary,industry,province,city
},
headers: getHeader()
})
}
/*抢任务-推荐岗位*/
export const newMissionAllSearch = (current, size, education,salary,industry,province,city) => {
return request({
url: '/api/jobslink-api/user/userrecruit/searchList',
method: 'get',
params: {
current,
size,
education,salary,industry,province,city
},
headers: getHeader()
})
}
/*提交抢任务*/
export const submit = (missionNo,type) => {