flat: 暂存
This commit is contained in:
4
App.vue
4
App.vue
@@ -15,9 +15,9 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
onLaunch: function(options) {
|
onLaunch: function(options) {
|
||||||
if (options.query.ticket) {
|
if (options.query.token) {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/login/blank?ticket=' + options.query.ticket
|
url: '/pages/login/blank?token=' + options.query.token
|
||||||
})
|
})
|
||||||
} else if (this.$store.state.user.token) {
|
} else if (this.$store.state.user.token) {
|
||||||
this.$store.dispatch('startRefreshTokenTimer')
|
this.$store.dispatch('startRefreshTokenTimer')
|
||||||
|
|||||||
392
api/mission.js
392
api/mission.js
@@ -1,297 +1,285 @@
|
|||||||
import {
|
import {
|
||||||
request
|
request
|
||||||
} from '@/untils/AxiosUtils.js';
|
} from '@/untils/AxiosUtils.js';
|
||||||
import {
|
import {
|
||||||
getStore
|
getStore
|
||||||
} from '@/untils/store.js'
|
} from '@/untils/store.js'
|
||||||
|
|
||||||
function getHeader() {
|
function getHeader() {
|
||||||
const platformId = getStore({
|
const platformId = getStore({
|
||||||
name: 'platformId'
|
name: 'platformId'
|
||||||
})
|
})
|
||||||
if (platformId) {
|
if (platformId) {
|
||||||
return {
|
return {
|
||||||
'Platform-Id': platformId
|
'Platform-Id': platformId
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*首页 最新任务(10条)*/
|
/*首页 最新任务(10条)*/
|
||||||
export const newMission = () => {
|
export const newMission = () => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/front/mission/guestList',
|
url: '/api/jobslink-api/missions/front/mission/guestList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
headers: getHeader()
|
headers: getHeader()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*首页 推荐任务(10条)*/
|
/*首页 推荐任务(10条)*/
|
||||||
export const recMission = () => {
|
export const recMission = () => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/interestedList',
|
url: '/api/jobslink-api/missions/user/mission/interestedList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
headers: getHeader()
|
headers: getHeader()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*抢任务-推荐岗位*/
|
/*抢任务-推荐岗位*/
|
||||||
export const nearMission = (current, size, lat, lon, distance) => {
|
export const nearMission = (current, size, lat, lon, distance) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/getPushListByUserId',
|
url: '/api/jobslink-api/user/userWork/getPushListByUserId',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
lat,
|
lat,
|
||||||
lon,
|
lon,
|
||||||
distance
|
distance
|
||||||
},
|
},
|
||||||
headers: getHeader()
|
headers: getHeader()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*抢任务-推荐任务*/
|
/*抢任务-推荐任务*/
|
||||||
export const recommendMission = (current, size, seaStr) => {
|
export const recommendMission = (current, size, seaStr) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/recommendList',
|
url: '/api/jobslink-api/missions/user/mission/recommendList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
seaStr
|
seaStr
|
||||||
},
|
},
|
||||||
headers: getHeader()
|
headers: getHeader()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*抢任务-最新任务*/
|
/*抢任务-最新任务*/
|
||||||
export const newMissionAll = (current, size, seaStr) => {
|
export const newMissionAll = (current, size, seaStr) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/getPushList',
|
url: '/api/jobslink-api/missions/user/mission/getPushList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
seaStr
|
seaStr
|
||||||
},
|
},
|
||||||
headers: getHeader()
|
headers: getHeader()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*抢任务-个体户招工*/
|
/*抢任务-个体户招工*/
|
||||||
export const nearMissionSearch = (current, size, education,salary,industry,province,city) => {
|
export const nearMissionSearch = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/searchList',
|
url: '/api/jobslink-api/user/userWork/searchList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params,
|
||||||
current,
|
headers: getHeader()
|
||||||
size,
|
})
|
||||||
education,salary,industry,province,city
|
|
||||||
},
|
|
||||||
headers: getHeader()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*抢任务-推荐任务*/
|
/*抢任务-推荐任务*/
|
||||||
export const recommendMissionSearch = (current, size, education,salary,industry,province,city) => {
|
export const recommendMissionSearch = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/searchList',
|
url: '/api/jobslink-api/missions/user/mission/searchList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params,
|
||||||
current,
|
headers: getHeader()
|
||||||
size,
|
})
|
||||||
education,salary,industry,province,city
|
|
||||||
},
|
|
||||||
headers: getHeader()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*抢任务-推荐岗位*/
|
/*抢任务-推荐岗位*/
|
||||||
export const newMissionAllSearch = (current, size, education,salary,industry,province,city) => {
|
export const newMissionAllSearch = (params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userrecruit/searchList',
|
url: '/api/jobslink-api/user/userrecruit/searchList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params,
|
||||||
current,
|
headers: getHeader()
|
||||||
size,
|
})
|
||||||
education,salary,industry,province,city
|
|
||||||
},
|
|
||||||
headers: getHeader()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*提交抢任务*/
|
/*提交抢任务*/
|
||||||
export const submit = (missionNo,type) => {
|
export const submit = (missionNo, type) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/missionApply',
|
url: '/api/jobslink-api/missions/user/mission/missionApply',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
missionNo,
|
missionNo,
|
||||||
type
|
type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*我的任务*/
|
/*我的任务*/
|
||||||
export const myMission = (current, size, status) => {
|
export const myMission = (current, size, status) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/user/mission/getUserMissionList',
|
url: '/api/jobslink-api/missions/user/mission/getUserMissionList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 消息中心:推荐岗位和推荐任务
|
// 消息中心:推荐岗位和推荐任务
|
||||||
export const tuiJianMission = (ids, type) => {
|
export const tuiJianMission = (ids, type) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/getListByIDs',
|
url: '/api/jobslink-api/user/userWork/getListByIDs',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
ids,
|
ids,
|
||||||
type
|
type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 推送政策
|
// 推送政策
|
||||||
export const getNewsPolicyList = (ids) => {
|
export const getNewsPolicyList = (ids) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/policy/userList',
|
url: '/api/jobslink-api/policy/userList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
ids
|
ids
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*我的收藏*/
|
/*我的收藏*/
|
||||||
export const myCollection = (current, size, status) => {
|
export const myCollection = (current, size, status) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/jkWorks/jkWorks/getCollectListByUserId',
|
url: '/api/jobslink-api/jkWorks/jkWorks/getCollectListByUserId',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*浏览记录*/
|
/*浏览记录*/
|
||||||
export const myBrowing = (current, size, status) => {
|
export const myBrowing = (current, size, status) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/useraction/getListByUserId',
|
url: '/api/jobslink-api/user/useraction/getListByUserId',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*招工消息通知列表*/
|
/*招工消息通知列表*/
|
||||||
export const recruitmentNewsList = (current, size, status) => {
|
export const recruitmentNewsList = (current, size, status) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userrecruit/getCollectList',
|
url: '/api/jobslink-api/user/userrecruit/getCollectList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
current,
|
current,
|
||||||
size,
|
size,
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*任务详情*/
|
/*任务详情*/
|
||||||
export const missionDetail = (missionNo) => {
|
export const missionDetail = (missionNo) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/missions/front/mission/detail',
|
url: '/api/jobslink-api/missions/front/mission/detail',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
missionNo
|
missionNo
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*任务详情*/
|
/*任务详情*/
|
||||||
export const recruit_missionDetail = (missionNo,type) => {
|
export const recruit_missionDetail = (missionNo, type) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userrecruit/getCollectUserList',
|
url: '/api/jobslink-api/user/userrecruit/getCollectUserList',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
id:missionNo,
|
id: missionNo,
|
||||||
type
|
type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*岗位详情*/
|
/*岗位详情*/
|
||||||
// workDetail
|
// workDetail
|
||||||
export const workDetail = (workId) => {
|
export const workDetail = (workId) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/getWorksInfoByWorkId',
|
url: '/api/jobslink-api/user/userWork/getWorksInfoByWorkId',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
workId
|
workId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*获取收藏状态*/
|
/*获取收藏状态*/
|
||||||
export const getCollectState = (workId, type) => {
|
export const getCollectState = (workId, type) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/jkWorks/jkWorks/getCollectStatus',
|
url: '/api/jobslink-api/jkWorks/jkWorks/getCollectStatus',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
workId,
|
workId,
|
||||||
type
|
type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/*收藏和取消收藏接口*/
|
/*收藏和取消收藏接口*/
|
||||||
export const updateCollectStatus = (workId, status, type) => {
|
export const updateCollectStatus = (workId, status, type) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/jkWorks/jkWorks/updateCollectStatus',
|
url: '/api/jobslink-api/jkWorks/jkWorks/updateCollectStatus',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
workId,
|
workId,
|
||||||
status,
|
status,
|
||||||
type
|
type
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*获取查询关键字列表*/
|
/*获取查询关键字列表*/
|
||||||
export const getSearchKeyWordsList = () => {
|
export const getSearchKeyWordsList = () => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/getSearchAllKeyWords',
|
url: '/api/jobslink-api/user/userWork/getSearchAllKeyWords',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*清空搜索历史*/
|
/*清空搜索历史*/
|
||||||
export const clearSearchKeyWords = () => {
|
export const clearSearchKeyWords = () => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/delSearchAllKeyWords',
|
url: '/api/jobslink-api/user/userWork/delSearchAllKeyWords',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/*通过关键字获取面板搜索结果*/
|
/*通过关键字获取面板搜索结果*/
|
||||||
export const getListByKeyWords = (keywords) => {
|
export const getListByKeyWords = (keywords) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/api/jobslink-api/user/userWork/searchAll',
|
url: '/api/jobslink-api/user/userWork/searchAll',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
keywords
|
keywords
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -1,305 +1,317 @@
|
|||||||
export const classifyData = [{
|
export const classifyData = [{
|
||||||
name: "学历",
|
name: "学历",
|
||||||
data: [{
|
data: [{
|
||||||
name: "不限",
|
name: "不限",
|
||||||
id: "不限",
|
id: "不限",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "初中及以下",
|
name: "初中及以下",
|
||||||
id: "初中及以下",
|
id: "初中及以下",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "中专/中技",
|
name: "中专/中技",
|
||||||
id: "中专/中技",
|
id: "中专/中技",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "高中",
|
name: "高中",
|
||||||
id: "高中",
|
id: "高中",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "大专",
|
name: "大专",
|
||||||
id: "大专",
|
id: "大专",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "本科",
|
name: "本科",
|
||||||
id: "本科",
|
id: "本科",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "硕士",
|
name: "硕士",
|
||||||
id: "硕士",
|
id: "硕士",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "博士",
|
name: "博士",
|
||||||
id: "博士",
|
id: "博士",
|
||||||
}, {
|
}, {
|
||||||
name: "MBA/EMBA",
|
name: "MBA/EMBA",
|
||||||
id: "MBA/EMBA",
|
id: "MBA/EMBA",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "工资",
|
name: "工资",
|
||||||
data: [{
|
data: [{
|
||||||
name: "10-15元/小时",
|
name: "10-15元/小时",
|
||||||
id: "10-15元/小时",
|
id: "10-15",
|
||||||
},
|
wageUnitCategory: 1,
|
||||||
{
|
},
|
||||||
name: "16-20元/小时",
|
{
|
||||||
id: "16-20元/小时",
|
name: "16-20元/小时",
|
||||||
},
|
id: "16-20",
|
||||||
{
|
wageUnitCategory: 1,
|
||||||
name: "21-25元/小时",
|
},
|
||||||
id: "21-25元/小时",
|
{
|
||||||
},
|
name: "21-25元/小时",
|
||||||
{
|
id: "21-25",
|
||||||
name: "26-30元/小时",
|
wageUnitCategory: 1,
|
||||||
id: "26-30元/小时",
|
},
|
||||||
},
|
{
|
||||||
{
|
name: "26-30元/小时",
|
||||||
name: "30元/小时以上",
|
id: "26-30",
|
||||||
id: "30元/小时以上",
|
wageUnitCategory: 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "100-150/天",
|
name: "30元/小时以上",
|
||||||
id: "100-150/天",
|
id: "30",
|
||||||
},
|
wageUnitCategory: 1,
|
||||||
{
|
},
|
||||||
name: "151-200/天",
|
{
|
||||||
id: "151-200/天",
|
name: "100-150/天",
|
||||||
},
|
id: "100-150",
|
||||||
{
|
wageUnitCategory: 2,
|
||||||
name: "201-250/天",
|
},
|
||||||
id: "201-250/天",
|
{
|
||||||
},
|
name: "151-200/天",
|
||||||
{
|
id: "151-200",
|
||||||
name: "251-300/天",
|
wageUnitCategory: 2,
|
||||||
id: "251-300/天",
|
},
|
||||||
},
|
{
|
||||||
{
|
name: "201-250/天",
|
||||||
name: "300元/天以上",
|
id: "201-250",
|
||||||
id: "300元/天以上",
|
wageUnitCategory: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "30000元以上/月",
|
name: "251-300/天",
|
||||||
id: "30000元以上/月",
|
id: "251-300",
|
||||||
},
|
wageUnitCategory: 2,
|
||||||
{
|
},
|
||||||
name: "面议、暂无要求",
|
{
|
||||||
id: "面议、暂无要求",
|
name: "300元/天以上",
|
||||||
},
|
id: "300",
|
||||||
],
|
wageUnitCategory: 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "行业",
|
name: "30000元以上/月",
|
||||||
data: [{
|
id: "30000",
|
||||||
name: "不限年龄",
|
wageUnitCategory: 3,
|
||||||
id: "不限年龄",
|
},
|
||||||
},
|
{
|
||||||
{
|
name: "面议、暂无要求",
|
||||||
name: "30以下",
|
id: "",
|
||||||
id: "30",
|
wageUnitCategory: '',
|
||||||
},
|
},
|
||||||
{
|
],
|
||||||
name: "35以下",
|
},
|
||||||
id: "35",
|
{
|
||||||
},
|
name: "行业",
|
||||||
{
|
data: [{
|
||||||
name: "40以下",
|
name: "不限年龄",
|
||||||
id: "40",
|
id: "不限年龄",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "45以下",
|
name: "30以下",
|
||||||
id: "45",
|
id: "30",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "50以下",
|
name: "35以下",
|
||||||
id: "50",
|
id: "35",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "55以下",
|
name: "40以下",
|
||||||
id: "55",
|
id: "40",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "60以下",
|
name: "45以下",
|
||||||
id: "60",
|
id: "45",
|
||||||
},
|
},
|
||||||
],
|
{
|
||||||
},
|
name: "50以下",
|
||||||
{
|
id: "50",
|
||||||
name: "区域",
|
},
|
||||||
data: [{
|
{
|
||||||
name: "薪资不限",
|
name: "55以下",
|
||||||
id: "薪资不限",
|
id: "55",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "100-150/天",
|
name: "60以下",
|
||||||
id: "100-150/天",
|
id: "60",
|
||||||
},
|
},
|
||||||
{
|
],
|
||||||
name: "151-200/天",
|
},
|
||||||
id: "151-200/天",
|
{
|
||||||
},
|
name: "区域",
|
||||||
{
|
data: [{
|
||||||
name: "201-250/天",
|
name: "薪资不限",
|
||||||
id: "201-250/天",
|
id: "薪资不限",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "251-300/天",
|
name: "100-150/天",
|
||||||
id: "251-300/天",
|
id: "100-150/天",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "300元/天以上",
|
name: "151-200/天",
|
||||||
id: "300元/天以上",
|
id: "151-200/天",
|
||||||
},
|
},
|
||||||
],
|
{
|
||||||
},
|
name: "201-250/天",
|
||||||
|
id: "201-250/天",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "251-300/天",
|
||||||
|
id: "251-300/天",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "300元/天以上",
|
||||||
|
id: "300元/天以上",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const classifyData2 = [{
|
export const classifyData2 = [{
|
||||||
name: "学历",
|
name: "学历",
|
||||||
data: [{
|
data: [{
|
||||||
name: "不限",
|
name: "不限",
|
||||||
id: "不限",
|
id: "不限",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "初中及以下",
|
name: "初中及以下",
|
||||||
id: "初中及以下",
|
id: "初中及以下",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "中专/中技",
|
name: "中专/中技",
|
||||||
id: "中专/中技",
|
id: "中专/中技",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "高中",
|
name: "高中",
|
||||||
id: "高中",
|
id: "高中",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "大专",
|
name: "大专",
|
||||||
id: "大专",
|
id: "大专",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "本科",
|
name: "本科",
|
||||||
id: "本科",
|
id: "本科",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "硕士",
|
name: "硕士",
|
||||||
id: "硕士",
|
id: "硕士",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "博士",
|
name: "博士",
|
||||||
id: "博士",
|
id: "博士",
|
||||||
}, {
|
}, {
|
||||||
name: "MBA/EMBA",
|
name: "MBA/EMBA",
|
||||||
id: "MBA/EMBA",
|
id: "MBA/EMBA",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "工资",
|
name: "工资",
|
||||||
data: [{
|
data: [{
|
||||||
name: "2000元(含)以下",
|
name: "2000元(含)以下",
|
||||||
id: "0-2000",
|
id: "0-2000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "2000-5000元元(含)",
|
name: "2000-5000元元(含)",
|
||||||
id: "2000-5000",
|
id: "2000-5000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "5000-8000元(含)",
|
name: "5000-8000元(含)",
|
||||||
id: "5000-8000",
|
id: "5000-8000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "8000-10000元(含)",
|
name: "8000-10000元(含)",
|
||||||
id: "8000-10000",
|
id: "8000-10000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "10000-15000元(含)",
|
name: "10000-15000元(含)",
|
||||||
id: "10000-15000",
|
id: "10000-15000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "15000-20000元(含)",
|
name: "15000-20000元(含)",
|
||||||
id: "15000-20000",
|
id: "15000-20000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "20000-25000元(含)",
|
name: "20000-25000元(含)",
|
||||||
id: "20000-25000",
|
id: "20000-25000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "25000-30000元(含)",
|
name: "25000-30000元(含)",
|
||||||
id: "25000-30000",
|
id: "25000-30000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "30000以上",
|
name: "30000以上",
|
||||||
id: "30000-200000",
|
id: "30000-200000",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "面议、暂无要求",
|
name: "面议、暂无要求",
|
||||||
id: "",
|
id: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "行业",
|
name: "行业",
|
||||||
data: [{
|
data: [{
|
||||||
name: "不限年龄",
|
name: "不限年龄",
|
||||||
id: "不限年龄",
|
id: "不限年龄",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "30以下",
|
name: "30以下",
|
||||||
id: "30",
|
id: "30",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "35以下",
|
name: "35以下",
|
||||||
id: "35",
|
id: "35",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "40以下",
|
name: "40以下",
|
||||||
id: "40",
|
id: "40",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "45以下",
|
name: "45以下",
|
||||||
id: "45",
|
id: "45",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "50以下",
|
name: "50以下",
|
||||||
id: "50",
|
id: "50",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "55以下",
|
name: "55以下",
|
||||||
id: "55",
|
id: "55",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "60以下",
|
name: "60以下",
|
||||||
id: "60",
|
id: "60",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "区域",
|
name: "区域",
|
||||||
data: [{
|
data: [{
|
||||||
name: "薪资不限",
|
name: "薪资不限",
|
||||||
id: "薪资不限",
|
id: "薪资不限",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "100-150/天",
|
name: "100-150/天",
|
||||||
id: "100-150/天",
|
id: "100-150/天",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "151-200/天",
|
name: "151-200/天",
|
||||||
id: "151-200/天",
|
id: "151-200/天",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "201-250/天",
|
name: "201-250/天",
|
||||||
id: "201-250/天",
|
id: "201-250/天",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "251-300/天",
|
name: "251-300/天",
|
||||||
id: "251-300/天",
|
id: "251-300/天",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "300元/天以上",
|
name: "300元/天以上",
|
||||||
id: "300元/天以上",
|
id: "300元/天以上",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@@ -69,7 +69,6 @@
|
|||||||
classifyData,
|
classifyData,
|
||||||
classifyData2
|
classifyData2
|
||||||
} from './classifyData.js';
|
} from './classifyData.js';
|
||||||
console.log(classifyData, classifyData2)
|
|
||||||
import {
|
import {
|
||||||
getTrade
|
getTrade
|
||||||
} from '@/api/resume.js'
|
} from '@/api/resume.js'
|
||||||
@@ -143,7 +142,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getData: function() {
|
getData: function() {
|
||||||
getTrade().then(res => {
|
getTrade().then(res => {
|
||||||
console.log(res.data.data);
|
|
||||||
const newData = this.tabbar;
|
const newData = this.tabbar;
|
||||||
|
|
||||||
newData.map(item => {
|
newData.map(item => {
|
||||||
@@ -153,6 +151,7 @@
|
|||||||
})
|
})
|
||||||
this.tabbar = newData;
|
this.tabbar = newData;
|
||||||
this.industryModal.industry = res.data.data[0]?.name
|
this.industryModal.industry = res.data.data[0]?.name
|
||||||
|
this.industryModal.industryInfo = res.data.data[0]
|
||||||
this.industryModal.industryList = [res.data.data]
|
this.industryModal.industryList = [res.data.data]
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -248,7 +247,7 @@
|
|||||||
let height1 = this.arr[i];
|
let height1 = this.arr[i];
|
||||||
let height2 = this.arr[i + 1];
|
let height2 = this.arr[i + 1];
|
||||||
|
|
||||||
// 如果不存在height2,意味着数据循环已经到了最后一个,设置左边菜单为最后一项即可
|
// 如果不存在height2,意味着数据循环已经到了最后一个,设置左边菜单为最后一项即可s
|
||||||
if (!height2 || scrollHeight >= height1 && scrollHeight < height2) {
|
if (!height2 || scrollHeight >= height1 && scrollHeight < height2) {
|
||||||
this.leftMenuStatus(i - 1);
|
this.leftMenuStatus(i - 1);
|
||||||
return;
|
return;
|
||||||
@@ -299,6 +298,9 @@
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
this.$set(this.submitData, bigObj.name, smallObj.id);
|
this.$set(this.submitData, bigObj.name, smallObj.id);
|
||||||
|
if (smallObj.wageUnitCategory) {
|
||||||
|
this.$set(this.submitData, 'wageUnitCategory', smallObj.wageUnitCategory);
|
||||||
|
}
|
||||||
console.log(this.submitData);
|
console.log(this.submitData);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -323,6 +325,7 @@
|
|||||||
confirmAddress(val) {
|
confirmAddress(val) {
|
||||||
console.log(val, "点击地址");
|
console.log(val, "点击地址");
|
||||||
var valArr = val.value;
|
var valArr = val.value;
|
||||||
|
this.areaModal.info = val.chooseObjs
|
||||||
this.areaModal.address = [...new Set(val.value)].join(' / ')
|
this.areaModal.address = [...new Set(val.value)].join(' / ')
|
||||||
this.areaModal.address1 = valArr
|
this.areaModal.address1 = valArr
|
||||||
this.areaModal.addressShow = false
|
this.areaModal.addressShow = false
|
||||||
@@ -330,6 +333,7 @@
|
|||||||
pickerIndustryFunc(val) {
|
pickerIndustryFunc(val) {
|
||||||
console.log(val, "点击行业");
|
console.log(val, "点击行业");
|
||||||
this.industryModal.industry = val.value[0].name;
|
this.industryModal.industry = val.value[0].name;
|
||||||
|
this.industryModal.info = val.value[0]
|
||||||
this.industryModal.industryShow = false
|
this.industryModal.industryShow = false
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -343,7 +347,6 @@
|
|||||||
if (!this.industryModal.isClickIndustry) {
|
if (!this.industryModal.isClickIndustry) {
|
||||||
this.industryModal.industry = "";
|
this.industryModal.industry = "";
|
||||||
}
|
}
|
||||||
console.log(this.submitData, this.areaModal, this.industryModal);
|
|
||||||
this.subMitPopUp({
|
this.subMitPopUp({
|
||||||
submitData: this.submitData,
|
submitData: this.submitData,
|
||||||
areaModal: this.areaModal,
|
areaModal: this.areaModal,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: ''
|
title: ''
|
||||||
})
|
})
|
||||||
if (options.ticket) {
|
if (options.token) {
|
||||||
const that = this
|
const that = this
|
||||||
console.log(options)
|
console.log(options)
|
||||||
this.$store.dispatch("LoginByUsername", {
|
this.$store.dispatch("LoginByUsername", {
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
key: '',
|
key: '',
|
||||||
code: '1111',
|
code: '1111',
|
||||||
type: "account",
|
type: "account",
|
||||||
ticket: options.ticket,
|
token: options.token,
|
||||||
tenantId: website.tenantId
|
tenantId: website.tenantId
|
||||||
}).then((resp) => {
|
}).then((resp) => {
|
||||||
console.log('123', resp)
|
console.log('123', resp)
|
||||||
|
|||||||
@@ -507,9 +507,17 @@
|
|||||||
areaModal,
|
areaModal,
|
||||||
industryModal
|
industryModal
|
||||||
} = this.searchData;
|
} = this.searchData;
|
||||||
nearMissionSearch(this.policyPage.current, this.policyPage.size, submitData["学历"],
|
let params = {
|
||||||
submitData["工资"], industryModal?.industry, areaModal?.address1[0], areaModal?.address1[1]
|
current: this.policyPage.current,
|
||||||
).then(res => {
|
size: this.policyPage.size,
|
||||||
|
education: submitData["学历"],
|
||||||
|
salary: submitData["工资"],
|
||||||
|
industry: industryModal?.industry,
|
||||||
|
province: areaModal?.address1[0],
|
||||||
|
city: areaModal?.address1[1],
|
||||||
|
cityId: areaModal?.info[areaModal?.info?.length - 1]?.id
|
||||||
|
}
|
||||||
|
nearMissionSearch(params).then(res => {
|
||||||
if (this.policyPage.current === 1) {
|
if (this.policyPage.current === 1) {
|
||||||
this.policyContentList = [];
|
this.policyContentList = [];
|
||||||
}
|
}
|
||||||
@@ -528,9 +536,17 @@
|
|||||||
areaModal,
|
areaModal,
|
||||||
industryModal
|
industryModal
|
||||||
} = this.searchData;
|
} = this.searchData;
|
||||||
newMissionAllSearch(this.nearPage.current, this.nearPage.size, submitData["学历"],
|
let params = {
|
||||||
submitData["工资"], industryModal?.industry, areaModal?.address1[0], areaModal?.address1[1]
|
current: this.nearPage.current,
|
||||||
).then(res => {
|
size: this.nearPage.size,
|
||||||
|
education: submitData["学历"],
|
||||||
|
salary: submitData["工资"],
|
||||||
|
industry: industryModal?.info?.id,
|
||||||
|
province: areaModal?.address1[0],
|
||||||
|
city: areaModal?.address1[1],
|
||||||
|
cityId: areaModal?.info[areaModal?.info?.length - 1]?.id
|
||||||
|
}
|
||||||
|
newMissionAllSearch(params).then(res => {
|
||||||
if (this.nearPage.current === 1) {
|
if (this.nearPage.current === 1) {
|
||||||
this.companyList = [];
|
this.companyList = [];
|
||||||
}
|
}
|
||||||
@@ -548,9 +564,18 @@
|
|||||||
areaModal,
|
areaModal,
|
||||||
industryModal
|
industryModal
|
||||||
} = this.searchData;
|
} = this.searchData;
|
||||||
recommendMissionSearch(this.newPage.current, this.newPage.size, submitData["学历"],
|
let params = {
|
||||||
submitData["工资"], industryModal?.industry, areaModal?.address1[0], areaModal?.address1[1]
|
current: this.policyPage.current,
|
||||||
).then(res => {
|
size: this.policyPage.size,
|
||||||
|
education: submitData["学历"],
|
||||||
|
salary: submitData["工资"],
|
||||||
|
industry: industryModal?.info?.id,
|
||||||
|
province: areaModal?.address1[0],
|
||||||
|
city: areaModal?.address1[1],
|
||||||
|
wageUnitCategory: submitData["wageUnitCategory"],
|
||||||
|
cityId: areaModal?.info[areaModal?.info?.length - 1]?.id
|
||||||
|
}
|
||||||
|
recommendMissionSearch(params).then(res => {
|
||||||
if (this.newPage.current === 1) {
|
if (this.newPage.current === 1) {
|
||||||
this.newList = [];
|
this.newList = [];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user