|
|
@@ -301,6 +301,8 @@
|
|
|
this.question2 = this.getQuestions[1].question || ''
|
|
|
this.sort1 = this.getQuestions[0].sort || ''
|
|
|
this.sort2 = this.getQuestions[1].sort || ''
|
|
|
+ this.id1 = this.getQuestions[0].id || ''
|
|
|
+ this.id2 = this.getQuestions[1].id || ''
|
|
|
}
|
|
|
if (response.data.content.email) {
|
|
|
this.hasValidEmailWay = true
|
|
|
@@ -429,7 +431,7 @@
|
|
|
this.isShowLoading = true
|
|
|
let param = new FormData()
|
|
|
let answer = []
|
|
|
- answer.push({'answer': this.validQuestion.answer1, 'sort': this.sort1}, {'answer': this.validQuestion.answer2, 'sort': this.sort2})
|
|
|
+ answer.push({'answer': this.validQuestion.answer1, 'sort': this.sort1, 'id': this.id1}, {'answer': this.validQuestion.answer2, 'sort': this.sort2, 'id': this.id2})
|
|
|
let answers = JSON.stringify(answer)
|
|
|
param.append('answers', answers)
|
|
|
let config = {
|