|  |  |  | @ -314,6 +314,7 @@ export function TPMIndexHOC(WrappedComponent) { | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       showProfileCompleteDialog = () => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.dialogObj = {} | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           AccountProfiletype: true | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
	
		
			
				
					|  |  |  | @ -321,6 +322,20 @@ export function TPMIndexHOC(WrappedComponent) { | 
			
		
	
		
			
				
					|  |  |  |  |       checkIfProfileCompleted = () => { | 
			
		
	
		
			
				
					|  |  |  |  |         return this.state.current_user && this.state.current_user.profile_completed | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       showProfessionalCertificationDialog = () => { | 
			
		
	
		
			
				
					|  |  |  |  |         this.dialogObj = { | 
			
		
	
		
			
				
					|  |  |  |  |           content: '您需要去完成您的职业认证,才能使用此功能', | 
			
		
	
		
			
				
					|  |  |  |  |           okText: '立即完成', | 
			
		
	
		
			
				
					|  |  |  |  |           okHref: '/account/certification' | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         this.setState({ | 
			
		
	
		
			
				
					|  |  |  |  |           AccountProfiletype: true, | 
			
		
	
		
			
				
					|  |  |  |  |         }) | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       checkIfProfessionalCertification = () => { | 
			
		
	
		
			
				
					|  |  |  |  |         return this.state.current_user && this.state.current_user.professional_certification | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |        | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 			ShowOnlinePdf = (url) => { | 
			
		
	
		
			
				
					|  |  |  |  | 				return  axios({ | 
			
		
	
	
		
			
				
					|  |  |  | @ -358,10 +373,14 @@ export function TPMIndexHOC(WrappedComponent) { | 
			
		
	
		
			
				
					|  |  |  |  |             isNotMember: this.isNotMember, | 
			
		
	
		
			
				
					|  |  |  |  |             isUserid:this.state.coursedata&&this.state.coursedata.userid, | 
			
		
	
		
			
				
					|  |  |  |  |             fetchUser: this.fetchUser, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             showLoginDialog: this.showLoginDialog, | 
			
		
	
		
			
				
					|  |  |  |  |             checkIfLogin: this.checkIfLogin, | 
			
		
	
		
			
				
					|  |  |  |  |             showProfileCompleteDialog: this.showProfileCompleteDialog, | 
			
		
	
		
			
				
					|  |  |  |  |             checkIfProfileCompleted: this.checkIfProfileCompleted, | 
			
		
	
		
			
				
					|  |  |  |  |             checkIfProfessionalCertification: this.checkIfProfessionalCertification, | 
			
		
	
		
			
				
					|  |  |  |  |             showProfessionalCertificationDialog: this.showProfessionalCertificationDialog, | 
			
		
	
		
			
				
					|  |  |  |  |              | 
			
		
	
		
			
				
					|  |  |  |  | 						ShowOnlinePdf:(url)=>this.ShowOnlinePdf(url), | 
			
		
	
		
			
				
					|  |  |  |  | 						DownloadFileA:(title,url)=>this.DownloadFileA(title,url), | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
	
		
			
				
					|  |  |  | @ -372,10 +391,12 @@ export function TPMIndexHOC(WrappedComponent) { | 
			
		
	
		
			
				
					|  |  |  |  |               {...this.props} | 
			
		
	
		
			
				
					|  |  |  |  |               {...this.state} | 
			
		
	
		
			
				
					|  |  |  |  |             /> : ""} | 
			
		
	
		
			
				
					|  |  |  |  |             {/* AccountProfile 也用作职业认证 */} | 
			
		
	
		
			
				
					|  |  |  |  |             {AccountProfiletype===true ? <AccountProfile | 
			
		
	
		
			
				
					|  |  |  |  |               hideAccountProfile={()=>this.hideAccountProfile()} | 
			
		
	
		
			
				
					|  |  |  |  |               {...this.props} | 
			
		
	
		
			
				
					|  |  |  |  |               {...this.state} | 
			
		
	
		
			
				
					|  |  |  |  |               {...this.dialogObj} | 
			
		
	
		
			
				
					|  |  |  |  |             />:""} | 
			
		
	
		
			
				
					|  |  |  |  |             <SiderBar Headertop={Headertop}/> | 
			
		
	
		
			
				
					|  |  |  |  |             {/* 注释掉了1440 影响到了手机屏幕的展示 */} | 
			
		
	
	
		
			
				
					|  |  |  | 
 |