From cc9e39c2903c3bd6f4c48bfde0962ae65a14426c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=91=E9=98=B3?= <353513737@qq.com>
Date: Tue, 26 Mar 2024 16:33:43 +0800
Subject: [PATCH 1/4] =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/vertical-menu/classifyData.js | 282 +++++++++++++----------
1 file changed, 156 insertions(+), 126 deletions(-)
diff --git a/components/vertical-menu/classifyData.js b/components/vertical-menu/classifyData.js
index 90787e5..afaca5e 100644
--- a/components/vertical-menu/classifyData.js
+++ b/components/vertical-menu/classifyData.js
@@ -1,126 +1,156 @@
-export default [
- {
- name: "学历",
- data: [
- {
- name: "学历不限",
- id: "学历不限",
- },
- {
- name: "初中及以下",
- id: "初中及以下",
- },
- {
- name: "中专及中技",
- id: "中专及中技",
- },
- {
- name: "高中",
- id: "高中",
- },
- {
- name: "大专",
- id: "大专",
- },
- {
- name: "本科及以上",
- id: "本科及以上",
- },
- ],
- },
- {
- name: "工资",
- data: [
- {
- name: "薪资不限",
- id: "薪资不限",
- },
- {
- name: "100-150/天",
- id: "100-150/天",
- },
- {
- name: "151-200/天",
- id: "151-200/天",
- },
- {
- name: "201-250/天",
- id: "201-250/天",
- },
- {
- name: "251-300/天",
- id: "251-300/天",
- },
- {
- name: "300元/天以上",
- id: "300元/天以上",
- },
- ],
- },
- {
- name: "行业",
- data: [
- {
- name: "不限年龄",
- id: "不限年龄",
- },
- {
- name: "30以下",
- id: "30",
- },
- {
- name: "35以下",
- id: "35",
- },
- {
- name: "40以下",
- id: "40",
- },
- {
- name: "45以下",
- id: "45",
- },
- {
- name: "50以下",
- id: "50",
- },
- {
- name: "55以下",
- id: "55",
- },
- {
- name: "60以下",
- id: "60",
- },
- ],
- },
- {
- name: "区域",
- data: [
- {
- name: "薪资不限",
- id: "薪资不限",
- },
- {
- name: "100-150/天",
- id: "100-150/天",
- },
- {
- name: "151-200/天",
- id: "151-200/天",
- },
- {
- name: "201-250/天",
- id: "201-250/天",
- },
- {
- name: "251-300/天",
- id: "251-300/天",
- },
- {
- name: "300元/天以上",
- id: "300元/天以上",
- },
- ],
- },
-];
+export default [{
+ name: "学历",
+ data: [{
+ name: "不限",
+ id: "不限",
+ },
+ {
+ name: "初中及以下",
+ id: "初中及以下",
+ },
+ {
+ name: "中专/中技",
+ id: "中专/中技",
+ },
+ {
+ name: "高中",
+ id: "高中",
+ },
+ {
+ name: "大专",
+ id: "大专",
+ },
+ {
+ name: "本科",
+ id: "本科",
+ },
+ {
+ name: "硕士",
+ id: "硕士",
+ },
+ {
+ name: "博士",
+ id: "博士",
+ }, {
+ name: "MBA/EMBA",
+ id: "MBA/EMBA",
+ },
+ ],
+ },
+ {
+ name: "工资",
+ data: [{
+ name: "10-15元/小时",
+ id: "10-15元/小时",
+ },
+ {
+ name: "16-20元/小时",
+ id: "16-20元/小时",
+ },
+ {
+ name: "21-25元/小时",
+ id: "21-25元/小时",
+ },
+ {
+ name: "26-30元/小时",
+ id: "26-30元/小时",
+ },
+ {
+ name: "30元/小时以上",
+ id: "30元/小时以上",
+ },
+ {
+ name: "100-150/天",
+ id: "100-150/天",
+ },
+ {
+ name: "151-200/天",
+ id: "151-200/天",
+ },
+ {
+ name: "201-250/天",
+ id: "201-250/天",
+ },
+ {
+ name: "251-300/天",
+ id: "251-300/天",
+ },
+ {
+ name: "300元/天以上",
+ id: "300元/天以上",
+ },
+ {
+ name: "30000元以上/月",
+ id: "30000元以上/月",
+ },
+ {
+ name: "面议、暂无要求",
+ id: "面议、暂无要求",
+ },
+ ],
+ },
+ {
+ name: "行业",
+ data: [{
+ name: "不限年龄",
+ id: "不限年龄",
+ },
+ {
+ name: "30以下",
+ id: "30",
+ },
+ {
+ name: "35以下",
+ id: "35",
+ },
+ {
+ name: "40以下",
+ id: "40",
+ },
+ {
+ name: "45以下",
+ id: "45",
+ },
+ {
+ name: "50以下",
+ id: "50",
+ },
+ {
+ name: "55以下",
+ id: "55",
+ },
+ {
+ name: "60以下",
+ id: "60",
+ },
+ ],
+ },
+ {
+ name: "区域",
+ data: [{
+ name: "薪资不限",
+ id: "薪资不限",
+ },
+ {
+ name: "100-150/天",
+ id: "100-150/天",
+ },
+ {
+ name: "151-200/天",
+ id: "151-200/天",
+ },
+ {
+ name: "201-250/天",
+ id: "201-250/天",
+ },
+ {
+ name: "251-300/天",
+ id: "251-300/天",
+ },
+ {
+ name: "300元/天以上",
+ id: "300元/天以上",
+ },
+ ],
+ },
+];
\ No newline at end of file
From 10cf4674738ec05e70fdd2838b8dfdf2fdd2ef65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=91=E9=98=B3?= <353513737@qq.com>
Date: Tue, 26 Mar 2024 16:42:06 +0800
Subject: [PATCH 2/4] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E7=99=BB=E5=BD=95?=
=?UTF-8?q?=E4=B8=AD=E8=BD=AC=E9=A1=B5=E9=9D=A2=E7=99=BB=E5=BD=95=E4=B8=AD?=
=?UTF-8?q?=E6=96=87=E5=AD=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/login/blank.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/login/blank.vue b/pages/login/blank.vue
index eaddfab..a85c44e 100644
--- a/pages/login/blank.vue
+++ b/pages/login/blank.vue
@@ -17,7 +17,7 @@
},
onLoad(options) {
uni.showLoading({
- title: '登陆中'
+ title: ''
})
if(options.token) {
const that = this
From 14498c5003df049fbe882c8dcb77488abad35f16 Mon Sep 17 00:00:00 2001
From: dengxin <2390584170@qq.com>
Date: Tue, 26 Mar 2024 21:19:45 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E6=8B=9B=E8=81=98=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=AD=9B=E9=80=89=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/mission.js | 44 ++-
components/vertical-menu/vertical-menu.vue | 1 +
pages/project/project.vue | 304 ++++++++++++++-------
vue.config.js | 46 ++--
4 files changed, 275 insertions(+), 120 deletions(-)
diff --git a/api/mission.js b/api/mission.js
index b9f6c77..6c2624a 100644
--- a/api/mission.js
+++ b/api/mission.js
@@ -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) => {
diff --git a/components/vertical-menu/vertical-menu.vue b/components/vertical-menu/vertical-menu.vue
index 475923c..f02c69a 100644
--- a/components/vertical-menu/vertical-menu.vue
+++ b/components/vertical-menu/vertical-menu.vue
@@ -293,6 +293,7 @@ export default {
console.log(val);
var valArr = val.value;
this.areaModal.address = [...new Set(val.value)].join(' / ')
+ this.areaModal.address1 = valArr
console.log(this.areaModal.address);
this.areaModal.addressShow = false
},
diff --git a/pages/project/project.vue b/pages/project/project.vue
index 9402e30..a534627 100644
--- a/pages/project/project.vue
+++ b/pages/project/project.vue
@@ -5,18 +5,19 @@
-
-
- 四川德阳市
-
-
+
+
+ 四川德阳市
+
+
{{ item
- }}
+ :class="['typeButton', index == activeTab ? 'activeButton' : '']" @click="changeTab(index)">{{
+ item
+ }}
@@ -64,27 +65,27 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 暂无信息
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 暂无信息
+
+
+
+
+ 筛选
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/project/project.vue b/pages/project/project.vue
index a534627..dc1ae97 100644
--- a/pages/project/project.vue
+++ b/pages/project/project.vue
@@ -302,11 +302,10 @@ export default {
},
changeTab: function (e) {
this.isSearch = false;
-
this.activeTab = e;
},
+ //推荐岗位;
getNearList: function (point) {
-
nearMission(this.nearPage.current, this.nearPage.size).then(res => {
if (this.nearPage.current === 1) {
this.companyList = [];
@@ -314,7 +313,6 @@ export default {
this.nearPage.current += 1;
this.nearPage.total = res.data.data.total;
if (res.data.data && res.data.data.records.length) {
-
this.companyList = this.companyList.concat(res.data.data.records);
}
})
@@ -335,21 +333,20 @@ export default {
// })
}
},
- //推荐岗位;
- getRecommendList: function () {
- recommendMission(this.recommendPage.current, this.recommendPage.size, '').then(res => {
- if (this.recommendPage.current === 1) {
- this.recommendList = [];
- }
- this.recommendPage.current += 1;
- this.recommendPage.total = res.data.data.total;
- if (res.data.data && res.data.data.records.length) {
- debugger
- this.recommendList = this.recommendList.concat(res.data.data.records);
- }
- })
- },
+ // getRecommendList: function () {
+ // recommendMission(this.recommendPage.current, this.recommendPage.size, '').then(res => {
+ // if (this.recommendPage.current === 1) {
+ // this.recommendList = [];
+ // }
+
+ // this.recommendPage.current += 1;
+ // this.recommendPage.total = res.data.data.total;
+ // if (res.data.data && res.data.data.records.length) {
+ // this.recommendList = this.recommendList.concat(res.data.data.records);
+ // }
+ // })
+ // },
//推荐任务;
getNewList: function () {
newMissionAll(this.newPage.current, this.newPage.size, '').then(res => {
@@ -458,9 +455,10 @@ export default {
this.recommendPage.current = 1;
this.newPage.current = 1;
this.getLocation();
- this.getRecommendList();
+ // this.getRecommendList();
this.getNewList();
this.getNearList();
+ this.getPolicy()
}
},