dev_aliyun
杨树明 5 years ago
parent c442751ab0
commit 18799374a8

@ -213,7 +213,7 @@ class PackageConcent extends Component {
<div className="project-package-item"> <div className="project-package-item">
<div className="item-image"> <div className="item-image">
<img src={"/images/educoder/project_packages/"+item.contact_name+".png"}/> <img src={"/images/educoder/project_packages/"+item.category+".png"}/>
</div> </div>
<div className=" item-body"> <div className=" item-body">
@ -236,7 +236,7 @@ class PackageConcent extends Component {
</div> </div>
<div className=" item-category"> <div className=" item-category">
<div className=" item-category-item">{item.category}</div> <div className=" item-category-item">{item.category_name}</div>
</div> </div>
<div className=" item-other"> <div className=" item-other">

@ -211,7 +211,7 @@ class PackageIndexNEITaskDetails extends Component {
let url=`/api/v1/project_packages/${this.props.match.params.id}/bidding_users.json`; let url=`/api/v1/project_packages/${this.props.match.params.id}/bidding_users.json`;
axios.post(url).then((response) => { axios.post(url).then((response) => {
if(response.data.status===0){ if(response.data.status===0){
this.props.showSnackbar(response.data.message); this.props.showSnackbar("报名成功");
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)
@ -306,7 +306,7 @@ class PackageIndexNEITaskDetails extends Component {
</div> </div>
<div className="item-category"> <div className="item-category">
<div className="item-category-item">{data&&data.category}</div> <div className="item-category-item">{data&&data.category_name}</div>
</div> </div>
<div className=" item-other"> <div className=" item-other">

Loading…
Cancel
Save