dev_auth
杨树林 5 years ago
parent 36a7ecda42
commit 469de62457

@ -853,7 +853,7 @@ class Registration extends React.Component {
{
data && data.map((item, index) => {
return (
<Registrationitem key={index} item={item}></Registrationitem>
<Registrationitem {...this.props} {...this.state} key={index} item={item}></Registrationitem>
)
})
}
@ -864,7 +864,7 @@ class Registration extends React.Component {
: ""}
{
type === 1 ?
<RegisNodata></RegisNodata>
<RegisNodata {...this.props} {...this.state} ></RegisNodata>
:
""
}
@ -876,7 +876,9 @@ class Registration extends React.Component {
return (
<PersonalCompetititem key={index} type={type} item={item} index={index} mode={mode}
Exittheteamshow={(itemid) => this.Exittheteamshow(itemid)}
Createateamedit={(itemid) => this.Createateamedit(itemid)}></PersonalCompetititem>
Createateamedit={(itemid) => this.Createateamedit(itemid)}
{...this.props} {...this.state}
></PersonalCompetititem>
)
})
)
@ -886,14 +888,15 @@ class Registration extends React.Component {
{
type === 4 || type === 5 ?
<RegistrationSearch count={count}
RegistrationSearchvalue={(value) => this.RegistrationSearchvalue(value)}></RegistrationSearch>
<RegistrationSearch {...this.props} {...this.state}
count={count}
RegistrationSearchvalue={(value) => this.RegistrationSearchvalue(value)}></RegistrationSearch>
: ""
}
{/*<Registrationitem></Registrationitem>*/}
{
type === 4 || type === 5 ?
<RegisListview></RegisListview>
<RegisListview {...this.props} {...this.state}></RegisListview>
:
""
}
@ -904,7 +907,7 @@ class Registration extends React.Component {
{
competition_teams && competition_teams.map((item, index) => {
return (
<RegisListviewdata key={index} item={item}></RegisListviewdata>
<RegisListviewdata {...this.props} {...this.state} key={index} item={item}></RegisListviewdata>
)
})
}

@ -63,8 +63,8 @@ class PersonalCompetititem extends React.Component {
// console.log(data);
// console.log("PersonalCompetititem");
// console.log(type);
// console.log(mode);
// console.log("sdasjdhahsdas");
// console.log(this.props);
return (
<div>
{

Loading…
Cancel
Save