|
|
|
@ -160,7 +160,18 @@ class Statistics extends Component{
|
|
|
|
|
|
|
|
|
|
derivefun=(url)=>{
|
|
|
|
|
let{group_ids}=this.state;
|
|
|
|
|
this.props.slowDownload(`${url}?group_id=${group_ids}`);
|
|
|
|
|
let list=group_ids;
|
|
|
|
|
let urllist="";
|
|
|
|
|
if(list!=undefined&&list.length!=0)
|
|
|
|
|
list.map((item,key)=>{
|
|
|
|
|
if(key===0){
|
|
|
|
|
urllist=`group_id[]=${item}`
|
|
|
|
|
}else{
|
|
|
|
|
urllist=urllist+`&group_id[]=${item}`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
this.props.slowDownload(`${url}?${urllist}`);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|