| | |
| | | |
| | | 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) |
| | | } |
| | |
| | | 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 |