| 
					
				 | 
			
			
				@@ -70,7 +70,7 @@ export const useUserStore = defineStore('user', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             localStorage.setItem('expiresTime', res.expiresTime) // token过期时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             updateEventList(true) // 获取规则配置跟踪列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await this.getUserInfos() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await this.getUserBaseInfos('', { chooseRole: data.chooseRole, login: true }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            await this.getUserBaseInfos('', { login: true }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (data?.schoolRegister) await this.getSchoolInfo(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             resolve(res) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }).catch(err => { reject(err) }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -131,13 +131,9 @@ export const useUserStore = defineStore('user', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           data = data || {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.baseInfo = await this.getFieldText(data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           localStorage.setItem('baseInfo', JSON.stringify(this.baseInfo)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // chooseRole如果是注册进入待选择求职角色,不弹必填信息弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          localStorage.setItem('necessaryInfoReady', !option?.chooseRole || checkPersonBaseInfo(this.baseInfo) ? 'ready' : 'fddeaddc47868b') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (option?.chooseRole) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // 刚注册时让用户选择学生用户还是求职者用户,角色不同填写的基本信息不同。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            localStorage.setItem('chooseRole', 'showChooseRole') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 强制填写个人信息: ready->已填写 showChoose->选择角色 student->学生 person->职场人士 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 用户登录后校验是否完善人才必填信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          localStorage.setItem('necessaryInfoReady', checkPersonBaseInfo(this.baseInfo) ? 'ready' : 'showChoose') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // 当前角色若为学生则获取学生信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (data?.type && Number(data.type) === 1) this.getStudentInformation(Boolean(option?.login || option?.register)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } catch (error) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -286,6 +282,9 @@ export const useUserStore = defineStore('user', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 获取学校基本信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       async getSchoolInfo (isRegister = false) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        localStorage.setItem('necessaryInfoReady', 'person') // 老师注册默认为职场人士 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const data = await getSchoolInformation() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 存储学校登录标识 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -299,12 +298,12 @@ export const useUserStore = defineStore('user', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!data || !Object.keys(data).length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // console.log('没有注册过,直接跳转到学校注册页面') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          router.push({ path: '/register/schoolIndex' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          router.push({ path: '/recruit/teacher/register/schoolIndex' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         else if (data?.authStatus === '0' || data?.authStatus === '2') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // console.log('审核中,等待审核  || 审核不通过,重新填写信息提交', data.authStatus) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           localStorage.setItem('registerSchoolInfo', JSON.stringify(data)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          router.push({ path: '/register/school/inReview' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          router.push({ path: '/recruit/teacher/register/school/inReview' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         else if (data?.authStatus === '1') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // console.log('审核通过直接进入老师页面') 
			 |