|
|
@ -272,7 +272,9 @@ class Paperreview_item extends Component {
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|
//确定
|
|
|
|
//确定
|
|
|
|
const url = `/item_baskets/${this.state.item_bank_id}.json`;
|
|
|
|
const url = `/item_baskets/${this.state.item_bank_id}.json`;
|
|
|
|
axios.delete((url))
|
|
|
|
axios.delete(url, { data: {
|
|
|
|
|
|
|
|
exam_setting_id: this.props.match.params.id,
|
|
|
|
|
|
|
|
}})
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
if (response.data.status == 0) {
|
|
|
|
if (response.data.status == 0) {
|
|
|
|
// this.props.showNotification('试题删除成功');
|
|
|
|
// this.props.showNotification('试题删除成功');
|
|
|
@ -291,7 +293,8 @@ class Paperreview_item extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
showsetmodalsTypedels=(id,bool,type)=>{
|
|
|
|
showsetmodalsTypedels=(id,bool,type)=>{
|
|
|
|
debugger
|
|
|
|
console.log("Paperreview_item");
|
|
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
item_bank_id:id,
|
|
|
|
item_bank_id:id,
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -394,6 +397,8 @@ class Paperreview_item extends Component {
|
|
|
|
modalsTypeys
|
|
|
|
modalsTypeys
|
|
|
|
} = this.state;
|
|
|
|
} = this.state;
|
|
|
|
let {single_questions, multiple_questions, judgement_questions, program_questions, all_score} = this.props;
|
|
|
|
let {single_questions, multiple_questions, judgement_questions, program_questions, all_score} = this.props;
|
|
|
|
|
|
|
|
console.log("this.props");
|
|
|
|
|
|
|
|
console.log(this.props);
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className=" clearfix educontent Contentquestionbankstyle w100s w1200wuh mt19">
|
|
|
|
<div className=" clearfix educontent Contentquestionbankstyle w100s w1200wuh mt19">
|
|
|
|
{
|
|
|
|
{
|
|
|
|