dev_aliyun
杨树明 5 years ago
parent 4ac9d9fffd
commit e4ab198049

@ -224,8 +224,8 @@ class PackageIndexNEITaskDetails extends Component {
render() { render() {
let {overtype,data}=this.state; let {overtype,data}=this.state;
console.log(data) console.log(data&&data.creator)
console.log(this.props) // console.log(this.props)
return ( return (
<div> <div>
<div className="clearfix"> <div className="clearfix">
@ -275,7 +275,7 @@ class PackageIndexNEITaskDetails extends Component {
{data&&data.creator.name} {data&&data.creator.name}
</div> </div>
{this.props.current_user.login!=data&&data.creator.login?<div className=" edu-back-white ml5 mt10 " {this.props.current_user.login!=data&&data.creator&&data&&data.creator.login?<div className=" edu-back-white ml5 mt10 "
onMouseOver={this.setover} onMouseOver={this.setover}
onMouseOut={this.setout} onMouseOut={this.setout}
> >
@ -366,7 +366,7 @@ class PackageIndexNEITaskDetails extends Component {
<div className={"stud-class-set pd30a0 coursenavbox edu-back-white"}> <div className={"stud-class-set pd30a0 coursenavbox edu-back-white"}>
<div className={"relativef"}> <div className={"relativef"}>
<div className={"longboxs"}> <div className={"longboxs"}>
报名列表(12) 报名列表({data&&data.bidding_users.length})
</div> </div>
<div className="packageabsolute"> <div className="packageabsolute">
{data&&data.operation.can_bidding===true?<Button type="primary" className="defalutSubmitbtn fl ml20 defalutSubmitbtns" onClick={this.setBiddingApply}>竞标报名</Button>:""} {data&&data.operation.can_bidding===true?<Button type="primary" className="defalutSubmitbtn fl ml20 defalutSubmitbtns" onClick={this.setBiddingApply}>竞标报名</Button>:""}
@ -393,6 +393,14 @@ class PackageIndexNEITaskDetails extends Component {
</div> </div>
) )
})} })}
{data&&data.bidding_users.length===0?<div className="edu-back-white">
<div className="edu-tab-con-box clearfix edu-txt-center">
<img className="edu-nodata-img mb20" src="https://www.educoder.net/images/educoder/nodata.png" />
<p className="edu-nodata-p mb20">暂无人员竞标~</p></div>
</div>:""}
</div> </div>
</div> </div>
</div> </div>
@ -402,7 +410,7 @@ class PackageIndexNEITaskDetails extends Component {
<div className={"stud-class-set pd30a0 coursenavbox edu-back-white"}> <div className={"stud-class-set pd30a0 coursenavbox edu-back-white"}>
<div className={"relativef"}> <div className={"relativef"}>
<div className={"longboxs"}> <div className={"longboxs"}>
报名列表(12) 报名列表({data&&data.bidding_users.length})
</div> </div>
<div className="packageabsolute"> <div className="packageabsolute">

Loading…
Cancel
Save