flat: cityId
This commit is contained in:
@@ -474,7 +474,7 @@
|
||||
areaModal,
|
||||
industryModal
|
||||
}
|
||||
console.log(this.searchData, '------');
|
||||
console.log(this.searchData, this.activeTab, '------');
|
||||
if (submitData || areaModal || industryModal) {
|
||||
this.isSearch = true;
|
||||
}
|
||||
@@ -513,9 +513,9 @@
|
||||
education: submitData["学历"],
|
||||
salary: submitData["工资"],
|
||||
industry: industryModal?.industry,
|
||||
province: areaModal?.address1[0],
|
||||
city: areaModal?.address1[1],
|
||||
cityId: areaModal?.info[areaModal?.info?.length - 2]?.id
|
||||
// province: areaModal?.address1[0],
|
||||
// city: areaModal?.address1[1],
|
||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||
}
|
||||
nearMissionSearch(params).then(res => {
|
||||
if (this.policyPage.current === 1) {
|
||||
@@ -536,15 +536,16 @@
|
||||
areaModal,
|
||||
industryModal
|
||||
} = this.searchData;
|
||||
console.log(areaModal)
|
||||
let params = {
|
||||
current: this.nearPage.current,
|
||||
size: this.nearPage.size,
|
||||
education: submitData["学历"],
|
||||
salary: submitData["工资"],
|
||||
industry: industryModal?.industry,
|
||||
province: areaModal?.address1[0],
|
||||
city: areaModal?.address1[1],
|
||||
cityId: areaModal?.info[areaModal?.info?.length - 2]?.id
|
||||
// province: areaModal?.address1[0],
|
||||
// city: areaModal?.address1[1],
|
||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||
}
|
||||
newMissionAllSearch(params).then(res => {
|
||||
if (this.nearPage.current === 1) {
|
||||
@@ -570,10 +571,10 @@
|
||||
education: submitData["学历"],
|
||||
salary: submitData["工资"],
|
||||
industry: industryModal?.info?.id,
|
||||
province: areaModal?.address1[0],
|
||||
city: areaModal?.address1[1],
|
||||
// province: areaModal?.address1[0],
|
||||
// city: areaModal?.address1[1],
|
||||
wageUnitCategory: submitData["wageUnitCategory"],
|
||||
cityId: areaModal?.info[areaModal?.info?.length - 2]?.id
|
||||
cityId: areaModal?.info.map((v) => v.areaName).join('-')
|
||||
}
|
||||
recommendMissionSearch(params).then(res => {
|
||||
if (this.newPage.current === 1) {
|
||||
|
||||
Reference in New Issue
Block a user