From e465224773e1778f3ce41f23581fec407a48bcdf Mon Sep 17 00:00:00 2001 From: xuchao <1151716571@qq.com> Date: Tue, 23 Dec 2025 17:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=8B=9B=E8=81=98=E4=BC=9A?= =?UTF-8?q?=E6=8A=A5=E5=90=8D=E6=97=B6=E6=B7=BB=E5=8A=A0=E6=A0=A1=E7=A0=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/jobfair/signDialog.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/components/jobfair/signDialog.vue b/components/jobfair/signDialog.vue index 70a1704..6890a57 100644 --- a/components/jobfair/signDialog.vue +++ b/components/jobfair/signDialog.vue @@ -274,7 +274,21 @@ $api.myRequest("/jobfair/public/job-info/list", data, "GET", 9100, { Authorization: `Bearer ${uni.getStorageSync("Padmin-Token")}` }).then((resData) => { - jobList.value = resData.data.list || []; + 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' + }); + } + }else{ + uni.showToast({ + title: '请前往基本信息中完善企业信息和岗位信息', + icon: 'none' + }); + } }); }); };