企业报名招聘会逻辑更改

This commit is contained in:
xuchao
2026-01-12 12:21:24 +08:00
parent 4cf06bb1d1
commit cc3f84196c

View File

@@ -275,14 +275,15 @@
Authorization: `Bearer ${uni.getStorageSync("Padmin-Token")}`
}).then((resData) => {
if(resData.code == 200){
let isPublishJobList = resData.data.list || [];
jobList.value = isPublishJobList.filter(job => job.isPublish === "1");
if (isPublishJobList.length > 0 && jobList.value.length === 0) {
uni.showToast({
title: '请等待岗位审核通过后,再进行报名',
icon: 'none'
});
}
jobList.value = resData.data.list || [];
// let isPublishJobList = resData.data.list || [];
// jobList.value = isPublishJobList.filter(job => job.isPublish === "1");
// if (isPublishJobList.length > 0 && jobList.value.length === 0) {
// uni.showToast({
// title: '请等待岗位审核通过后,再进行报名',
// icon: 'none'
// });
// }
}else{
uni.showToast({
title: '请前往基本信息中完善企业信息和岗位信息',