Files
ylst-h5/src/utils/QuestionJsons/NPS.js
陈昱达 e5ad917d6e refactor(stores): 重构 common store 并优化数据类型定义- 定义明确的接口和类型,提高代码可读性和维护性
- 优化数据处理逻辑,使用 UUID 生成唯一 ID- 调整 NPS评分范围,提高用户体验
-优化问卷设计界面布局,提升可操作性
2025-03-23 14:27:19 +08:00

55 lines
1018 B
JavaScript

export default {
id: '',
question_type: 106,
question_index: 0,
stem: '您向朋友或同事推荐我们的可能性多大?',
title: '',
options: [
[
{
id: '',
is_fixed: 0,
is_other: 0,
is_remove_other: 0,
option: '<p>选项1</p>',
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: 0,
config: {
is_required: 1,
quick_type: 0,
is_show: [],
version: 2,
prompt_left: '不可能',
prompt_right: '极有可能',
prompt_center: '',
max: 10,
min: 1,
score_interval: 1,
score_type: 0,
score_way: 1,
prompt_score: 2
},
associate: [],
question_code: '',
logic_config: {
order: 0,
type: 0,
expect: '',
stay_time: ''
}
};