From 7557a329ef7f7282654de63c1c35a0b68657a28f Mon Sep 17 00:00:00 2001
From: dengxin <2390584170@qq.com>
Date: Mon, 19 Feb 2024 19:34:06 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E5=9C=B0=E5=8C=BA=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/vertical-menu/classifyData.js | 2 +-
components/vertical-menu/vertical-menu.vue | 5 +-
pageMy/my/resume/index.vue | 58 +++++++++++++++++++---
3 files changed, 54 insertions(+), 11 deletions(-)
diff --git a/components/vertical-menu/classifyData.js b/components/vertical-menu/classifyData.js
index 37218ab..90787e5 100644
--- a/components/vertical-menu/classifyData.js
+++ b/components/vertical-menu/classifyData.js
@@ -95,7 +95,7 @@ export default [
],
},
{
- name: "省市区县",
+ name: "区域",
data: [
{
name: "薪资不限",
diff --git a/components/vertical-menu/vertical-menu.vue b/components/vertical-menu/vertical-menu.vue
index 2d1929b..475923c 100644
--- a/components/vertical-menu/vertical-menu.vue
+++ b/components/vertical-menu/vertical-menu.vue
@@ -16,7 +16,7 @@
{{ item.name }}
-
我的职业技能
-
+
@@ -34,14 +34,28 @@
-
+
+
+
+
+ 您想工作的地点
+
+
+ {{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace :
+ '请选择'
}}
@@ -53,7 +67,7 @@
您的学历
- {{ myResume.education == {} ? myResume.education.label : '请选择' }}
+ {{ myResume.education !== "{}" ? myResume.education.label : '请选择' }}
@@ -89,6 +103,12 @@
keyName="label">
+
+
+
@@ -135,7 +155,18 @@ export default {
canSubMit: false,
isShowButton: false,
isShowBorder: false,
- isShowAddSkill: true
+ isShowAddSkill: true,
+
+ areaModal: {
+ address: '',
+ addressShow: false,
+ title: 'Hello',
+ // indexs: [0, 0, 8],
+ // defaultIds: [1, 110000, 110106],
+ defaultNames: ['北京市', '北京市', '东城区'],
+ labelName: "areaName"
+
+ },
}
},
onShow() {
@@ -217,6 +248,7 @@ export default {
})
},
goAdd: function () {
+
uni.navigateTo({
url: './addSkill'
})
@@ -306,7 +338,7 @@ export default {
// 电话号码格式正确
console.log(phone, "电话号码格式正确");
setResume({
- id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
+ id: this.id, education: education.label, workplace: city.workplace ? city.workplace : city.parentLabel + '-' + city.label, telephone: phone, wage
}).then(res => {
this.isShowButton = false;
this.getResume()
@@ -321,7 +353,17 @@ export default {
- }
+ },
+
+ confirmAddress(val) {
+ console.log(val);
+ var valArr = val.value;
+ // this.areaModal.address = [...new Set(val.value)].join(' / ')
+ this.isShowButton = true
+ this.myResume.city.workplace = [...new Set(val.value)].join('/')
+ console.log(this.areaModal.address);
+ this.areaModal.addressShow = false
+ },
}
}