|
@@ -498,7 +498,19 @@ export default {
|
|
|
} else if (this.type.indexOf("sentence_") > -1) {
|
|
|
data = this.handleStructure(this.type);
|
|
|
}
|
|
|
- console.log(data);
|
|
|
+ if (this.type == "recordHZ_inputPY_chs") {
|
|
|
+ data.name = "读汉字写拼音"
|
|
|
+ }else if(this.type=='sentence_input_chs'){
|
|
|
+ data.name = "句子模板-句子填空"
|
|
|
+ }else if(this.type=='sentence_judge_chs'){
|
|
|
+ data.name = "句子模板-句子判断"
|
|
|
+ }else if(this.type=='sentence_record_chs'){
|
|
|
+ data.name = "句子模板-句子录音"
|
|
|
+ }else if(this.type=='sentence_input_record_chs'){
|
|
|
+ data.name = "句子模板-句子填空+录音"
|
|
|
+ }else if(this.type=='sentence_listen_read_chs'){
|
|
|
+ data.name = "句子模板-句子听+朗读"
|
|
|
+ }
|
|
|
this.changeCurQue(data);
|
|
|
},
|
|
|
changeMp3(fileList) {
|
|
@@ -521,7 +533,6 @@ export default {
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {
|
|
|
- console.log("句子控件的录入");
|
|
|
if (!this.curQue) {
|
|
|
this.initcurQue();
|
|
|
} else {
|
|
@@ -534,6 +545,17 @@ export default {
|
|
|
if (!this.curQue.sentenceType) {
|
|
|
this.curQue.sentenceType = "chinese";
|
|
|
}
|
|
|
+ this.curQue.name = "读汉字写拼音"
|
|
|
+ }else if(this.type=='sentence_input_chs'){
|
|
|
+ this.curQue.name = "句子模板-句子填空"
|
|
|
+ }else if(this.type=='sentence_judge_chs'){
|
|
|
+ this.curQue.name = "句子模板-句子判断"
|
|
|
+ }else if(this.type=='sentence_record_chs'){
|
|
|
+ this.curQue.name = "句子模板-句子录音"
|
|
|
+ }else if(this.type=='sentence_input_record_chs'){
|
|
|
+ this.curQue.name = "句子模板-句子填空+录音"
|
|
|
+ }else if(this.type=='sentence_listen_read_chs'){
|
|
|
+ this.curQue.name = "句子模板-句子听+朗读"
|
|
|
}
|
|
|
}
|
|
|
},
|