From 75ad2eb9984bac7705b337706efaf6e5dd7091ce Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 22 八月 2025 11:32:28 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp --- apps/cMiniApp/src/hooks/user.ts | 19 +------------------ 1 files changed, 1 insertions(+), 18 deletions(-) diff --git a/apps/cMiniApp/src/hooks/user.ts b/apps/cMiniApp/src/hooks/user.ts index a0d6025..980d82f 100644 --- a/apps/cMiniApp/src/hooks/user.ts +++ b/apps/cMiniApp/src/hooks/user.ts @@ -17,31 +17,14 @@ return userStore.getCurrentUserInfo(); } - const isCompanyAudited = computed(() => { - return userDetail.value?.openHRSiteStatus === ParkOrHRStatus.Running; - }); - - /** - * 鏄惁瀹屽杽涓汉淇℃伅锛堜紒涓氬悕绉帮紝鎵嬫満鍙凤級 - */ - const isCompletePersonalInfo = computed(() => { - return ( - !!userDetail.value?.customerName && - !!userDetail.value?.contacter && - !!userDetail.value?.cityName - ); - }); - const isCertified = computed(() => { - return false; + return userDetail.value?.isReal; }); return { user: userInfo, userDetail: userDetail, updateUserInfo, - isCompletePersonalInfo, - isCompanyAudited, isCertified, locationCity, userId, -- Gitblit v1.9.1