| 
					
				 | 
			
			
				@@ -95,7 +95,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script setup> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   getUserBindEnterpriseList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  getUserRegisterEnterpriseApply 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // getUserRegisterEnterpriseApply 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from '@/api/personal/user' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { computed, ref, onMounted } from 'vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { getToken } from '@/utils/auth' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,8 +145,8 @@ const menuList = ref([ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { title: t('enterprise.account.myAccount'), icon: 'mdi-account', change: () => router.push({ path: '/recruit/enterprise/memberCenter/myAccount' }) }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { title: t('vipPackage.purchasePackage'), icon: 'mdi-gift-outline', change: () => window.open('/recruit/enterprise/purchasePackage') }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { title: t('enterprise.personalInformationSettings'), icon: 'mdi-account-cog', change: () => router.push({ path: '/recruit/enterprise/informationSettings' }) }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  { title: t('setting.switchToOtherCompany'), icon: 'mdi-home-switch', hidden: enterpriseList.value?.length < 2, change: () => handleSwitchToAnotherEnterprise }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  { title: t('enterprise.registeringNewEnterprise'), icon: 'mdi-home-plus-outline', change: () => handleRegisteringNewEnterprise }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // { title: t('setting.switchToOtherCompany'), icon: 'mdi-home-switch', hidden: enterpriseList.value?.length < 2, change: () => handleSwitchToAnotherEnterprise }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // { title: t('enterprise.registeringNewEnterprise'), icon: 'mdi-home-plus-outline', change: () => handleRegisteringNewEnterprise }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // { title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   { title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ]) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -173,26 +173,26 @@ userStore.$subscribe((mutation, state) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const show = ref(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const radios = ref(null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// 注册新企业 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const handleRegisteringNewEnterprise = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const data = await getUserRegisterEnterpriseApply() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const bool = data && Object.keys(data).length // 已经有数据说明已经申请过了 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  const path = bool ? '/recruit/enterprise/register/inReview' : '/recruit/enterprise/register' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  router.push({ path }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// // 注册新企业 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// const handleRegisteringNewEnterprise = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   const data = await getUserRegisterEnterpriseApply() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   const bool = data && Object.keys(data).length // 已经有数据说明已经申请过了 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   const path = bool ? '/recruit/enterprise/register/inReview' : '/recruit/enterprise/register' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   router.push({ path }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// 切换其他企业 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const handleSwitchToAnotherEnterprise = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  if (enterpriseList.value?.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (enterpriseList.value.length > 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      show.value = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      radios.value = enterpriseList.value[0].enterpriseId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 只有一个企业不能切换  只能再注册新的一个 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      handleRegisteringNewEnterprise() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// // 切换其他企业 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// const handleSwitchToAnotherEnterprise = async () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   if (enterpriseList.value?.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//     if (enterpriseList.value.length > 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//       show.value = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//       radios.value = enterpriseList.value[0].enterpriseId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//     } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//       // 只有一个企业不能切换  只能再注册新的一个 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//       handleRegisteringNewEnterprise() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 手动切换企业提交 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const handleToAnotherEnterpriseSubmit = async () => {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   // 获取企业账号令牌以及企业用户个人信息 
			 |