|
|
@@ -1627,10 +1627,10 @@ export default {
|
|
|
this.workObj.positionSkills = this.industryArr;
|
|
|
} else if (this.type) {
|
|
|
// 为表单设置行业
|
|
|
- this.form.industryName = this.industryArr.join(',');
|
|
|
+ this.form.industryName = this.industryArr.join('/');
|
|
|
} else {
|
|
|
// 为求职意向设置行业
|
|
|
- this.intentionJob.industry = this.industryArr.join(',');
|
|
|
+ this.intentionJob.industry = this.industryArr.join('/');
|
|
|
}
|
|
|
|
|
|
this.industryDialog = false;
|
|
|
@@ -1987,37 +1987,6 @@ export default {
|
|
|
},
|
|
|
//修改求职意向
|
|
|
editInteJob() {
|
|
|
- // 额外的字段验证
|
|
|
- if (!this.intentionJob.ruleClassifyId) {
|
|
|
- ElMessage({
|
|
|
- message: '请选择工作职位',
|
|
|
- type: 'warning',
|
|
|
- duration: 1500,
|
|
|
- offset: this.screenHeight / 2
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- if (!this.intentionJob.citys) {
|
|
|
- ElMessage({
|
|
|
- message: '请选择城市',
|
|
|
- type: 'warning',
|
|
|
- duration: 1500,
|
|
|
- offset: this.screenHeight / 2
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
- if (!this.intentionJob.industry) {
|
|
|
- ElMessage({
|
|
|
- message: '请选择从事方向',
|
|
|
- type: 'warning',
|
|
|
- duration: 1500,
|
|
|
- offset: this.screenHeight / 2
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
let formRef = this.$refs.formRef;
|
|
|
formRef.validate(valid => {
|
|
|
if (valid) {
|
|
|
@@ -2041,9 +2010,8 @@ export default {
|
|
|
industryOneId: 200,
|
|
|
classifyOneId: 0,
|
|
|
classifyTwoId: 0,
|
|
|
- isDefault: this.intentionJob.isDefault || 1
|
|
|
+ isDefault: 1
|
|
|
};
|
|
|
-
|
|
|
this.$Request.post("/app/intention/saveUpdate", data,{type:'json'}).then((res) => {
|
|
|
this.isWork = false;
|
|
|
this.loading = false;
|
|
|
@@ -2061,14 +2029,15 @@ export default {
|
|
|
|
|
|
// 更新求职意向列表
|
|
|
this.getJobType();
|
|
|
- } else {
|
|
|
- ElMessage({
|
|
|
- message: res.msg,
|
|
|
- type: 'error',
|
|
|
- duration: 1500,
|
|
|
- offset: this.screenHeight / 2
|
|
|
- });
|
|
|
- }
|
|
|
+ }
|
|
|
+ // else {
|
|
|
+ // ElMessage({
|
|
|
+ // message: res.msg,
|
|
|
+ // type: 'error',
|
|
|
+ // duration: 1500,
|
|
|
+ // offset: this.screenHeight / 2
|
|
|
+ // });
|
|
|
+ // }
|
|
|
});
|
|
|
} else {
|
|
|
console.log('error submit!');
|