|
@@ -247,7 +247,9 @@ export default {
|
|
|
console.log('岗位设置已更新:', data)
|
|
console.log('岗位设置已更新:', data)
|
|
|
// 这里可以更新对应的技能显示
|
|
// 这里可以更新对应的技能显示
|
|
|
this.formData.resumes[this.operateKey].position=data.ruleClassifyName
|
|
this.formData.resumes[this.operateKey].position=data.ruleClassifyName
|
|
|
- this.formData.resumes[this.operateKey].positionId= data.ruleClassifyId
|
|
|
|
|
|
|
+ this.formData.resumes[this.operateKey].positionId= data.ruleClassifyId;
|
|
|
|
|
+ // 更新以后给岗位职业技能设置默认值
|
|
|
|
|
+ this.getDataInfo(this.formData.resumes[this.operateKey].positionId);
|
|
|
})
|
|
})
|
|
|
uni.$on('skillsUpdated', (data) => {
|
|
uni.$on('skillsUpdated', (data) => {
|
|
|
console.log('技能设置已更新:', data)
|
|
console.log('技能设置已更新:', data)
|
|
@@ -266,6 +268,18 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getDataInfo(jobId) {
|
|
|
|
|
+ let data = {
|
|
|
|
|
+ ruleClassifyId: jobId
|
|
|
|
|
+ }
|
|
|
|
|
+ var action = jobId == '' || jobId == 0 ? '/app/userFirst/selectSkill' :
|
|
|
|
|
+ '/app/userFirst/getPostSkill'
|
|
|
|
|
+ this.$Request.getT(action, data).then(res => {
|
|
|
|
|
+ if (res.code == 0) {
|
|
|
|
|
+ this.formData.resumes[this.operateKey].skills = [res.data[0].childrenList[0].postSkillName]
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
goBack() {
|
|
goBack() {
|
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
|
},
|
|
},
|