flat: zanc1

This commit is contained in:
Apcallover
2024-05-06 11:34:23 +08:00
parent 4feba05ac4
commit 4ad5d57fa3
6 changed files with 597 additions and 510 deletions

View File

@@ -184,3 +184,11 @@ export const settingRead3 = (data) => {
} }
}) })
} }
export const updataEmployedNew = (params) => {
return request({
url: '/api/jobslink-api/missions/mission/apply/employed/new',
method: 'post',
params
})
}

View File

@@ -343,6 +343,7 @@
if (!this.areaModal.isClickAddress) { if (!this.areaModal.isClickAddress) {
// this.areaModal.address1 = [null, null, null]; // this.areaModal.address1 = [null, null, null];
this.areaModal.address1 = ["", "", ""]; this.areaModal.address1 = ["", "", ""];
this.areaModal.info = []
} }
if (!this.industryModal.isClickIndustry) { if (!this.industryModal.isClickIndustry) {
this.industryModal.industry = ""; this.industryModal.industry = "";

View File

@@ -133,8 +133,12 @@
}) })
} }
}).catch((errors) => { }).catch((errors) => {
if (/[\u4e00-\u9fff]/.test(errors.message)) {
_this.$api.msg(errors.message)
} else {
this.$api.msg('请输入完整信件信息')
}
this.isNext = true this.isNext = true
this.$api.msg('请输入完整信件信息')
}) })
} }
} }

View File

@@ -99,8 +99,12 @@
}) })
} }
}).catch((errors) => { }).catch((errors) => {
if (/[\u4e00-\u9fff]/.test(errors.message)) {
_this.$api.msg(errors.message)
} else {
this.$api.msg('请输入完整信件信息')
}
this.isNext = true this.isNext = true
this.$api.msg('请输入完整信件信息')
}) })
} }
} }

View File

@@ -517,6 +517,9 @@
// city: areaModal?.address1[1], // city: areaModal?.address1[1],
cityId: areaModal?.info.map((v) => v.areaName).join('-') cityId: areaModal?.info.map((v) => v.areaName).join('-')
} }
if (params.cityId === '') {
delete params.cityId
}
nearMissionSearch(params).then(res => { nearMissionSearch(params).then(res => {
if (this.policyPage.current === 1) { if (this.policyPage.current === 1) {
this.policyContentList = []; this.policyContentList = [];
@@ -536,6 +539,7 @@
areaModal, areaModal,
industryModal industryModal
} = this.searchData; } = this.searchData;
console.log(this.searchData)
let params = { let params = {
current: this.nearPage.current, current: this.nearPage.current,
size: this.nearPage.size, size: this.nearPage.size,
@@ -546,6 +550,9 @@
// city: areaModal?.address1[1], // city: areaModal?.address1[1],
cityId: areaModal?.info.map((v) => v.areaName).join('-') cityId: areaModal?.info.map((v) => v.areaName).join('-')
} }
if (params.cityId === '') {
delete params.cityId
}
newMissionAllSearch(params).then(res => { newMissionAllSearch(params).then(res => {
if (this.nearPage.current === 1) { if (this.nearPage.current === 1) {
this.companyList = []; this.companyList = [];
@@ -575,6 +582,9 @@
wageUnitCategory: submitData["wageUnitCategory"], wageUnitCategory: submitData["wageUnitCategory"],
cityId: areaModal?.info.map((v) => v.areaName).join('-') cityId: areaModal?.info.map((v) => v.areaName).join('-')
} }
if (params.cityId === '') {
delete params.cityId
}
recommendMissionSearch(params).then(res => { recommendMissionSearch(params).then(res => {
if (this.newPage.current === 1) { if (this.newPage.current === 1) {
this.newList = []; this.newList = [];
@@ -600,7 +610,7 @@
.positionText { .positionText {
margin: 0 10rpx; margin: 0 10rpx;
font-weight: bold; font-weight: bold;
} }
} }

File diff suppressed because it is too large Load Diff