Browse Source

自测完毕,待测试

daijiajun/feature-20251107115823-股票知识测评
chenzhen 2 months ago
parent
commit
e38d0c2676
  1. 2
      src/components/Question/QuestionSearch.vue
  2. 2
      src/components/UserStatistics/UserStatisticsSearch.vue
  3. 5
      src/components/WrongQuestion/WrongQuestionSearch.vue

2
src/components/Question/QuestionSearch.vue

@ -271,7 +271,7 @@ export default {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'question.xlsx');
link.setAttribute('download', '题库详细数据表.xlsx');
document.body.appendChild(link);
link.click();
document.body.removeChild(link);

2
src/components/UserStatistics/UserStatisticsSearch.vue

@ -83,7 +83,7 @@ export default {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'user_statistics.xlsx');
link.setAttribute('download', '用户统计数据表.xlsx');
document.body.appendChild(link);
link.click();
document.body.removeChild(link);

5
src/components/WrongQuestion/WrongQuestionSearch.vue

@ -31,7 +31,6 @@
<!-- 操作按钮组 -->
<div class="btn-group">
<button class="btn-red" @click="searchWrongQuestions">查找</button>
<button class="btn-red" @click="exportToExcel">Excel导出</button>
</div>
</div>
</template>
@ -65,10 +64,6 @@ export default {
await this.searchWrongQuestions(page);
},
exportToExcel() {
console.log('导出 Excel')
},
//
resetPage() {
this.currentPage = 1;

Loading…
Cancel
Save