|
|
|
@ -546,7 +546,6 @@ class Registration extends React.Component {
|
|
|
|
|
};
|
|
|
|
|
//刷新战队
|
|
|
|
|
Refreshteam = () => {
|
|
|
|
|
|
|
|
|
|
const {keyword, page, per_page} = this.state;
|
|
|
|
|
this.Getdata(keyword, page, per_page, this.props.user.admin);
|
|
|
|
|
this.GetenrollmentAPI();
|
|
|
|
@ -600,7 +599,6 @@ class Registration extends React.Component {
|
|
|
|
|
if (enroll_ended === true) {
|
|
|
|
|
//已截止
|
|
|
|
|
this.props.showNotification(`报名已截止`);
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (enrolled === true) {
|
|
|
|
@ -623,16 +621,6 @@ class Registration extends React.Component {
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const {page, pages, limit, type, tmodalsType, tmodalsTypes, data, count, competition_teams, Newtit, itemiddata, messagePerbool, messageexitol, GetenrollmentAPI, loadingstate, pint} = this.state;
|
|
|
|
|
// var listItems = "";
|
|
|
|
|
|
|
|
|
|
// if (competition_teams) {
|
|
|
|
|
// listItems = competition_teams.map((item, index) =>
|
|
|
|
|
//
|
|
|
|
|
// );
|
|
|
|
|
// }
|
|
|
|
|
// const listItemss = test.map((item, index) =>
|
|
|
|
|
//
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
|