diff --git a/src/views/questionnaire/question.vue b/src/views/questionnaire/question.vue
index 6326e33..7711d56 100644
--- a/src/views/questionnaire/question.vue
+++ b/src/views/questionnaire/question.vue
@@ -283,6 +283,36 @@
+
+
+
+
+ {{ obj.optiontext }}
+
+ {{ obj.optiontext }}:
+
+
+
+
+
+
+
+
+
+
+
@@ -351,7 +381,6 @@ export default {
surveysheetid: this.$route.query.surveysheetid,
cnr: this.$route.query.cnr
}).then((res) => {
- console.log(res)
this.data = res.data.valst
this.data.forEach((item) => {
if (item.subjecttype === '单选题') {
@@ -390,7 +419,6 @@ export default {
// }
// }
this.data = arr
- console.log(arr)
})
},
commitEvent() {
@@ -409,8 +437,11 @@ export default {
}
let flag = true
this.data.forEach((item) => {
- if ((item.subjecttype === '单选题' && !item.radio && item.fsubjectid === '') ||
- (item.subjecttype === '多选题' && item.checkList.length < 1 && item.fsubjectid === '')) {
+ if (
+ (item.subjecttype === '单选题' && !item.radio && item.fsubjectid === '') ||
+ (item.subjecttype === '多选题' && item.checkList.length < 1 && item.fsubjectid === '')
+ (item.subjecttype === '简述题' && !item.paper && item.fsubjectid === '')
+ ) {
flag = false
return flag
}