|
@@ -12,6 +12,7 @@
|
|
|
<template v-if="isFrontStudent">
|
|
|
<el-button type="text" icon="el-icon-video-play" @click="handleAIVideo(scope.row)">AI匹配视频</el-button>
|
|
|
<el-button type="text" icon="el-icon-edit" @click="handleAIQuestion(scope.row)">AI匹配试题</el-button>
|
|
|
+ <el-button type="text" icon="el-icon-timer" @click="handleAIQuestionHistory(scope.row)">AI匹配历史</el-button>
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -25,10 +26,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {
|
|
|
- getClassKnownledgeStats,
|
|
|
- getStudentKnownledgeStats
|
|
|
-} from '@/api/webApi/front'
|
|
|
+import { getClassKnownledgeStats, getStudentKnownledgeStats } from '@/api/webApi/front'
|
|
|
import { getApiPaperStatus } from '@/api/webApi/ai'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import { getDefaultDateRange } from '@/utils/index'
|
|
@@ -168,6 +166,9 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ handleAIQuestionHistory(row) {
|
|
|
+ this.transferTo('/idc/mistakes/aiHistory')
|
|
|
+ },
|
|
|
goQuestionPage(force, row) {
|
|
|
const nextData = {
|
|
|
knowledge: row.knowledgeName,
|