|
|
|
@ -360,6 +360,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 = {
|
|
|
|
@ -383,6 +387,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
|
|
|
|
|
ShowOnlinePdf:(url)=>this.ShowOnlinePdf(url),
|
|
|
|
|
DownloadFileA:(title,url)=>this.DownloadFileA(title,url),
|
|
|
|
|
DownloadOpenPdf:(type,url)=>this.DownloadOpenPdf(type,url)
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|