|
@@ -78,7 +78,7 @@
|
|
|
v-for="(item, index) in popList[questionsIndex].options"
|
|
v-for="(item, index) in popList[questionsIndex].options"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
class="radioAlign"
|
|
class="radioAlign"
|
|
|
- :name="item.value"
|
|
|
|
|
|
|
+ :name="item.label"
|
|
|
>{{ `${item.label}.${item.value}` }}
|
|
>{{ `${item.label}.${item.value}` }}
|
|
|
</van-checkbox>
|
|
</van-checkbox>
|
|
|
</van-checkbox-group>
|
|
</van-checkbox-group>
|
|
@@ -379,9 +379,9 @@ export default {
|
|
|
if (item.questionType === '多选题') {
|
|
if (item.questionType === '多选题') {
|
|
|
o.push({
|
|
o.push({
|
|
|
label: key,
|
|
label: key,
|
|
|
- value: temp[key],
|
|
|
|
|
- checked: false,
|
|
|
|
|
- disabled: false
|
|
|
|
|
|
|
+ value: temp[key]
|
|
|
|
|
+ // checked: false,
|
|
|
|
|
+ // disabled: false
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
o.push({
|
|
o.push({
|
|
@@ -605,7 +605,9 @@ export default {
|
|
|
const submitData = []
|
|
const submitData = []
|
|
|
const time = that.$common.getDateNow(19)
|
|
const time = that.$common.getDateNow(19)
|
|
|
that.popList.forEach((item, index) => {
|
|
that.popList.forEach((item, index) => {
|
|
|
|
|
+ // console.log('答案item', item)
|
|
|
item.answer = that.popListAnswer[index]
|
|
item.answer = that.popListAnswer[index]
|
|
|
|
|
+ // console.log('that.popListAnswer', that.popListAnswer)
|
|
|
const autoType = ['单选题', '多选题', '判断题'].includes(item.questionType)
|
|
const autoType = ['单选题', '多选题', '判断题'].includes(item.questionType)
|
|
|
const multipleType = ['多选题', '填空题'].includes(item.questionType)
|
|
const multipleType = ['多选题', '填空题'].includes(item.questionType)
|
|
|
const selectType = ['多选题', '单选题'].includes(item.questionType)
|
|
const selectType = ['多选题', '单选题'].includes(item.questionType)
|