- 在 survey/index.js 中新增 modify 函数,用于修改投放状态 - 在 Survey/Index.vue 中添加取消投放逻辑 - 优化 Publish/Index.vue 的样式
54 lines
991 B
JavaScript
54 lines
991 B
JavaScript
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: '<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: 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: 1, //打分类型
|
|
prompt_score: 2
|
|
},
|
|
associate: [],
|
|
question_code: '',
|
|
logic_config: {
|
|
order: 0,
|
|
type: 0,
|
|
expect: '',
|
|
stay_time: ''
|
|
}
|
|
};
|