|
|
|
@ -345,6 +345,10 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
link.dispatchEvent(evt);
|
|
|
|
|
document.body.removeChild(link);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DownloadOpenPdf=(type,url)=>{
|
|
|
|
|
type===true?window.open(url):window.location.href=url;
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
let{Headertop,Footerdown, isRender, AccountProfiletype}=this.state;
|
|
|
|
|
const common = {
|
|
|
|
@ -364,6 +368,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
checkIfProfileCompleted: this.checkIfProfileCompleted,
|
|
|
|
|
ShowOnlinePdf:(url)=>this.ShowOnlinePdf(url),
|
|
|
|
|
DownloadFileA:(title,url)=>this.DownloadFileA(title,url),
|
|
|
|
|
DownloadOpenPdf:(type,url)=>this.DownloadOpenPdf(type,url)
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|