|
@@ -1,4 +1,11 @@
|
|
-import { optionTypeList, stemTypeList, selectTypeList, scoreTypeList, questionNumberTypeList } from './common';
|
|
|
|
|
|
+import {
|
|
|
|
+ optionTypeList,
|
|
|
|
+ stemTypeList,
|
|
|
|
+ selectTypeList,
|
|
|
|
+ scoreTypeList,
|
|
|
|
+ questionNumberTypeList,
|
|
|
|
+ switchOption,
|
|
|
|
+} from './common';
|
|
import { getRandomNumber } from '@/utils/index';
|
|
import { getRandomNumber } from '@/utils/index';
|
|
|
|
|
|
export function getOption(content = '') {
|
|
export function getOption(content = '') {
|
|
@@ -22,9 +29,9 @@ export const selectData = {
|
|
property: {
|
|
property: {
|
|
stem_type: stemTypeList[0].value, // 题干类型
|
|
stem_type: stemTypeList[0].value, // 题干类型
|
|
question_number: 1, // 题号
|
|
question_number: 1, // 题号
|
|
- is_enable_description: false, // 描述
|
|
|
|
|
|
+ is_enable_description: switchOption[1].value, // 描述
|
|
select_type: selectTypeList[0].value, // 选择类型
|
|
select_type: selectTypeList[0].value, // 选择类型
|
|
- is_enable_listening: true, // 是否听力
|
|
|
|
|
|
+ is_enable_listening: switchOption[0].value, // 是否听力
|
|
score: 1, // 分值
|
|
score: 1, // 分值
|
|
score_type: scoreTypeList[0].value, // 分值类型
|
|
score_type: scoreTypeList[0].value, // 分值类型
|
|
},
|
|
},
|