|
|
|
@ -112,6 +112,10 @@ class PathDetailIndex extends Component{
|
|
|
|
|
this.setState({
|
|
|
|
|
Modalstype:false,
|
|
|
|
|
})
|
|
|
|
|
// TODO 这个是临时处理,还需要优化,这里要看怎么区分处理
|
|
|
|
|
if (this.state.Modalstopval == '你确定要删除该成员吗?') {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
this.props.history.goBack()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -248,11 +252,12 @@ class PathDetailIndex extends Component{
|
|
|
|
|
let param={user_id:user_id};
|
|
|
|
|
axios.delete(url,{data:param}).then((response) => {
|
|
|
|
|
if(response.data.status===1){
|
|
|
|
|
this.props.showNotification(response.data.message)
|
|
|
|
|
this.setState({
|
|
|
|
|
Modalstype:true,
|
|
|
|
|
Modalstopval:response.data.message,
|
|
|
|
|
loadtype:true,
|
|
|
|
|
cardsModalsave:this.cardsModalsave,
|
|
|
|
|
Modalstype:false,
|
|
|
|
|
// Modalstopval:response.data.message,
|
|
|
|
|
loadtype:false,
|
|
|
|
|
// cardsModalsave:this.cardsModalsave,
|
|
|
|
|
})
|
|
|
|
|
this.updatadetailInfoList();
|
|
|
|
|
}
|
|
|
|
|