From 5e1736ca36b20fcc3691d7ac8d3f5020e4bbe982 Mon Sep 17 00:00:00 2001 From: lvxudong Date: Tue, 21 Nov 2023 18:26:08 +0800 Subject: [PATCH] up --- src/api/question/title/types.ts | 15 +++ src/components/Options/positionConfig.vue | 132 ++++++++++++++++++++++ src/views/question/title/index.vue | 16 ++- 3 files changed, 161 insertions(+), 2 deletions(-) create mode 100644 src/components/Options/positionConfig.vue diff --git a/src/api/question/title/types.ts b/src/api/question/title/types.ts index de0e48e..3344293 100644 --- a/src/api/question/title/types.ts +++ b/src/api/question/title/types.ts @@ -16,6 +16,8 @@ export interface TitleVO { labelName : string; + // optionVoList : OptionVoList[]; + } export interface TitleForm extends BaseEntity { @@ -36,6 +38,8 @@ export interface TitleForm extends BaseEntity { labelName : string; + // optionVoList : OptionVoList[]; + } export interface TitleQuery extends PageQuery { @@ -56,5 +60,16 @@ export interface TitleQuery extends PageQuery { params?: any; } +export interface OptionVoList { + + id : number, + + serial : number; + + questionId : number; + + optionContent : string; + +} diff --git a/src/components/Options/positionConfig.vue b/src/components/Options/positionConfig.vue new file mode 100644 index 0000000..741b7f5 --- /dev/null +++ b/src/components/Options/positionConfig.vue @@ -0,0 +1,132 @@ + + + + + + + diff --git a/src/views/question/title/index.vue b/src/views/question/title/index.vue index 14638e3..4418f52 100644 --- a/src/views/question/title/index.vue +++ b/src/views/question/title/index.vue @@ -81,6 +81,18 @@ :value="dict.value"> + + + + + + + +