|
@@ -8,7 +8,13 @@ import {
|
|
|
} from './common';
|
|
|
import { getRandomNumber } from '@/utils/index';
|
|
|
export function getOption() {
|
|
|
- return { picture_info: '', reference_answer: '', picture_file_id: '', mark: getRandomNumber() };
|
|
|
+ return {
|
|
|
+ picture_info: '',
|
|
|
+ reference_answer: '', // 参考答案
|
|
|
+ analysis: '', // 解析 富文本
|
|
|
+ picture_file_id: '',
|
|
|
+ mark: getRandomNumber(),
|
|
|
+ };
|
|
|
}
|
|
|
// 看图说话数据模板
|
|
|
export const talkPictrueData = {
|
|
@@ -26,6 +32,7 @@ export const talkPictrueData = {
|
|
|
stem_question_number_font_size: fontSizeList[6], // 题干题号
|
|
|
score: 1, // 分值
|
|
|
is_enable_description: switchOption[1].value, // 描述
|
|
|
+ is_enable_analysis: switchOption[1].value, // 是否开启解析
|
|
|
is_enable_voice_answer: switchOption[0].value, // 语音作答
|
|
|
is_enable_reference_answer: switchOption[0].value, // 参考答案
|
|
|
score_type: scoreTypeList[0].value, // 分值类型
|