|
|
|
@ -392,6 +392,12 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
console.log('failCallback')
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
showGlobalLoading = () => {
|
|
|
|
|
this.setState({ globalLoading: true })
|
|
|
|
|
}
|
|
|
|
|
hideGlobalLoading = () => {
|
|
|
|
|
this.setState({ globalLoading: false })
|
|
|
|
|
}
|
|
|
|
|
render() {
|
|
|
|
|
let{Headertop,Footerdown, isRender, AccountProfiletype}=this.state;
|
|
|
|
@ -418,7 +424,10 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
DownloadFileA:(title,url)=>this.DownloadFileA(title,url),
|
|
|
|
|
DownloadOpenPdf:(type,url)=>this.DownloadOpenPdf(type,url),
|
|
|
|
|
|
|
|
|
|
slowDownload: this.slowDownload
|
|
|
|
|
slowDownload: this.slowDownload,
|
|
|
|
|
showGlobalLoading: this.showGlobalLoading,
|
|
|
|
|
hideGlobalLoading: this.hideGlobalLoading,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<div className="indexHOC">
|
|
|
|
|