diff --git a/src/stores/modules/common.ts b/src/stores/modules/common.ts index 8bce4b6..5c74ada 100644 --- a/src/stores/modules/common.ts +++ b/src/stores/modules/common.ts @@ -31,7 +31,7 @@ export const useCommonStore = defineStore('common', { ], group_pages: [], is_one_page_one_question: 0, - last_question_index: 28, + last_question_index: 0, is_three_d_permissions: 0, is_dept: 1, last_title: 'Q5', @@ -257,6205 +257,8 @@ export const useCommonStore = defineStore('common', { question_id: '17852294' } ], - questions: [ - { - id: '17852442', - title: 'Q7', - stem: '请选择一个选项', - other: '', - question_index: 30, - question_type: 2, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: { - min: 0, - max: 2, - is_hide: 0, - option_group: [ - { - group_index: 1, - title: '分组1', - min: null, - max: null, - groups: [ - { - option: '
选项1
', - id: '1049037', - type: 0, - 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: 74427, - 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: [] - } - ] - } - ] - }, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-03-04T13:53:22', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选项1
', - id: '1049037', - type: 0, - 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: 74427, - 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: '1049038', - type: 0, - 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: 74427, - 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: '1049039', - type: 0, - 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: 74427, - 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: false, - last_option_index: 3, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852294', - title: 'Q2', - stem: '请问您的性别是?
', - other: '', - question_index: 24, - question_type: 1, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: null, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-02-27T16:02:34', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '男
', - id: '1048555', - type: 0, - 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: 74316, - 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: 1, - cascade: [] - }, - { - option: '女
', - id: '1048556', - type: 0, - 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: 74316, - 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: 1, - cascade: [] - } - ] - ], - associate: [], - logics_has: true, - last_option_index: 2, - question_code: '4_gender', - question_value: '性别', - question_tag: '', - planet_id: '', - permissions: { - id: 24823, - question_id: 17852294, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 0, - disable_delete: 0, - delete_group_keep_one: 0, - disable_copy_delete: 0, - disable_copy_update: 1 - } - }, - { - id: '17852405', - title: 'Q6', - stem: '请选择一个选项123123
', - other: '', - question_index: 29, - question_type: 1, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: null, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-03-03T13:55:41', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选项1
', - id: '1048968', - type: 0, - is_other: 0, - is_fixed: 1, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 1, - list_id: 74403, - 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: '1048969', - type: 0, - is_other: 1, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 2, - list_id: 74403, - 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: false, - last_option_index: 2, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852489', - title: 'Q3', - stem: '请打分
', - other: '', - question_index: 3, - question_type: 5, - config: { - min: 1.0, - max: 5.0, - is_required: 1, - score_type: 0, - score_way: 0, - score_interval: 1.0, - prompt_score: 2, - prompt_array: null, - prompt_left: 'left', - prompt_right: 'right', - prompt_center: 'center', - select_random: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2025-03-05T09:47:02', - created_user_id: 1281, - updated_user_id: null, - survey_id: 9482, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选项1
', - id: '1049106', - type: 0, - 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: 74455, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0.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: '1049107', - type: 0, - 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: 74455, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0.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: 4, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852298', - title: 'Q4', - stem: '请问,您的实足年龄在以下哪个区间呢?指的是您上一次过生日时的年龄
', - other: '', - question_index: 27, - question_type: 6, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: null, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-02-27T16:03:05', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '18岁以下
', - id: '1048559', - type: 0, - 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: 74319, - 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: 1, - cascade: [] - }, - { - option: '18-25岁
', - id: '1048560', - type: 0, - 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: 74319, - 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: 1, - cascade: [] - }, - { - option: '26-34岁
', - id: '1048561', - type: 0, - 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: 74319, - 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: 1, - cascade: [] - }, - { - option: '35-44岁
', - id: '1048562', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 6, - list_id: 74319, - 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: 1, - cascade: [] - }, - { - option: '45-55岁
', - id: '1048563', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 7, - list_id: 74319, - 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: 1, - cascade: [] - }, - { - option: '55岁以上
', - id: '1048564', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 8, - list_id: 74319, - 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: 1, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 8, - question_code: '4_age', - question_value: '年龄段', - question_tag: '', - planet_id: '', - permissions: { - id: 24825, - question_id: 17852298, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 0, - disable_delete: 0, - delete_group_keep_one: 0, - disable_copy_delete: 0, - disable_copy_update: 1 - } - }, - { - id: '17852296', - title: 'Q3', - stem: '请选择省市', - other: '', - question_index: 26, - question_type: 3, - config: { - head: ['请选择一级选项', '请选择二级选项', '请选择三级选项', '请选择四级选项'], - is_required: 1, - select_random: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: ['is_required'], - quick_type: 4 - }, - created_at: '2025-02-27T16:02:49', - created_user_id: 9, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [[]], - associate: [], - logics_has: false, - last_option_index: null, - question_code: '4_city', - question_value: '省市', - question_tag: '', - planet_id: '', - permissions: { - id: 24824, - question_id: 17852296, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 0, - disable_delete: 0, - delete_group_keep_one: 0, - disable_copy_delete: 0, - disable_copy_update: 1 - } - }, - { - page: 1, - total: 5, - first_title: 'Q7', - last_title: 'Q3', - pages: [], - is_short_time: 0, - short_time: '', - is_show: 0, - use_type: 0, - pageId: 'f12945ac-5920-42d2-8789-a78379515e80', - logics_has: false - }, - { - id: '17835005', - title: 'A1', - stem: '假设介绍中描述的产品在您平时购物的商店或网站销售的话,以下哪句话最能描述您为自己或家人购买这款产品A的可能性呢?
\n
请问您对这款产品A介绍描述的产品的总体喜欢程度是怎样的呢?
\n
接下来您会在屏幕中看到这款产品A的介绍,请在图片上通过鼠标点击您不喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您不喜欢的区域。
\n请问,这款产品有哪些地方是您不喜欢的?
', - other: '概念诊断问卷配置概念诊断1', - question_index: 3, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421981418_809_mao-23.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:50', - created_user_id: 1280, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选区1', - id: '957694', - type: 0, - 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: 59469, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(112, 185, 54, 0.2000)', - top_left: [28.4, 0], - top_right: [56.8, 0], - bottom_left: [28.4, 21.205055835071786], - child_index: 1, - bottom_right: [56.8, 21.205055835071786], - option_index: 1 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区2', - id: '957695', - type: 0, - 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: 59469, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(54, 167, 185, 0.2000)', - top_left: [0, 63.71579334887715], - top_right: [38.4, 63.71579334887715], - bottom_left: [0, 100], - child_index: 2, - bottom_right: [38.4, 100], - option_index: 2 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区3', - id: '957696', - type: 0, - 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: 59469, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(239, 0, 0, 0.2000)', - top_left: [55.00000000000001, 30.568167873358693], - top_right: [72.00000000000003, 30.568167873358693], - bottom_left: [55.00000000000001, 39.20726469505461], - child_index: 3, - bottom_right: [72.00000000000003, 39.20726469505461], - option_index: 3 - }, - { - color: 'rgba(239, 0, 0, 0.2000)', - top_left: [32.6, 30.521536384832498], - top_right: [54.8, 30.521536384832498], - bottom_left: [32.6, 52.98318812124187], - child_index: 4, - bottom_right: [54.8, 52.98318812124187], - option_index: 3 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 3, - question_code: '300_hate_which', - question_value: '不喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断1', - planet_id: '', - permissions: { - id: 9034, - question_id: 17835007, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 1, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835008', - title: 'A4', - stem: '请问您为什么不喜欢这些地方?

现在,请在图片上通过鼠标点击您喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您喜欢的区域。
请问,这款产品有哪些地方是您喜欢的?
', - other: '概念诊断问卷配置概念诊断1', - question_index: 5, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421981418_809_mao-23.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:50', - created_user_id: 1180, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [[]], - associate: [ - { - type: 0, - value: '', - question_index: 3, - relation_type: 3, - cite_type: 0, - first_scope: 0, - last_scope: 0, - out_scope: [], - picture_type: 0 - } - ], - logics_has: false, - last_option_index: null, - question_code: '300_like_which', - question_value: '喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断1', - planet_id: '', - permissions: { - id: 9035, - question_id: 17835009, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835010', - title: 'A6', - stem: '请问您为什么喜欢这些地方?

下面是一些描述产品特征/品牌形象的语句。针对每一个语句,请选择您对这个语句的同意程度如何。

同意程度
', - id: '957711', - type: 2, - 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: 59473, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: null, - option_type: 0, - type: 0, - limit_right_content: '', - child_area: null, - binding_goods_id: '' - }, - disable_option_update: 1, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 9, - question_code: '300_conceptual_image', - question_value: '概念形象', - question_tag: '概念诊断问卷配置概念诊断1', - planet_id: '', - permissions: { - id: 9038, - question_id: 17835011, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - page: 2, - total: 5, - first_title: 'A1', - last_title: 'A7', - pages: [], - is_short_time: 0, - short_time: '', - is_show: 0, - use_type: 0, - pageId: '5cc8bb8d-bfb8-44c7-b546-3e2acc495b51', - logics_has: false - }, - { - id: '17835012', - title: 'B1', - stem: '假设介绍中描述的产品B在您平时购物的商店或网站销售的话,以下哪句话最能描述您为自己或家人购买这款产品的可能性呢?
\n
请问您对这款产品B介绍描述的产品的总体喜欢程度是怎样的呢?
\n
接下来您会在屏幕中看到这款产品B的介绍,请在图片上通过鼠标点击您不喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您不喜欢的区域。
\n请问,这款产品有哪些地方是您不喜欢的?
', - other: '概念诊断问卷配置概念诊断2', - question_index: 10, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421988964_889_mao-012-small.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:50', - created_user_id: 9, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选区1', - id: '957717', - type: 0, - 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: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(112, 185, 54, 0.2000)', - top_left: [48, 23.96930802262008], - top_right: [76.4, 23.96930802262008], - bottom_left: [48, 61.212661613909944], - child_index: 1, - bottom_right: [76.4, 61.212661613909944], - option_index: 1 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区2', - id: '957718', - type: 0, - 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: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(54, 167, 185, 0.2000)', - top_left: [58.8, 86.74237980148767], - top_right: [83, 86.74237980148767], - bottom_left: [58.8, 97.25461670225496], - child_index: 2, - bottom_right: [83, 97.25461670225496], - option_index: 2 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区3', - id: '957719', - type: 0, - 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: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(239, 0, 0, 0.2000)', - top_left: [3.4000000000000004, 18.112490320764017], - top_right: [31.40000000000001, 18.112490320764017], - bottom_left: [3.4000000000000004, 25.921580589905435], - child_index: 3, - bottom_right: [31.40000000000001, 25.921580589905435], - option_index: 3 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区4', - id: '957720', - type: 0, - 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: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(255,206,0,0.2)', - top_left: [39, 70.52350001173241], - top_right: [44.2, 70.52350001173241], - bottom_left: [39, 74.72839477203932], - child_index: 4, - bottom_right: [44.2, 74.72839477203932], - option_index: 4 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区5', - id: '957721', - type: 0, - 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: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(149, 54, 185, 0.2000)', - top_left: [20.6, 63.4652838069315], - top_right: [32.599999999999994, 63.4652838069315], - bottom_left: [20.6, 71.42454888894103], - child_index: 5, - bottom_right: [32.599999999999994, 71.42454888894103], - option_index: 5 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区6', - id: '957722', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 6, - list_id: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(112, 185, 54, 0.2000)', - top_left: [28.799999999999997, 54.905319473449566], - top_right: [42.2, 54.905319473449566], - bottom_left: [28.799999999999997, 63.31510899406341], - child_index: 6, - bottom_right: [42.2, 63.31510899406341], - option_index: 6 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区7', - id: '957723', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 7, - list_id: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(54, 167, 185, 0.2000)', - top_left: [29.4, 8.200952671469132], - top_right: [40.2, 8.200952671469132], - bottom_left: [29.4, 15.559518502006242], - child_index: 7, - bottom_right: [40.2, 15.559518502006242], - option_index: 7 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区8', - id: '957724', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 8, - list_id: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(239, 0, 0, 0.2000)', - top_left: [61, 8.050777858601029], - top_right: [70.8, 8.050777858601029], - bottom_left: [61, 14.80864443766572], - child_index: 8, - bottom_right: [70.8, 14.80864443766572], - option_index: 8 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区9', - id: '957725', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 9, - list_id: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(255,206,0,0.2)', - top_left: [46.400000000000006, 62.86458455545909], - top_right: [52.8, 62.86458455545909], - bottom_left: [46.400000000000006, 75.17891921064364], - child_index: 9, - bottom_right: [52.8, 75.17891921064364], - option_index: 9 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区10', - id: '957726', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 10, - list_id: 59475, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(149, 54, 185, 0.2000)', - top_left: [36.2, 22.767909519675246], - top_right: [46, 22.767909519675246], - bottom_left: [36.2, 38.986789309430506], - child_index: 10, - bottom_right: [46, 38.986789309430506], - option_index: 10 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 10, - question_code: '300_hate_which', - question_value: '不喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断2', - planet_id: '', - permissions: { - id: 9040, - question_id: 17835014, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 1, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835015', - title: 'B4', - stem: '请问您为什么不喜欢这些地方?

现在,请在图片上通过鼠标点击您喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您喜欢的区域。
请问,这款产品有哪些地方是您喜欢的?
', - other: '概念诊断问卷配置概念诊断2', - question_index: 12, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421988964_889_mao-012-small.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:51', - created_user_id: 1180, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [[]], - associate: [ - { - type: 0, - value: '', - question_index: 10, - relation_type: 3, - cite_type: 0, - first_scope: 0, - last_scope: 0, - out_scope: [], - picture_type: 0 - } - ], - logics_has: false, - last_option_index: null, - question_code: '300_like_which', - question_value: '喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断2', - planet_id: '', - permissions: { - id: 9042, - question_id: 17835016, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835018', - title: 'B6', - stem: '请问您为什么喜欢这些地方?

下面是一些描述产品特征/品牌形象的语句。针对每一个语句,请选择您对这个语句的同意程度如何。

同意程度
', - id: '957738', - type: 2, - 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: 59479, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: null, - option_type: 0, - type: 0, - limit_right_content: '', - child_area: null, - binding_goods_id: '' - }, - disable_option_update: 1, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 9, - question_code: '300_conceptual_image', - question_value: '概念形象', - question_tag: '概念诊断问卷配置概念诊断2', - planet_id: '', - permissions: { - id: 9044, - question_id: 17835017, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - page: 3, - total: 5, - first_title: 'B1', - last_title: 'B7', - pages: [], - is_short_time: 0, - short_time: '', - is_show: 0, - use_type: 0, - pageId: 'c6ad9336-6122-4698-98cd-2d9535e564d7', - logics_has: false - }, - { - id: '17835020', - title: 'C1', - stem: '假设介绍中描述的产品C在您平时购物的商店或网站销售的话,以下哪句话最能描述您为自己或家人购买这款产品的可能性呢?
\n
请问您对这款产品C介绍描述的产品的总体喜欢程度是怎样的呢?
\n
接下来您会在屏幕中看到这款产品C的介绍,请在图片上通过鼠标点击您不喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您不喜欢的区域。
\n请问,这款产品有哪些地方是您不喜欢的?
', - other: '概念诊断问卷配置概念诊断3', - question_index: 17, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421999566_261_mao-007.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:51', - created_user_id: 9, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选区1', - id: '957747', - type: 0, - 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: 59481, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(112, 185, 54, 0.2000)', - top_left: [41.4, 67.55478918678385], - top_right: [61.2, 67.55478918678385], - bottom_left: [41.4, 92.83012570920012], - child_index: 1, - bottom_right: [61.2, 92.83012570920012], - option_index: 1 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区2', - id: '957748', - type: 0, - 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: 59481, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(54, 167, 185, 0.2000)', - top_left: [44.6, 4.54444320836578], - top_right: [59, 4.54444320836578], - bottom_left: [44.6, 54.027144287462455], - child_index: 2, - bottom_right: [59, 54.027144287462455], - option_index: 2 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区3', - id: '957749', - type: 0, - 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: 59481, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(239, 0, 0, 0.2000)', - top_left: [11.2, 53.315162976971855], - top_right: [36.8, 53.315162976971855], - bottom_left: [11.2, 93.18611636444544], - child_index: 3, - bottom_right: [36.8, 93.18611636444544], - option_index: 3 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - }, - { - option: '选区4', - id: '957750', - type: 0, - 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: 59481, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: [], - option_type: 0, - type: 0, - limit_right_content: '', - child_area: [ - { - color: 'rgba(255,206,0,0.2)', - top_left: [67.80000000000001, 56.51907887417955], - top_right: [90.20000000000002, 56.51907887417955], - bottom_left: [67.80000000000001, 88.55823784625653], - child_index: 4, - bottom_right: [90.20000000000002, 88.55823784625653], - option_index: 4 - } - ], - binding_goods_id: '' - }, - disable_option_update: 0, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 4, - question_code: '300_hate_which', - question_value: '不喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断3', - planet_id: '', - permissions: { - id: 9048, - question_id: 17835022, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 1, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835021', - title: 'C4', - stem: '请问您为什么不喜欢这些地方?

现在,请在图片上通过鼠标点击您喜欢的区域,点击之后相应区域会被标注出颜色。请标注出所有您喜欢的区域。
请问,这款产品有哪些地方是您喜欢的?
', - other: '概念诊断问卷配置概念诊断3', - question_index: 19, - question_type: 25, - config: { - version: '', - scene: null, - shelf: null, - ware: null, - hot_type: 0, - is_required: 1, - show_type: 0, - max_area: '1', - min_area: '1', - max_like: '1', - min_like: '1', - max_dislike: '1', - min_dislike: '1', - img_url: - 'https://test-cxp-public-web-1302259445.cos.ap-beijing.myqcloud.com/uat-yls/packing/imgs/1725421999566_261_mao-007.jpg', - img_name: '', - img_weight: '1280', - img_height: '800', - select_random: 0, - 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, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2024-09-04T14:44:51', - created_user_id: 1180, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [[]], - associate: [ - { - type: 0, - value: '', - question_index: 17, - relation_type: 3, - cite_type: 0, - first_scope: 0, - last_scope: 0, - out_scope: [], - picture_type: 0 - } - ], - logics_has: false, - last_option_index: null, - question_code: '300_like_which', - question_value: '喜欢的方面', - question_tag: '概念诊断问卷配置概念诊断3', - planet_id: '', - permissions: { - id: 9049, - question_id: 17835023, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 0, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - id: '17835024', - title: 'C6', - stem: '请问您为什么喜欢这些地方?

下面是一些描述产品特征/品牌形象的语句。针对每一个语句,请选择您对这个语句的同意程度如何。

同意程度
', - id: '957760', - type: 2, - 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: 59484, - option_code: '', - option_config: { - title: '', - instructions: [], - price: 0, - gradient: '', - image_url: null, - option_type: 0, - type: 0, - limit_right_content: '', - child_area: null, - binding_goods_id: '' - }, - disable_option_update: 1, - cascade: [] - } - ] - ], - associate: [], - logics_has: false, - last_option_index: 9, - question_code: '300_conceptual_image', - question_value: '概念形象', - question_tag: '概念诊断问卷配置概念诊断3', - planet_id: '', - permissions: { - id: 9051, - question_id: 17835025, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 0, - disable_copy_delete: 1, - disable_copy_update: 1 - } - }, - { - page: 4, - total: 5, - first_title: 'C1', - last_title: 'C7', - pages: [], - is_short_time: 0, - short_time: '', - is_show: 0, - use_type: 0, - pageId: 'd610ff3a-2f27-4ba1-a476-5eb6180609be', - logics_has: false - }, - { - id: '17852299', - title: 'Q5', - stem: '您在购买常温酸奶的时候会考虑哪些因素,请对以下因素进行分类
', - other: '', - question_index: 28, - question_type: 15, - config: { - is_required: 1, - select_random: 0, - min_select: '', - max_select: '', - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2025-02-27T16:04:48', - created_user_id: 9, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '价格
', - id: '1048565', - type: 0, - 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: 74320, - 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: '容量
', - id: '1048566', - type: 0, - 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: 74320, - 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: '品牌
', - id: '1048569', - type: 0, - 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: 74320, - 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: '口味
', - id: '1048570', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 6, - list_id: 74320, - 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: '包装
', - id: '1048571', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 7, - list_id: 74320, - 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: '代言人
', - id: '1048572', - type: 0, - is_other: 0, - is_fixed: 0, - is_remove_other: 0, - created_at: null, - created_user_id: null, - parent_id: null, - option_index: 8, - list_id: 74320, - 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: '影响购买决策
', - id: '1048567', - type: 3, - 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: 74321, - 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: '不影响购买决策
', - id: '1048568', - type: 3, - 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: 74321, - 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: false, - last_option_index: 8, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852292', - title: 'Q1', - stem: '请将以上几款产品按照喜好度进行排序
', - other: '', - question_index: 22, - question_type: 16, - config: { - is_required: 1, - select_random: 0, - initial_label: '选项', - top_label: '最喜欢', - bottom_label: '最不喜欢', - show_index: 0, - sort_scope: '4', - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - min_select: '0', - max_select: '0' - }, - created_at: '2025-02-27T16:01:27', - created_user_id: 9, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '产品A
', - id: '1048548', - type: 0, - 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: 74313, - 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: '产品B
', - id: '1048549', - type: 0, - 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: 74313, - 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: '产品C
', - id: '1048550', - type: 0, - 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: 74313, - 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: false, - last_option_index: 3, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852446', - title: 'Q8', - stem: '请选择一个选项', - other: '', - question_index: 31, - question_type: 1, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: null, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-03-04T14:47:01', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选项1
', - id: '1049040', - type: 0, - 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: 74428, - 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: '1049041', - type: 0, - 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: 74428, - 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: false, - last_option_index: 2, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - id: '17852449', - title: 'Q9', - stem: '请选择一个选项', - other: '', - question_index: 32, - question_type: 1, - config: { - placeholder: '', - version: '', - scene: null, - shelf: null, - ware: null, - option_groups: null, - is_required: 1, - select_random: 0, - each_number: 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, - is_binding_goods: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0, - option_group_random_inside: null, - option_group_random_outside: null - }, - created_at: '2025-03-04T14:52:03', - created_user_id: 1281, - updated_user_id: null, - survey_id: 8721, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [ - [ - { - option: '选项1
', - id: '1049046', - type: 0, - 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: 74431, - 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: '1049047', - type: 0, - 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: 74431, - 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: false, - last_option_index: 2, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, - { - page: 5, - total: 5, - first_title: 'Q5', - last_title: 'Q9', - pages: [], - is_short_time: 0, - short_time: '', - is_show: 0, - use_type: 0, - pageId: 'a00b392c-d3cc-47e2-a0c4-3f1cb066d0dc', - logics_has: false - }, - { - 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, - 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, - option_group_random_inside: null, - option_group_random_outside: null - }, - 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: '' - }, - 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: '' - }, - 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: '' - }, - 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: '' - }, - 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: '' - }, - 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: '' - }, - disable_option_update: null, - cascade: [] - } - ] - ], - 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 - }, - { - id: '17852690', - title: 'Q7', - stem: '请留下您的姓名', - other: '', - question_index: 10, - question_type: 22, - config: { - is_required: 1, - select_random: 0, - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2025-03-06T15:51:13', - created_user_id: 1281, - updated_user_id: null, - survey_id: 9482, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [], - associate: [], - logics_has: null, - last_option_index: 0, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - }, { - id: '17852691', - title: 'Q8', - stem: '请上传文件', - other: '', - question_index: 11, - question_type: 18, - config: { - is_required: 1, - min_number: 1, - max_number: 1, - min_size: 0, - max_size: 1, - file_type: '0', - float_window: 0, - float_window_content: '', - popup_window: 0, - popup_window_content: '', - is_show: [], - quick_type: 0 - }, - created_at: '2025-03-06T15:51:27', - created_user_id: 1281, - updated_user_id: null, - survey_id: 9482, - logic_config: { - expect: '', - order: 0, - type: 0, - stay_time: '' - }, - options: [], - associate: [], - logics_has: null, - last_option_index: 0, - question_code: '', - question_value: '', - question_tag: '', - planet_id: '', - permissions: null - } - ], + + questions: [], cycle_pages: null } }), diff --git a/src/utils/QuestionJsons/checkbox.js b/src/utils/QuestionJsons/Checkbox.js similarity index 93% rename from src/utils/QuestionJsons/checkbox.js rename to src/utils/QuestionJsons/Checkbox.js index a66d6f2..b4dfa09 100644 --- a/src/utils/QuestionJsons/checkbox.js +++ b/src/utils/QuestionJsons/Checkbox.js @@ -162,16 +162,5 @@ export default { question_value: '', question_tag: '', planet_id: '', - permissions: { - id: 9032, - question_id: 17835006, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 1, - disable_copy_delete: 1, - disable_copy_update: 1 - } + permissions: {} }; diff --git a/src/utils/QuestionJsons/Completion.js b/src/utils/QuestionJsons/Completion.js new file mode 100644 index 0000000..1133b16 --- /dev/null +++ b/src/utils/QuestionJsons/Completion.js @@ -0,0 +1,60 @@ +export default { + id: '', + title: '', + stem: '请输入题目(填空)
', + other: '', + question_index: '', + question_type: 4, + config: { + min: '', + max: '', + version: '', + scene: null, + shelf: null, + ware: null, + placeholder: '', + is_required: 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, + left_prompt: '', + right_prompt: '', + text_type: 0, + include_mark: 0, + line_type: 1, + line_height: 3, + decimal_few: 1, + type_name: '', + float_window: 0, + float_window_content: '', + popup_window: 0, + popup_window_content: '', + is_show: [], + quick_type: 0 + }, + created_at: '', + created_user_id: 1180, + updated_user_id: null, + survey_id: 8721, + logic_config: { + expect: '', + order: 0, + type: 0, + stay_time: '' + }, + options: [], + associate: [], + logics_has: false, + last_option_index: 0, + question_code: '', + question_value: '', + question_tag: '', + planet_id: '', + permissions: {} +}; diff --git a/src/utils/QuestionJsons/MartrixQuestion.js b/src/utils/QuestionJsons/MartrixQuestion.js new file mode 100644 index 0000000..5da73ce --- /dev/null +++ b/src/utils/QuestionJsons/MartrixQuestion.js @@ -0,0 +1,54 @@ +export default { + // JSON 需要修改 + id: '', + question_type: 5, + question_index: '', + stem: '请完成打分', + title: '', + options: [ + [ + { + id: 'e46f51b1-bfd8-4d9c-becc-4fb7d175a6f4', + is_fixed: 0, + is_other: 0, + is_remove_other: 0, + option: '选项1
', + option_config: { + image_url: [], + title: '', + instructions: [], + option_type: 0, + limit_right_content: '' + }, + option_index: 1, + parent_id: 0, + type: 0, + cascade: [], + config: [] + } + ] + ], + last_option_index: 1, + config: { + is_required: 1, + quick_type: 0, + is_show: [], + max: 5, + min: 1, + prompt_center: '', + prompt_left: '', + prompt_right: '', + score_interval: 1, + score_type: 0, + score_way: 0, + prompt_score: 2 + }, + associate: [], + question_code: '', + logic_config: { + order: 0, + type: 0, + expect: '', + stay_time: '' + } +}; diff --git a/src/utils/QuestionJsons/radio.js b/src/utils/QuestionJsons/Radio.js similarity index 93% rename from src/utils/QuestionJsons/radio.js rename to src/utils/QuestionJsons/Radio.js index 3c2a8d1..088f372 100644 --- a/src/utils/QuestionJsons/radio.js +++ b/src/utils/QuestionJsons/Radio.js @@ -162,16 +162,5 @@ export default { question_value: '', question_tag: '', planet_id: '', - permissions: { - id: 9032, - question_id: 17835006, - parent_question_id: 0, - disable_update: 1, - disable_option_update: 1, - disable_copy: 1, - disable_delete: 1, - delete_group_keep_one: 1, - disable_copy_delete: 1, - disable_copy_update: 1 - } + permissions: {} }; diff --git a/src/utils/QuestionJsons/Rate.js b/src/utils/QuestionJsons/Rate.js new file mode 100644 index 0000000..01988ac --- /dev/null +++ b/src/utils/QuestionJsons/Rate.js @@ -0,0 +1,53 @@ +export default { + id: '', + question_type: 5, + question_index: '', + stem: '请完成打分', + title: '', + options: [ + [ + { + id: 'e46f51b1-bfd8-4d9c-becc-4fb7d175a6f4', + is_fixed: 0, + is_other: 0, + is_remove_other: 0, + option: '选项1
', + option_config: { + image_url: [], + title: '', + instructions: [], + option_type: 0, + limit_right_content: '' + }, + option_index: 1, + parent_id: 0, + type: 0, + cascade: [], + config: [] + } + ] + ], + last_option_index: 1, + config: { + is_required: 1, + quick_type: 0, + is_show: [], + max: 5, + min: 1, + prompt_center: '', + prompt_left: '', + prompt_right: '', + score_interval: 1, + score_type: 0, + score_way: 0, + prompt_score: 2 + }, + associate: [], + question_code: '', + logic_config: { + order: 0, + type: 0, + expect: '', + stay_time: '' + } +}; diff --git a/src/utils/importJsons.js b/src/utils/importJsons.js index 05934de..b952229 100644 --- a/src/utils/importJsons.js +++ b/src/utils/importJsons.js @@ -1,3 +1,6 @@ // 引入QuestionJsons 下的radio 并导出 -export { default as radio } from './QuestionJsons/radio.js'; -export { default as checkbox } from './QuestionJsons/checkbox.js'; +export { default as radio } from './QuestionJsons/Radio.js'; +export { default as checkbox } from './QuestionJsons/Checkbox.js'; +export { default as completion } from './QuestionJsons/Completion.js'; +export { default as rate } from './QuestionJsons/Rate.js'; +export { default as martrixQuestion } from './QuestionJsons/MartrixQuestion.js'; diff --git a/src/views/Design/Index.vue b/src/views/Design/Index.vue index f29f307..1c9e732 100644 --- a/src/views/Design/Index.vue +++ b/src/views/Design/Index.vue @@ -20,11 +20,13 @@