|
|
@ -236,7 +236,8 @@ class Paperreview extends Component {
|
|
|
|
.then((result) => {
|
|
|
|
.then((result) => {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
if (result.data.status === 0) {
|
|
|
|
// this.props.showNotification(`组卷成功`);
|
|
|
|
// this.props.showNotification(`组卷成功`);
|
|
|
|
this.props.history.replace('/paperlibrary');
|
|
|
|
// console.log(result.data.exam_id);
|
|
|
|
|
|
|
|
this.props.history.replace('/paperlibrary/see/'+result.data.exam_id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
//console.log(error);
|
|
|
|
//console.log(error);
|
|
|
|