diff --git a/src/stores/modules/common.ts b/src/stores/modules/common.ts index 4d83961..f0d947b 100644 --- a/src/stores/modules/common.ts +++ b/src/stores/modules/common.ts @@ -5734,26 +5734,33 @@ export const useCommonStore = defineStore('common', { logics_has: false }, { - id: '123', - title: 'Q4', - stem: '请每行选择1个选项', - question_index: 4, + id: '17852527', + title: 'Q1', + stem: '
这是一个请每行选择1个选项
', + other: '', + question_index: 1, question_type: 9, config: { + disabled: [], + version: '', + scene: null, + shelf: null, + ware: null, + row_option_groups: null, + cell_option_groups: null, + is_repeat: 0, + allow_repeat_num: 2, + repeat_type: 0, + alert_text: '您在每一题的态度与观点均对我们有非常重要的意义,请您务必仔细阅读题目后回答,连续一致的答案可能会导致整个问卷的作废,谢谢您的配合。', is_required: 1, is_change_row_cell: 0, select_random: 0, row_random: 0, cell_random: 0, - disabled: [], is_three_dimensions: 0, material_sn: '', - version: '', scene_information: null, simple_scene_information: null, - scene: null, - shelf: null, - ware: null, is_behavior: 0, is_price_tag: 0, is_brand: 0, @@ -5770,282 +5777,601 @@ export const useCommonStore = defineStore('common', { quick_type: 0, is_limit_right_content: 0, option_group_random_inside: null, - option_group_random_outside: null, - row_option_groups: { - max: 2, - min: 0, - option_group: [], - is_hide: 0 - }, - cell_option_groups: null, - is_repeat: 0, - allow_repeat_num: 2, - repeat_type: 0, - alert_text: - '您在每一题的态度与观点均对我们有非常重要的意义,请您务必仔细阅读题目后回答,连续一致的答案可能会导致整个问卷的作废,谢谢您的配合。' + option_group_random_outside: null }, - tip: '', - question_code: '', - question_value: '', - other: '', + created_at: '2025-03-05T14:52:06', + created_user_id: 1281, + updated_user_id: null, + survey_id: 9486, logic_config: { expect: '', order: 0, type: 0, stay_time: '' }, - list: [ - { - type: 2, - cite_type: 0, - relation_type: 2, - relation_out_scope: [], - relation_last_scope: 0, - relation_first_scope: 0, - relation_question_index: 2, - options: [ - { - option: '选项1
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: 'Q2A1', - option_index: '1', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '' - }, - parent_option_index: 0, - children: null + options: [ + [ + { + option: '行标签1
', + id: '1049186', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 1, + list_id: 74484, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字1
', + child_area: null, + binding_goods_id: '' }, - { - option: '选项2
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: 'Q2A2', - option_index: '2', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '' - }, - parent_option_index: 0, - children: null + disable_option_update: null, + cascade: [] + }, + { + option: '行标签2
', + id: '1049187', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 2, + list_id: 74484, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字2
', + child_area: null, + binding_goods_id: '' }, - { - option: '选项3
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: 'Q2A3', - option_index: '3', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '' - }, - parent_option_index: 0, - children: null - } - ] - }, - { - type: 1, - cite_type: 0, - relation_type: 0, - relation_out_scope: [], - relation_last_scope: 0, - relation_first_scope: 0, - relation_question_index: 0, - options: [ - { - option: '行标签11
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '1', - option_index: '9', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字1' - }, - parent_option_index: 0, - children: null + disable_option_update: null, + cascade: [] + } + ], + [ + { + option: '列标签1
', + id: '1049188', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 3, + list_id: 74485, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' }, - { - option: '行标签21
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '2', - option_index: '10', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字2' - }, - parent_option_index: 0, - children: null + disable_option_update: null, + cascade: [] + }, + { + option: '列标签2
', + id: '1049189', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 4, + list_id: 74485, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' }, - { - option: '行标签31
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '3', - option_index: '11', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字3' - }, - parent_option_index: 0, - children: null - } - ] - }, - { - type: 2, - cite_type: 0, - relation_type: 0, - relation_out_scope: [], - relation_last_scope: 0, - relation_first_scope: 0, - relation_question_index: 0, - options: [ - { - option: '列标签1
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '1', - option_index: '12', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字1' - }, - parent_option_index: 0, - children: null + disable_option_update: null, + cascade: [] + }, + { + option: '列标签3
', + id: '1049190', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 5, + list_id: 74485, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' }, - { - option: '列标签2
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '2', - option_index: '13', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字2' - }, - parent_option_index: 0, - children: null - }, - { - option: '列标签3
', - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - level: 0, - option_key: '3', - option_index: '14', - option_code: '', - option_config: { - type: 0, - price: 0, - title: '', - gradient: '', - image_url: [], - child_area: null, - option_type: 0, - instructions: [], - binding_goods_id: '', - limit_right_content: '右极文字3' - }, - parent_option_index: 0, - children: null - } - ] - } + disable_option_update: null, + cascade: [] + } + ] ], - related: [] + associate: [], + logics_has: null, + last_option_index: 5, + question_code: '', + question_value: '', + question_tag: '', + planet_id: '', + permissions: null + }, { + id: '17852528', + title: 'Q2', + stem: '这是多选矩阵内容
', + other: '', + question_index: 2, + question_type: 10, + config: { + disabled: [], + version: '', + scene: null, + shelf: null, + ware: null, + row_option_groups: null, + cell_option_groups: null, + is_repeat: 0, + allow_repeat_num: 2, + repeat_type: 0, + alert_text: '您在每一题的态度与观点均对我们有非常重要的意义,请您务必仔细阅读题目后回答,连续一致的答案可能会导致整个问卷的作废,谢谢您的配合。', + is_required: 1, + is_change_row_cell: 0, + row_random: 0, + cell_random: 0, + select_random: 0, + min_select: '', + max_select: '', + is_three_dimensions: 0, + material_sn: '', + scene_information: null, + simple_scene_information: null, + is_behavior: 0, + is_price_tag: 0, + is_brand: 0, + is_initialize: 0, + is_default_perspective: 0, + is_disable_lines_same: 0, + disable_lines_same: 1, + float_window: 0, + is_disable: 0, + float_window_content: '', + popup_window: 0, + popup_window_content: '', + is_show: [], + quick_type: 0, + is_limit_right_content: 0, + each_number: 1, + option_group_random_inside: null, + option_group_random_outside: null + }, + created_at: '2025-03-05T14:53:03', + created_user_id: 1281, + updated_user_id: null, + survey_id: 9486, + logic_config: { + expect: '', + order: 0, + type: 0, + stay_time: '' + }, + options: [ + [ + { + option: '行标签1
', + id: '1049191', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 1, + list_id: 74486, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字1
', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '行标签2
', + id: '1049192', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 2, + list_id: 74486, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字2
', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + } + ], + [ + { + option: '列标签1
', + id: '1049193', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 3, + list_id: 74487, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '列标签2
', + id: '1049194', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 4, + list_id: 74487, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '列标签3
', + id: '1049214', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 5, + list_id: 74487, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + } + ] + ], + associate: [], + logics_has: null, + last_option_index: 5, + question_code: '', + question_value: '', + question_tag: '', + planet_id: '', + permissions: null + }, { + id: '17852530', + title: 'Q3', + stem: '这个是多选填空内容
', + other: '', + question_index: 3, + question_type: 8, + config: { + min: '', + max: '', + placeholder: '请输入', + disabled: [], + version: '', + scene: null, + shelf: null, + ware: null, + row_option_groups: null, + cell_option_groups: null, + is_repeat: 0, + allow_repeat_num: 2, + repeat_type: 0, + alert_text: '您在每一题的态度与观点均对我们有非常重要的意义,请您务必仔细阅读题目后回答,连续一致的答案可能会导致整个问卷的作废,谢谢您的配合。', + is_required: 1, + is_change_row_cell: 0, + row_random: 0, + cell_random: 0, + select_random: 0, + left_prompt: '', + right_prompt: '', + text_type: 0, + include_mark: 0, + decimal_few: 1, + is_three_dimensions: 0, + material_sn: '', + scene_information: null, + simple_scene_information: null, + is_behavior: 0, + is_price_tag: 0, + is_brand: 0, + is_initialize: 0, + is_default_perspective: 0, + float_window: 0, + is_disable: 0, + float_window_content: '', + popup_window: 0, + popup_window_content: '', + is_show: [], + quick_type: 0, + is_limit_right_content: 0, + line_type: 0, + line_height: 1 + }, + created_at: '2025-03-05T14:53:33', + created_user_id: 1281, + updated_user_id: null, + survey_id: 9486, + logic_config: { + expect: '', + order: 0, + type: 0, + stay_time: '' + }, + options: [ + [ + { + option: '行标签1
', + id: '1049199', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 1, + list_id: 74490, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字1
', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '行标签2
', + id: '1049200', + type: 1, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 2, + list_id: 74490, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '右极文字2
', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + } + ], + [ + { + option: '列标签1
', + id: '1049201', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 3, + list_id: 74491, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '列标签2
', + id: '1049202', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 4, + list_id: 74491, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + }, + { + option: '列标签3
', + id: '1049213', + type: 2, + is_other: 0, + is_fixed: 0, + is_remove_other: 0, + created_at: null, + created_user_id: null, + parent_id: null, + option_index: 5, + list_id: 74491, + option_code: '', + option_config: { + title: '', + instructions: [], + price: 0, + gradient: '', + image_url: [], + option_type: 0, + type: 0, + limit_right_content: '', + child_area: null, + binding_goods_id: '' + }, + disable_option_update: null, + cascade: [] + } + ] + ], + associate: [], + logics_has: null, + last_option_index: 5, + question_code: '', + question_value: '', + question_tag: '', + planet_id: '', + permissions: null } ], cycle_pages: null diff --git a/src/views/Design/Index.vue b/src/views/Design/Index.vue index 67a1be2..5f87778 100644 --- a/src/views/Design/Index.vue +++ b/src/views/Design/Index.vue @@ -1,57 +1,40 @@| - | - | |
|---|---|---|
| - - | - + + | + + + |