|
|
|
@ -185,6 +185,17 @@ class PackageConcent extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onChangePagelist=(pageNum)=> {
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
page: pageNum
|
|
|
|
|
})
|
|
|
|
|
let {category, keyword, sort_by, sort_direction} = this.state;
|
|
|
|
|
this.setdatas(category, keyword, sort_by, sort_direction, pageNum)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {data,page,category,sort_by,sort_direction,project_packages,
|
|
|
|
|
isRender,AccountProfiletype
|
|
|
|
@ -286,7 +297,7 @@ class PackageConcent extends Component {
|
|
|
|
|
<div className=" item-head mbf10">
|
|
|
|
|
|
|
|
|
|
<div className=" item-head-title">
|
|
|
|
|
<a className={"fl mt3 font-20 font-bd color-dark maxwidth700 "}
|
|
|
|
|
<a className={"fl mt3 font-20 font-bd color-dark maxwidth670 "}
|
|
|
|
|
onClick={()=>this.onReleaseRequirements("/crowdsourcing/"+item.id)}
|
|
|
|
|
title={item.title}
|
|
|
|
|
>{item.title}</a>
|
|
|
|
@ -346,7 +357,7 @@ class PackageConcent extends Component {
|
|
|
|
|
</div>:""}
|
|
|
|
|
|
|
|
|
|
<div className={"mt40"}>
|
|
|
|
|
<Pagination className="edu-txt-center" hideOnSinglePage={true} pageSize={20} current={page} total={data&&data.count} />
|
|
|
|
|
<Pagination className="edu-txt-center" onChange={this.onChangePagelist} hideOnSinglePage={true} pageSize={20} current={page} total={data&&data.count} />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|