|
|
|
@ -172,6 +172,8 @@ class Statistics extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// console.log(getRandomcode(`${url}?${urllist}`))
|
|
|
|
|
this.props.slowDownload(getRandomcode(`${url}?${urllist}`));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -420,7 +422,7 @@ class Statistics extends Component{
|
|
|
|
|
{
|
|
|
|
|
this.props.isAdmin()===true?
|
|
|
|
|
// 这里是文件下载 不能替换路由
|
|
|
|
|
<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/classrooms/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a>
|
|
|
|
|
<a className={"ml20 ant-btn-link"} onClick={()=>this.derivefun(this.state.activeKey==="1"?`/courses/${this.props.match.params.coursesId}/export_member_scores_excel.xlsx`:`/courses/${this.props.match.params.coursesId}/export_member_act_score.xlsx`)}>导出</a>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
</React.Fragment>;
|
|
|
|
|