dev_cs_new
杨树明 6 years ago
parent 65095bca9e
commit 557dc146a5

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

Loading…
Cancel
Save