龚焕茏
2024-06-07 45d0a4203787f354932f8b145665826bbe0d7cf4
feat:成绩导出
2个文件已修改
5 ■■■■■ 已修改文件
src/api/examPaperAnswer.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Manage/ScoreInquiry/list.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/examPaperAnswer.js
@@ -2,7 +2,6 @@
export default {
  page: query => post('/api/admin/examPaperAnswer/page', query),
  exportExcel: query => post('/api/admin/examPaperAnswer/exportExcel', query),
  pageExamPaper: query => post('/api/admin/examPaperAnswer/pageExamPaper', query),
  read: id => post('/api/admin/examPaperAnswer/read/' + id)
}
src/views/Manage/ScoreInquiry/list.vue
@@ -92,10 +92,6 @@
    view(row) {
      this.$router.push({ path: '/manage/answer-detail', query: { id: row.id } });
    },
    // handleExport() {
    //   examPaperAnswerApi.exportExcel(this.queryParam).then(re => {
    //   })
    // }
    handleExport() {
      let that = this
      let url = '/api/admin/examPaperAnswer/exportExcel?examPaperId=' + this.queryParam.examPaperId + '&userName=' + this.queryParam.userName