Merge branch 'bjxz-cjw' into bjxz-dev

This commit is contained in:
Vce 2024-05-25 00:05:06 +08:00
commit a3c6296f80

View File

@ -862,6 +862,7 @@ export default {
if(this.$refs.questionListTable){
this.examForm.questions = this.$refs.questionListTable.selection;
} else {
// if(this.examForm.checkQuestionType === 1){
let arr = [];
this.questionList.map(item => {
this.examForm.questions.split(',').map(item2 => {
@ -872,7 +873,22 @@ export default {
})
})
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 = {
checkQuestionType:this.examForm.checkQuestionType,
name:this.examForm.name,