|
|
@ -21,6 +21,7 @@ import NoneData from './component/NoneData';
|
|
|
|
import './questioncss/questioncom.css';
|
|
|
|
import './questioncss/questioncom.css';
|
|
|
|
import Bottomsubmit from "../modals/Bottomsubmit";
|
|
|
|
import Bottomsubmit from "../modals/Bottomsubmit";
|
|
|
|
import QuestionModalys from "./component/QuestionModalys";
|
|
|
|
import QuestionModalys from "./component/QuestionModalys";
|
|
|
|
|
|
|
|
import Listjihe from "./component/Listjihe";
|
|
|
|
|
|
|
|
|
|
|
|
//exam_id 试卷的id
|
|
|
|
//exam_id 试卷的id
|
|
|
|
var Undoclickable=true;
|
|
|
|
var Undoclickable=true;
|
|
|
@ -264,12 +265,6 @@ class NewMyShixunModel extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.callback(defaultActiveKeys);
|
|
|
|
this.callback(defaultActiveKeys);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(prevProps.Contentdata !== this.props.Contentdata){
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
Contentdata:this.props.Contentdata,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//公共和我的
|
|
|
|
//公共和我的
|
|
|
@ -721,33 +716,33 @@ class NewMyShixunModel extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
getbasket_listdata = () => {
|
|
|
|
getbasket_listdata = () => {
|
|
|
|
// 获取试题篮展开的数据
|
|
|
|
// 获取试题篮展开的数据
|
|
|
|
// const url = "/item_baskets/basket_list.json";
|
|
|
|
const url = "/item_baskets/basket_list.json";
|
|
|
|
// axios.get(url)
|
|
|
|
axios.get(url)
|
|
|
|
// .then((result) => {
|
|
|
|
.then((result) => {
|
|
|
|
// // ////console.log("getbasket_listdata");
|
|
|
|
// ////console.log("getbasket_listdata");
|
|
|
|
// // ////console.log(result.data);
|
|
|
|
// ////console.log(result.data);
|
|
|
|
// this.setState({
|
|
|
|
this.setState({
|
|
|
|
// completion_questions_count: result.data.completion_questions_count,
|
|
|
|
completion_questions_count: result.data.completion_questions_count,
|
|
|
|
// judgement_questions_count: result.data.judgement_questions_count,
|
|
|
|
judgement_questions_count: result.data.judgement_questions_count,
|
|
|
|
// multiple_questions_count: result.data.multiple_questions_count,
|
|
|
|
multiple_questions_count: result.data.multiple_questions_count,
|
|
|
|
// practical_questions_count: result.data.practical_questions_count,
|
|
|
|
practical_questions_count: result.data.practical_questions_count,
|
|
|
|
// program_questions_count: result.data.program_questions_count,
|
|
|
|
program_questions_count: result.data.program_questions_count,
|
|
|
|
// single_questions_count: result.data.single_questions_count,
|
|
|
|
single_questions_count: result.data.single_questions_count,
|
|
|
|
// subjective_questions_count: result.data.subjective_questions_count,
|
|
|
|
subjective_questions_count: result.data.subjective_questions_count,
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
//
|
|
|
|
|
|
|
|
// }).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
// // ////console.log(error);
|
|
|
|
// ////console.log(error);
|
|
|
|
// this.setState({
|
|
|
|
this.setState({
|
|
|
|
// completion_questions_count: 0,
|
|
|
|
completion_questions_count: 0,
|
|
|
|
// judgement_questions_count: 0,
|
|
|
|
judgement_questions_count: 0,
|
|
|
|
// multiple_questions_count: 0,
|
|
|
|
multiple_questions_count: 0,
|
|
|
|
// practical_questions_count: 0,
|
|
|
|
practical_questions_count: 0,
|
|
|
|
// program_questions_count: 0,
|
|
|
|
program_questions_count: 0,
|
|
|
|
// single_questions_count: 0,
|
|
|
|
single_questions_count: 0,
|
|
|
|
// subjective_questions_count: 0,
|
|
|
|
subjective_questions_count: 0,
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1030,7 +1025,9 @@ class NewMyShixunModel extends Component {
|
|
|
|
+ subjective_questions_count;
|
|
|
|
+ subjective_questions_count;
|
|
|
|
|
|
|
|
|
|
|
|
// console.log("弹出框");
|
|
|
|
// console.log("弹出框");
|
|
|
|
// console.log(Contentdata)
|
|
|
|
// console.log(Datacount)
|
|
|
|
|
|
|
|
// console.log(Contentdata)
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="newMain clearfix " ref={this.saveContainer}>
|
|
|
|
<div className="newMain clearfix " ref={this.saveContainer}>
|
|
|
|
|
|
|
|
|
|
|
@ -1103,6 +1100,8 @@ class NewMyShixunModel extends Component {
|
|
|
|
Contentdata={Contentdata}
|
|
|
|
Contentdata={Contentdata}
|
|
|
|
exam_id={this.props.exam_id}
|
|
|
|
exam_id={this.props.exam_id}
|
|
|
|
Isitapopup={"true"}
|
|
|
|
Isitapopup={"true"}
|
|
|
|
|
|
|
|
Datacount={Datacount}
|
|
|
|
|
|
|
|
Datacountbool={true}
|
|
|
|
chakanjiexiboolindex={this.state.chakanjiexiboolindex}
|
|
|
|
chakanjiexiboolindex={this.state.chakanjiexiboolindex}
|
|
|
|
chakanjiexibool={(e)=>this.chakanjiexibool(e)}
|
|
|
|
chakanjiexibool={(e)=>this.chakanjiexibool(e)}
|
|
|
|
getitem_basketss={(id)=>this.getitem_basketss(id)}
|
|
|
|
getitem_basketss={(id)=>this.getitem_basketss(id)}
|
|
|
|