yslnewtiku
杨树林 5 years ago
parent 276caa91a7
commit b70d660b77

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

Loading…
Cancel
Save