|
|
|
@ -2110,6 +2110,7 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
axios.put(url, {
|
|
|
|
|
opr: "up",
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
debugger
|
|
|
|
|
try {
|
|
|
|
|
if(result){
|
|
|
|
|
if(result.data){
|
|
|
|
@ -2128,9 +2129,11 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
this.props.showNotification(`上移失败`);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
this.props.showNotification(`上移失败`);
|
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|
// console.log("上移题目成功 错误")
|
|
|
|
|
this.props.showNotification(`上移失败`);
|
|
|
|
|
console.log(e)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2159,10 +2162,12 @@ class PollNewQuestbank extends Component {
|
|
|
|
|
}else {
|
|
|
|
|
this.props.showNotification(`下移失败`);
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
this.props.showNotification(`上移失败`);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|
// console.log("下移题目成功 错误")
|
|
|
|
|
this.props.showNotification(`上移失败`);
|
|
|
|
|
console.log(e)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|