diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue
index 24b672c8..76664a4d 100644
--- a/src/views/dictionary/template/components/CriterionQuestionForm.vue
+++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue
@@ -808,7 +808,7 @@ export default {
HighlightAnswerList: [],
ExportIdentification: 0,
ExportResult: [],
- MaxAnswerLength: 500,
+ MaxAnswerLength: null,
FileType: [],
ClassifyQuestionId: null,
ClassifyAlgorithms: null,
@@ -1095,11 +1095,20 @@ export default {
} else {
data.LesionType = null
}
+ if (val === 'number' || val === 'calculation') {
+ data.Unit = 0
+ } else {
+ data.Unit = null
+ }
+ if (val === 'input' || val === 'textarea') {
+ data.MaxAnswerLength = 500
+ } else {
+ data.MaxAnswerLength = null
+ }
data.QuestionGenre = null
data.DictionaryCode = ''
data.TypeValue = ''
data.ValueType = ''
- data.Unit = ''
},
isShowQuestionChange(val, form) {
if (this.form.Type === 'table' || this.form.Type === 'basicTable') return
diff --git a/src/views/dictionary/template/components/TableQsForm.vue b/src/views/dictionary/template/components/TableQsForm.vue
index aed8bde7..99d064a6 100644
--- a/src/views/dictionary/template/components/TableQsForm.vue
+++ b/src/views/dictionary/template/components/TableQsForm.vue
@@ -142,6 +142,38 @@
:value="item.value"
/>
+
+
+
+ {
+ form.ExportResult = []
+ }
+ "
+ >
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
{
diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
index 0770b466..d8782ba5 100644
--- a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
+++ b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
@@ -150,6 +150,38 @@
:value="item"
/>
+
+
+
+ {
+ form.ExportResult = []
+ }
+ "
+ >
+ {{ item.label }}
+
+
+
+
+
+
+
+
+