|
|
@ -200,26 +200,6 @@ class Intecomponents extends Component {
|
|
|
|
this.getwangluodata(url, data);
|
|
|
|
this.getwangluodata(url, data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getwangluodata = (url, data) => {
|
|
|
|
|
|
|
|
axios.post(url, data).then((response) => {
|
|
|
|
|
|
|
|
if (response) {
|
|
|
|
|
|
|
|
//console.log("智能组卷");
|
|
|
|
|
|
|
|
//console.log(response);
|
|
|
|
|
|
|
|
if (response.data) {
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
|
|
|
single_question_count: response.data.single_question_count,
|
|
|
|
|
|
|
|
multiple_question_count: response.data.multiple_question_count,
|
|
|
|
|
|
|
|
judgement_question_count: response.data.judgement_question_count,
|
|
|
|
|
|
|
|
program_question_count: response.data.program_question_count,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//难度
|
|
|
|
|
|
|
|
getdatass = (nandu) => {
|
|
|
|
getdatass = (nandu) => {
|
|
|
|
if (this.Judquestio.Getdatas().length === 0) {
|
|
|
|
if (this.Judquestio.Getdatas().length === 0) {
|
|
|
|
this.scrollToAnchor("Itembankstopid");
|
|
|
|
this.scrollToAnchor("Itembankstopid");
|
|
|
|