|
|
|
@ -477,8 +477,12 @@ submittojoinclass=(value)=>{
|
|
|
|
|
}else if( response.data.status===6){
|
|
|
|
|
this.submitstatevalue( 1,"您已成功加入项目",response.data.project)
|
|
|
|
|
}else if( response.data.status===0){
|
|
|
|
|
this.openNotification("加入项目成功!");
|
|
|
|
|
window.location.href(`/projects/${response.data.project_id}`)
|
|
|
|
|
if(RadioGroupvalue==="reporter"){
|
|
|
|
|
this.openNotification("您加入项目成功!");
|
|
|
|
|
window.location.href=`/projects/${response.data.project_id}`;
|
|
|
|
|
}else{
|
|
|
|
|
this.openNotification("您的申请已提交,请等待项目管理员审批!");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -877,7 +881,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
{/*<li>*/}
|
|
|
|
|
<a onClick={this.tojoinitem}>加入项目</a>
|
|
|
|
|
{/*</li>*/}
|
|
|
|
|
<Modal
|
|
|
|
|
{tojoinitemtype===true?<Modal
|
|
|
|
|
keyboard={false}
|
|
|
|
|
title="加入项目"
|
|
|
|
|
visible={tojoinitemtype}
|
|
|
|
@ -923,7 +927,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Modal>
|
|
|
|
|
</Modal>:""}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|