|
@@ -704,13 +704,14 @@
|
|
|
"
|
|
|
class="promax-box"
|
|
|
:TaskModel="TaskModel"
|
|
|
- :tmIndex="sdIndex"
|
|
|
+ :tmIndex="indexs"
|
|
|
:answerRecordList="
|
|
|
curQue.Bookanswer[index][indeO][indexs]
|
|
|
.recordList[sdIndex]
|
|
|
"
|
|
|
:index="index"
|
|
|
- :indexs="indexs"
|
|
|
+ :indexs="indeO"
|
|
|
+ :sddIndex="sdIndex"
|
|
|
:modelType="curQue.type"
|
|
|
@handleWav="handleWav"
|
|
|
/>
|
|
@@ -852,14 +853,15 @@
|
|
|
: ''
|
|
|
]"
|
|
|
:TaskModel="TaskModel"
|
|
|
- :tmIndex="sdIndex"
|
|
|
+ :tmIndex="indexs"
|
|
|
:answerRecordList="
|
|
|
curQue.Bookanswer[index][indeO][indexs].recordList[
|
|
|
sdIndex
|
|
|
]
|
|
|
"
|
|
|
:index="index"
|
|
|
- :indexs="indexs"
|
|
|
+ :indexs="indeO"
|
|
|
+ :sddIndex="sdIndex"
|
|
|
:modelType="curQue.type"
|
|
|
@handleWav="handleWav"
|
|
|
/>
|
|
@@ -1070,16 +1072,24 @@ export default {
|
|
|
handleListenRead(playFlag) {
|
|
|
this.stopAudioS = playFlag;
|
|
|
},
|
|
|
- handleWav(list, tmIndex, index, indexs) {
|
|
|
+ handleWav(list, tmIndex, index, indexs, sddIndex) {
|
|
|
tmIndex = tmIndex ? tmIndex : 0;
|
|
|
index = index ? index : 0;
|
|
|
indexs = indexs ? indexs : 0;
|
|
|
let resList = list.filter((item, index) => index == list.length - 1);
|
|
|
- this.$set(
|
|
|
- this.curQue.Bookanswer[index][indexs].recordList,
|
|
|
- tmIndex,
|
|
|
- resList
|
|
|
- );
|
|
|
+ if (sddIndex || sddIndex === 0) {
|
|
|
+ this.$set(
|
|
|
+ this.curQue.Bookanswer[index][indexs][tmIndex].recordList,
|
|
|
+ sddIndex,
|
|
|
+ resList
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ this.$set(
|
|
|
+ this.curQue.Bookanswer[index][indexs].recordList,
|
|
|
+ tmIndex,
|
|
|
+ resList
|
|
|
+ );
|
|
|
+ }
|
|
|
},
|
|
|
handleData() {
|
|
|
let Bookanswer = [];
|