|
|
@@ -69,6 +69,7 @@
|
|
|
:index="luyinIndex"
|
|
|
:total="totalIndex"
|
|
|
:unit="recordType === 'sentence' ? '句' : '词'"
|
|
|
+ :busy="busy"
|
|
|
@reset="handleNext('reset')"
|
|
|
@next="handleNext()"
|
|
|
@finish="handleNext('finish')"
|
|
|
@@ -193,6 +194,7 @@ export default {
|
|
|
recordScoreDetail: null, // 整篇评分详情
|
|
|
visibleRecordWhole: false,
|
|
|
recordScoreIndex: 1, // 评分中的数值
|
|
|
+ busy: false,
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -319,8 +321,10 @@ export default {
|
|
|
} else if (type === 'reset') {
|
|
|
if (!this.taskModel || this.taskModel !== 'ANSWER') {
|
|
|
this.handleStopRecording();
|
|
|
+ this.busy = true;
|
|
|
setTimeout(() => {
|
|
|
this.startRecording(type);
|
|
|
+ this.busy = false;
|
|
|
}, 800);
|
|
|
}
|
|
|
} else {
|
|
|
@@ -328,8 +332,10 @@ export default {
|
|
|
this.$emit('getRecordIndex', this.luyinIndex);
|
|
|
if (!this.taskModel || this.taskModel !== 'ANSWER') {
|
|
|
this.handleStopRecording();
|
|
|
+ this.busy = true;
|
|
|
setTimeout(() => {
|
|
|
this.startRecording(type);
|
|
|
+ this.busy = false;
|
|
|
}, 800);
|
|
|
}
|
|
|
}
|