123456789101112131415161718192021222324252627 |
- import { scoreTypeList, questionNumberTypeList, switchOption } from './common';
- import { getRandomNumber } from '@/utils/index';
- export function getOption() {
- return { picture_title: '', picture_info: '', reference_answer: '', picture_file_id: '', mark: getRandomNumber() };
- }
- // 看图说话数据模板
- export const talkPictrueData = {
- type: 'talk_picture', // 题型
- stem: '', // 题干
- description: '', // 描述
- option_list: [], // 选项
- file_id_list: [],
- answer: { score: 1, score_type: scoreTypeList[0].value }, // 答案
- // 题型属性
- property: {
- question_number: '1', // 题号
- score: 1, // 分值
- is_enable_description: switchOption[1].value, // 描述
- is_enable_voice_answer: switchOption[0].value, // 语音作答
- is_enable_reference_answer: switchOption[0].value, // 参考答案
- score_type: scoreTypeList[0].value, // 分值类型
- },
- // 其他属性
- other: {
- question_number_type: questionNumberTypeList[0].value, // 题号类型
- },
- };
|