修改问卷
This commit is contained in:
parent
f263a37b16
commit
e0a24f983f
@ -1919,7 +1919,7 @@ export default {
|
||||
newquestionSubjectList.push(el)
|
||||
})
|
||||
} else {
|
||||
if (e.questionType != 'DATE_BLANKS_SUBJECT' && e.questionType != 'TIME_BLANKS_SUBJECT' && e.questionType != 'FILL_IN_THE_BLANKS') {
|
||||
if (e.questionType != 'DATE_BLANKS_SUBJECT' && e.questionType != 'TIME_BLANKS_SUBJECT' && e.questionType != 'FILL_IN_THE_BLANKS' && e.questionType != 'FEEDBACK_BLANKS_SUBJECT') {
|
||||
e.questionSubjectOptionList.forEach(el => {
|
||||
el.optionAnswer = el.optionName
|
||||
el.questionName = e.questionName
|
||||
@ -1949,6 +1949,7 @@ export default {
|
||||
})
|
||||
})
|
||||
newObj.questionCount = this.questionlist.length
|
||||
|
||||
if (this.$route.query.id) {
|
||||
updateQuestion(newObj).then(res => {
|
||||
loading.close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user