feta : 新增实名认证判断 公司/岗位收藏 需要认证

招聘会预约        需要认证
外部岗位申请    需要认证
内部岗位申请    不需要认证
我的页面-认证状态 改为真实数据
This commit is contained in:
2025-12-25 15:09:09 +08:00
parent ff71c50b9c
commit 1b332fbad8
9 changed files with 785 additions and 15 deletions

View File

@@ -112,6 +112,7 @@ import { storeToRefs } from 'pinia';
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
import useUserStore from '@/stores/useUserStore';
const { isMiniProgram } = storeToRefs(useUserStore());
const { checkAuth } = useUserStore();
import { playTextDirectly } from '@/hook/useTTSPlayer-all-in-one';
const isExpanded = ref(false);
@@ -204,6 +205,10 @@ function expand() {
// 取消/预约招聘会
function applyExhibitors() {
if (!checkAuth()) {
return
}
const fairId = fairInfo.value.zphID;
if (fairInfo.value.isCollection) {
$api.createRequest(`/app/fair/collection/${fairId}`, {}, 'DELETE').then((resData) => {