diff --git a/src/views/dictionary/template/components/CriterionsConfig.vue b/src/views/dictionary/template/components/CriterionsConfig.vue index 484a8e3d..fba49f04 100644 --- a/src/views/dictionary/template/components/CriterionsConfig.vue +++ b/src/views/dictionary/template/components/CriterionsConfig.vue @@ -107,7 +107,7 @@ - + + + + + --> + + + + i.Type === 'basicTable') - this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio') + this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio' || i.Type === 'class') this.numberQuestions = res.Result.filter(i=>i.Type === 'number') } } catch(e) { 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 7f55b133..04dd00e2 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 @@ -980,7 +980,7 @@ export default { } } this.initForm() - this.getCalculateTableQuestions(['number', 'select', 'radio', 'basicTable']) + this.getCalculateTableQuestions(['number', 'select', 'radio', 'class', 'basicTable']) // this.getCalculateTableQuestions('number') // this.getCalculateTableQuestions('table') }, @@ -994,7 +994,7 @@ export default { let res = await getCalculateTableQuestions(params) if (res.Result) { this.tableQuestions = res.Result.filter(i=>i.Type === 'basicTable') - this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio') + this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio' || i.Type === 'class') this.numberQuestions = res.Result.filter(i=>i.Type === 'number') } } catch(e) {