issues25489
hjm 5 years ago
parent 90d5b61a65
commit 99746df22a

@ -895,8 +895,10 @@ debugger
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url, '_blank');
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

@ -718,8 +718,10 @@ class GraduationTaskssettinglist extends Component{
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url, '_blank');
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

@ -239,8 +239,10 @@ class GraduationTasksquestions extends Component{
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url, '_blank');
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

@ -114,8 +114,10 @@ class PollDetailIndex extends Component{
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url, '_blank');
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url, '_blank');
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)

@ -72,8 +72,10 @@ class ShixunWorkReport extends Component {
}) })
} }
}else { }else {
this.props.showNotification(`正在下载中`); this.props.slowDownload(url)
window.open("/api"+url+'?export=true', '_blank');
// this.props.showNotification(`正在下载中`);
// window.open("/api"+url+'?export=true', '_blank');
this.setState({ isspinning: false }) this.setState({ isspinning: false })
} }
}).catch((error) => { }).catch((error) => {

Loading…
Cancel
Save