Merge branch 'bjxz-cjw' into bjxz-dev
This commit is contained in:
commit
a3c6296f80
@ -862,6 +862,7 @@ export default {
|
|||||||
if(this.$refs.questionListTable){
|
if(this.$refs.questionListTable){
|
||||||
this.examForm.questions = this.$refs.questionListTable.selection;
|
this.examForm.questions = this.$refs.questionListTable.selection;
|
||||||
} else {
|
} else {
|
||||||
|
// if(this.examForm.checkQuestionType === 1){
|
||||||
let arr = [];
|
let arr = [];
|
||||||
this.questionList.map(item => {
|
this.questionList.map(item => {
|
||||||
this.examForm.questions.split(',').map(item2 => {
|
this.examForm.questions.split(',').map(item2 => {
|
||||||
@ -872,7 +873,22 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.examForm.questions = arr;
|
this.examForm.questions = arr;
|
||||||
|
// }else{
|
||||||
|
console.log("==========================")
|
||||||
|
console.log(this.examForm)
|
||||||
|
console.log("==========================")
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
console.log("123123131231231313123123")
|
||||||
|
console.log(this.examForm)
|
||||||
|
console.log("123123131231231313123123")
|
||||||
|
if(this.examForm.checkQuestionType === 2){
|
||||||
|
this.randomQuestionList = this.examForm.questions
|
||||||
|
}
|
||||||
|
console.log(this.randomQuestionList)
|
||||||
|
console.log("123123131231231313123123")
|
||||||
|
console.log(this.randomQuestionList.map(item => item.id).join(','))
|
||||||
|
|
||||||
let examInfo = {
|
let examInfo = {
|
||||||
checkQuestionType:this.examForm.checkQuestionType,
|
checkQuestionType:this.examForm.checkQuestionType,
|
||||||
name:this.examForm.name,
|
name:this.examForm.name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user