From 4f39d2d3ee69813f106e06fc8a8d168ecccc941c Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 15 三月 2024 15:32:17 +0800 Subject: [PATCH] 成绩统计详情增加时间查询 --- src/views/exam/gradeDetails/list.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/views/exam/gradeDetails/list.vue b/src/views/exam/gradeDetails/list.vue index 945de14..b64c59d 100644 --- a/src/views/exam/gradeDetails/list.vue +++ b/src/views/exam/gradeDetails/list.vue @@ -36,7 +36,7 @@ import { mapGetters, mapState, mapActions } from 'vuex' import Pagination from '@/components/Pagination' import examPaperApi from '@/api/examPaper' -import AchievementStatistics from "@/api/AchievementStatistics"; +import AchievementStatistics from '@/api/AchievementStatistics' export default { components: { Pagination }, @@ -45,22 +45,26 @@ queryParam: { pageIndex: 1, pageSize: 10, - id:'', - userId:'' + start: null, + end: null, + id: '', + userId: '' }, subjectFilter: null, listLoading: true, tableData: [], - total: 0, + total: 0 } }, created () { }, mounted () { - this.queryParam.id=this.$route.query.id - this.queryParam.userId=this.$route.query.userId - this.queryParam.createUser=this.$route.query.createUser + this.queryParam.id = this.$route.query.id + this.queryParam.userId = this.$route.query.userId + this.queryParam.createUser = this.$route.query.createUser + this.queryParam.start = this.$route.query.start + this.queryParam.end = this.$route.query.end this.search() }, methods: { @@ -77,9 +81,9 @@ this.queryParam.pageIndex = re.pageNum this.listLoading = false }) - }, + } - }, + } } </script> -- Gitblit v1.8.0