培训签到 如果有签到失败 做提示
This commit is contained in:
parent
d4048325d3
commit
6e97cd4825
@ -98,11 +98,14 @@ class SE013ShowPrint extends React.Component {
|
|||||||
type: 'app/getDataByPost',
|
type: 'app/getDataByPost',
|
||||||
url: 'SE/SETrainNotify/TrainPersonStatus',
|
url: 'SE/SETrainNotify/TrainPersonStatus',
|
||||||
payload: json,
|
payload: json,
|
||||||
|
onlyData: false,
|
||||||
onComplete: (ret) => {
|
onComplete: (ret) => {
|
||||||
if (ret) {
|
if (ret.Data) {
|
||||||
message.success('提交成功!');
|
message.success('提交成功!');
|
||||||
this.BtnClose();
|
} else {
|
||||||
|
message.error(ret.ErrorMessage);
|
||||||
}
|
}
|
||||||
|
this.BtnClose();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user