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