|
|
|
@ -1182,7 +1182,7 @@ export default {
|
|
|
|
district: "",
|
|
|
|
district: "",
|
|
|
|
monthlyPayStr: "",
|
|
|
|
monthlyPayStr: "",
|
|
|
|
ageStr: "",
|
|
|
|
ageStr: "",
|
|
|
|
jobSpecialLabelIds: "",
|
|
|
|
jobRequestLabelIds: "",
|
|
|
|
aliasName: "",
|
|
|
|
aliasName: "",
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 8,
|
|
|
|
pageSize: 8,
|
|
|
|
@ -1295,7 +1295,7 @@ export default {
|
|
|
|
// district: [], // 城镇数据
|
|
|
|
// district: [], // 城镇数据
|
|
|
|
// monthlyPayStr: [], // 每月工资
|
|
|
|
// monthlyPayStr: [], // 每月工资
|
|
|
|
// ageStr: '', // 年龄数据
|
|
|
|
// ageStr: '', // 年龄数据
|
|
|
|
// jobSpecialLabelIds: [], // 特色标签索引
|
|
|
|
// jobRequestLabelIds: [], // 特色标签索引
|
|
|
|
// aliasName: '',
|
|
|
|
// aliasName: '',
|
|
|
|
// sex: [],
|
|
|
|
// sex: [],
|
|
|
|
// pageNum: 1,
|
|
|
|
// pageNum: 1,
|
|
|
|
@ -1575,7 +1575,7 @@ export default {
|
|
|
|
// district: [],
|
|
|
|
// district: [],
|
|
|
|
// monthlyPayStr: [],
|
|
|
|
// monthlyPayStr: [],
|
|
|
|
// ageStr: [],
|
|
|
|
// ageStr: [],
|
|
|
|
// jobSpecialLabelIds: [],
|
|
|
|
// jobRequestLabelIds: [],
|
|
|
|
// pageNum,
|
|
|
|
// pageNum,
|
|
|
|
// pageSize,
|
|
|
|
// pageSize,
|
|
|
|
// total, //分页配置
|
|
|
|
// total, //分页配置
|
|
|
|
@ -1583,7 +1583,7 @@ export default {
|
|
|
|
this.formvalue.district = [];
|
|
|
|
this.formvalue.district = [];
|
|
|
|
this.formvalue.monthlyPayStr = [];
|
|
|
|
this.formvalue.monthlyPayStr = [];
|
|
|
|
this.formvalue.ageStr = "";
|
|
|
|
this.formvalue.ageStr = "";
|
|
|
|
this.formvalue.jobSpecialLabelIds = [];
|
|
|
|
this.formvalue.jobRequestLabelIds = [];
|
|
|
|
this.formvalue.aliasName = "";
|
|
|
|
this.formvalue.aliasName = "";
|
|
|
|
this.formvalue.cityName = "";
|
|
|
|
this.formvalue.cityName = "";
|
|
|
|
this.formvalue.sex = [];
|
|
|
|
this.formvalue.sex = [];
|
|
|
|
@ -1602,14 +1602,17 @@ export default {
|
|
|
|
// console.log(item);
|
|
|
|
// console.log(item);
|
|
|
|
// console.log(index);
|
|
|
|
// console.log(index);
|
|
|
|
let arrIndex = this.filterObj.specialactive.indexOf(item);
|
|
|
|
let arrIndex = this.filterObj.specialactive.indexOf(item);
|
|
|
|
|
|
|
|
console.log('arrIndex1',arrIndex);
|
|
|
|
if (arrIndex > -1) {
|
|
|
|
if (arrIndex > -1) {
|
|
|
|
this.filterObj.specialactive.splice(arrIndex, 1);
|
|
|
|
this.filterObj.specialactive.splice(arrIndex, 1);
|
|
|
|
this.specialvalue.splice(arrIndex, 1);
|
|
|
|
this.specialvalue.splice(this.specialvalue.indexOf(item.id), 1);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.filterObj.specialactive.push(item);
|
|
|
|
this.filterObj.specialactive.push(item);
|
|
|
|
this.specialvalue.push(item.id);
|
|
|
|
this.specialvalue.push(item.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.formvalue.jobSpecialLabelIds = this.specialvalue;
|
|
|
|
console.log('this.filterObj.specialactive', this.filterObj.specialactive);
|
|
|
|
|
|
|
|
console.log('this.specialvalue', this.specialvalue);
|
|
|
|
|
|
|
|
this.formvalue.jobRequestLabelIds = this.specialvalue;
|
|
|
|
// console.log(this.filterObj.specialactive);
|
|
|
|
// console.log(this.filterObj.specialactive);
|
|
|
|
this.getJobList();
|
|
|
|
this.getJobList();
|
|
|
|
// console.log(this.specialvalue);
|
|
|
|
// console.log(this.specialvalue);
|
|
|
|
@ -1618,15 +1621,18 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
classifyClick(index, item) {
|
|
|
|
classifyClick(index, item) {
|
|
|
|
let arrIndex = this.filterObj.specialactive.indexOf(item);
|
|
|
|
let arrIndex = this.filterObj.specialactive.indexOf(item);
|
|
|
|
|
|
|
|
console.log('arrIndex',arrIndex);
|
|
|
|
if (arrIndex > -1) {
|
|
|
|
if (arrIndex > -1) {
|
|
|
|
this.filterObj.specialactive.splice(arrIndex, 1);
|
|
|
|
this.filterObj.specialactive.splice(arrIndex, 1);
|
|
|
|
this.classifyvalue.splice(arrIndex, 1);
|
|
|
|
this.classifyvalue.splice(this.classifyvalue.indexOf(item.id), 1);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.filterObj.specialactive.push(item);
|
|
|
|
this.filterObj.specialactive.push(item);
|
|
|
|
this.classifyvalue.push(item.id);
|
|
|
|
this.classifyvalue.push(item.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log('this.filterObj.specialactive', this.filterObj.specialactive);
|
|
|
|
|
|
|
|
console.log('this.classifyvalue', this.classifyvalue);
|
|
|
|
this.formvalue.jobCategoryLabelIds = this.classifyvalue;
|
|
|
|
this.formvalue.jobCategoryLabelIds = this.classifyvalue;
|
|
|
|
// console.log(this.filterObj.specialactive);
|
|
|
|
console.log(this.filterObj.specialactive);
|
|
|
|
this.getJobList();
|
|
|
|
this.getJobList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
isspecialboxshowclick() {
|
|
|
|
isspecialboxshowclick() {
|
|
|
|
@ -1683,7 +1689,7 @@ export default {
|
|
|
|
this.formvalue.jobCategoryLabelIds = this.classifyvalue;
|
|
|
|
this.formvalue.jobCategoryLabelIds = this.classifyvalue;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.specialvalue.splice(this.specialvalue.indexOf(items.id), 1);
|
|
|
|
this.specialvalue.splice(this.specialvalue.indexOf(items.id), 1);
|
|
|
|
this.formvalue.jobSpecialLabelIds = this.specialvalue;
|
|
|
|
this.formvalue.jobRequestLabelIds = this.specialvalue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if(this.filterObj.specialactive.indexOf(items) > -1){
|
|
|
|
// if(this.filterObj.specialactive.indexOf(items) > -1){
|
|
|
|
|