{{ config.prompt_left }}
+{{ config.prompt_center }}
+{{ config.prompt_right }}
+选项1
" + is_other?: number; + is_fixed?: number; + is_remove_other?: number; + level?: number; + option_key?: string; + option_index?: string; + option_code?: string; + option_config?: OptionConfigType; + parent_option_index?: number; + children?: null; +} + +type questionsList = { + type: number; + cite_type: number; + relation_type: number; + relation_out_scope: number[]; + relation_last_scope: number; + relation_first_scope: number; + relation_question_index: number; + options?: OptionType[]; +}; + +type question = { + id?: string; + title?: string; + stem?: string; + other?: string; + list: questionsList[][]; + question_index?: number; + question_type?: number; + config?: Config; + created_at?: string; + created_user_id?: number; + updated_user_id?: number | null; + survey_id?: number; + logic_config?: LogicConfig; + options: questionsList[]; + associate?: any[]; + logics_has?: string | null; + last_option_index?: number; + question_code?: string; + question_value?: string; + question_tag?: string; + planet_id?: string; + permissions?: any | null; +}; diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index d2906f9..37dbd11 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -3,9 +3,9 @@ import LastSurvey from './components/LastSurvey/Index.vue'; import Market from './components/Market/Index.vue'; import CreateSurvey from './components/CreateSurvey/Index.vue'; import { onMounted, ref } from 'vue'; -import utils from '@/assets/js/common'; -import { getUserInfo } from '@/api/common/index.js'; -import { showFailToast } from 'vant'; +// import utils from '@/assets/js/common'; +// import { getUserInfo } from '@/api/common/index.js'; +// import { showFailToast } from 'vant'; const contentShow = ref(false); onMounted(async() => { contentShow.value = true; diff --git a/src/views/Survey/views/Preview/Index.vue b/src/views/Survey/views/Preview/Index.vue index 83cb9b3..0fbf3b7 100644 --- a/src/views/Survey/views/Preview/Index.vue +++ b/src/views/Survey/views/Preview/Index.vue @@ -1,8 +1,9 @@| + | + + + + | +
|---|---|
| + | + + | +
| + + | + + + + | +
|---|---|
| + | + + | +
| + | + + + + | +
|---|---|
| + | + + | +
{{ config.prompt_left }}
+{{ config.prompt_center }}
+{{ config.prompt_right }}
+{{ element.config.prompt_left }}
+{{ element.config.prompt_center }}
+{{ element.config.prompt_right }}
+