|
|
@ -16,16 +16,17 @@ import CompetitionMaxImg from './CompetitionMaxImg';
|
|
|
|
import RegistrationSearch from './RegistrationSearch';
|
|
|
|
import RegistrationSearch from './RegistrationSearch';
|
|
|
|
import RegisListview from './RegisListview';
|
|
|
|
import RegisListview from './RegisListview';
|
|
|
|
import RegisListviewdata from './RegisListviewdata';
|
|
|
|
import RegisListviewdata from './RegisListviewdata';
|
|
|
|
|
|
|
|
|
|
|
|
// 团队竞赛报名无报名
|
|
|
|
// 团队竞赛报名无报名
|
|
|
|
class Registration extends React.Component {
|
|
|
|
class Registration extends React.Component {
|
|
|
|
constructor(props) {
|
|
|
|
constructor(props) {
|
|
|
|
super(props)
|
|
|
|
super(props)
|
|
|
|
this.state = {
|
|
|
|
this.state = {
|
|
|
|
persons: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
|
|
|
|
test: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
|
|
|
|
loadingstate: false,
|
|
|
|
loadingstate: false,
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
limit: 20,
|
|
|
|
limit: 20,
|
|
|
|
type: 1,
|
|
|
|
type: 5,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -36,9 +37,10 @@ class Registration extends React.Component {
|
|
|
|
loadingstate: true,
|
|
|
|
loadingstate: true,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|
const {persons, page, limit, type} = this.state;
|
|
|
|
const {test, page, limit, type} = this.state;
|
|
|
|
const listItems = persons.map((item, index) =>
|
|
|
|
const listItems = test.map((item, index) =>
|
|
|
|
<RegisListviewdata></RegisListviewdata>
|
|
|
|
<RegisListviewdata></RegisListviewdata>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
return (
|
|
|
|
return (
|
|
|
@ -66,7 +68,7 @@ class Registration extends React.Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type === 2 || type === 3 || type === 5 ?
|
|
|
|
type === 2 || type === 3 || type === 5 ?
|
|
|
|
<Registrationitem type={type}></Registrationitem>
|
|
|
|
<Registrationitem type={type}></Registrationitem>
|
|
|
|
: ""
|
|
|
|
: ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -90,7 +92,7 @@ class Registration extends React.Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type === 5 ?
|
|
|
|
type === 4 || type === 5 ?
|
|
|
|
<div className="edu-txt-center ysyslxh mt56 " style={{marginBottom: "192px",}}>
|
|
|
|
<div className="edu-txt-center ysyslxh mt56 " style={{marginBottom: "192px",}}>
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
onChange={this.paginationonChangestwo} pageSize={limit}
|
|
|
|
onChange={this.paginationonChangestwo} pageSize={limit}
|
|
|
|