|
|
@ -238,8 +238,8 @@ class Questionitem_banks extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// console.log("preservation");
|
|
|
|
console.log("preservation");
|
|
|
|
// console.log(this.contentMdRef.Getdatas());
|
|
|
|
console.log(this.contentMdRef.Getdatas());
|
|
|
|
var Getdatasdata=this.contentMdRef.Getdatas();
|
|
|
|
var Getdatasdata=this.contentMdRef.Getdatas();
|
|
|
|
if (this.state.item_type === null) {
|
|
|
|
if (this.state.item_type === null) {
|
|
|
|
|
|
|
|
|
|
|
@ -272,14 +272,14 @@ class Questionitem_banks extends Component {
|
|
|
|
// tag_repertoire_id:[1,3],
|
|
|
|
// tag_repertoire_id:[1,3],
|
|
|
|
|
|
|
|
|
|
|
|
var myrbkc=[];
|
|
|
|
var myrbkc=[];
|
|
|
|
var Getdatasdatas=Getdatasdata.rbkc[1]
|
|
|
|
var Getdatasdatas=Getdatasdata.rbzsd
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var data = {
|
|
|
|
var data = {
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
sub_discipline_id: myrbkc,
|
|
|
|
sub_discipline_id: Getdatasdata.rbkc[1],
|
|
|
|
tag_discipline_id: Getdatasdata.rbzsd,
|
|
|
|
tag_discipline_id: myrbkc,
|
|
|
|
name: anserdata[0],
|
|
|
|
name: anserdata[0],
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
@ -350,14 +350,14 @@ class Questionitem_banks extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var myrbkc=[];
|
|
|
|
var myrbkc=[];
|
|
|
|
var Getdatasdatas=Getdatasdata.rbkc[1]
|
|
|
|
var Getdatasdatas=Getdatasdata.rbzsd
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var data = {
|
|
|
|
var data = {
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
sub_discipline_id: myrbkc,
|
|
|
|
sub_discipline_id: Getdatasdata.rbkc[1],
|
|
|
|
tag_discipline_id: Getdatasdata.rbzsd,
|
|
|
|
tag_discipline_id: myrbkc,
|
|
|
|
name: anserdata[0],
|
|
|
|
name: anserdata[0],
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
@ -419,14 +419,14 @@ class Questionitem_banks extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
choices.push(choicesdatas);
|
|
|
|
choices.push(choicesdatas);
|
|
|
|
var myrbkc=[];
|
|
|
|
var myrbkc=[];
|
|
|
|
var Getdatasdatas=Getdatasdata.rbkc[1]
|
|
|
|
var Getdatasdatas=Getdatasdata.rbzsd
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
for(let myda of Getdatasdatas) {
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
myrbkc.push(myda.id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var data = {
|
|
|
|
var data = {
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
discipline_id: Getdatasdata.rbkc[0],
|
|
|
|
sub_discipline_id: myrbkc,
|
|
|
|
sub_discipline_id: Getdatasdata.rbkc[1],
|
|
|
|
tag_discipline_id: Getdatasdata.rbzsd,
|
|
|
|
tag_discipline_id: myrbkc,
|
|
|
|
name: anserdata[0],
|
|
|
|
name: anserdata[0],
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
item_type: Getdatasdata.rbtx,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
|
difficulty:Getdatasdata.rbnd,
|
|
|
|