|
@@ -1070,6 +1070,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
+ <Collection-box
|
|
|
+ :param="param"
|
|
|
+ @sumit="getCollectInfo(current)"
|
|
|
+ :showT="!collectList[current]"
|
|
|
+ ></Collection-box>
|
|
|
</div>
|
|
|
<div class="right-box">
|
|
|
<div class="right-box__header">
|
|
@@ -1160,6 +1165,7 @@
|
|
|
import Footer from "@/components/footer/index";
|
|
|
import Header from "@/components/header/index";
|
|
|
import ToolBar from "@/components/toolbar/index";
|
|
|
+import CollectionBox from "@/components/common/CollectionBox.vue";
|
|
|
import { mapMutations } from "vuex";
|
|
|
export default {
|
|
|
name: "BankExplain",
|
|
@@ -1167,6 +1173,7 @@ export default {
|
|
|
Footer,
|
|
|
Header,
|
|
|
ToolBar,
|
|
|
+ CollectionBox,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -1568,7 +1575,7 @@ export default {
|
|
|
|
|
|
this.questionList = res.data;
|
|
|
this.lastCount = this.questionList.length;
|
|
|
- this.getCollectInfo(this.current)
|
|
|
+ this.getCollectInfo(this.current);
|
|
|
await this.examRecord();
|
|
|
});
|
|
|
},
|
|
@@ -1778,7 +1785,7 @@ export default {
|
|
|
// chapterExamId: this.chapterId || 0,
|
|
|
// questionIds: [this.questionList[questionIndex].questionId],
|
|
|
// recordId: this.recordId,
|
|
|
- // type 1,
|
|
|
+ // type 1,
|
|
|
// })
|
|
|
// .then((res) => {});
|
|
|
// }
|
|
@@ -2765,6 +2772,19 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ param() {
|
|
|
+ return {
|
|
|
+ examId: this.examId,
|
|
|
+ questionId: this.questionList[this.current].questionId,
|
|
|
+ goodsId: this.goodsId,
|
|
|
+ orderGoodsId: this.orderGoodsId,
|
|
|
+ collectQuestionId: this.collectList[this.current]
|
|
|
+ ? this.collectList[this.current].collectQuestionId
|
|
|
+ : undefined,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
|