|
|
@ -119,6 +119,10 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
}).then((response) => {
|
|
|
|
}).then((response) => {
|
|
|
|
if(response.data.status===0){
|
|
|
|
if(response.data.status===0){
|
|
|
|
this.props.showSnackbar("提交成功");
|
|
|
|
this.props.showSnackbar("提交成功");
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
setbiddingmantype:false
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
this.getdatas()
|
|
|
|
}else if(response.data.status===-1){
|
|
|
|
}else if(response.data.status===-1){
|
|
|
|
this.props.showSnackbar(response.data.message);
|
|
|
|
this.props.showSnackbar(response.data.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -395,7 +399,8 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
{data&&data.bidding_users.map((item,key)=>{
|
|
|
|
{data&&data.bidding_users.map((item,key)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="ysldivhomediv1 homehove">
|
|
|
|
<div className="ysldivhomediv1 homehove" key={key}>
|
|
|
|
|
|
|
|
{item.status==="bidding_won"?<img src={gouxuan} className="yslgouxuanimg"/>:""}
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<div className="textall mt10" title={item.name}> <p className="ptext">{item.name}</p></div>
|
|
|
|
<div className="textall mt10" title={item.name}> <p className="ptext">{item.name}</p></div>
|
|
|
|
{this.props.current_user.login!=item.login?<a className="ContacttheTAs fl none" href={`/users/${this.props.current_user.login}/private_messages`}>
|
|
|
|
{this.props.current_user.login!=item.login?<a className="ContacttheTAs fl none" href={`/users/${this.props.current_user.login}/private_messages`}>
|
|
|
@ -442,7 +447,7 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
<div style={{height: "20px"}}> </div>
|
|
|
|
<div style={{height: "20px"}}> </div>
|
|
|
|
{data&&data.bidding_users.map((item,key)=>{
|
|
|
|
{data&&data.bidding_users.map((item,key)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="ysldivhomediv1" onClick={()=>this.Clickteacher2(item.id)}>
|
|
|
|
<div className="ysldivhomediv1" onClick={()=>this.Clickteacher2(item.id)} key={key}>
|
|
|
|
{item.bool===true?<img src={gouxuan} className="yslgouxuanimg"/>:<img src={weigouxuan} className="yslgouxuanimg"/>}
|
|
|
|
{item.bool===true?<img src={gouxuan} className="yslgouxuanimg"/>:<img src={weigouxuan} className="yslgouxuanimg"/>}
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<a href={`/users/${item.login}`}><img className="div1img" src={item.avatar_url}/></a>
|
|
|
|
<span className={item.bool===true?"textall mt10 color-blue":"textall mt10"} title={item.name}> <p className="ptext">{item.name}</p></span>
|
|
|
|
<span className={item.bool===true?"textall mt10 color-blue":"textall mt10"} title={item.name}> <p className="ptext">{item.name}</p></span>
|
|
|
|