diff --git a/source/vue/xzs-admin/src/api/examPaperAnwser.js b/source/vue/xzs-admin/src/api/examPaperAnwser.js
new file mode 100644
index 0000000..c10dd2a
--- /dev/null
+++ b/source/vue/xzs-admin/src/api/examPaperAnwser.js
@@ -0,0 +1,5 @@
+import { post } from '@/utils/request'
+
+export default {
+ page: query => post('/api/admin/examPaperAnswer/page', query)
+}
diff --git a/source/vue/xzs-admin/src/icons/svg/answer.svg b/source/vue/xzs-admin/src/icons/svg/answer.svg
new file mode 100644
index 0000000..546d787
--- /dev/null
+++ b/source/vue/xzs-admin/src/icons/svg/answer.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/source/vue/xzs-admin/src/router.js b/source/vue/xzs-admin/src/router.js
index 12e2010..b567245 100644
--- a/source/vue/xzs-admin/src/router.js
+++ b/source/vue/xzs-admin/src/router.js
@@ -187,6 +187,24 @@ const constantRoutes = [
}
]
},
+ {
+ path: '/answer',
+ component: Layout,
+ name: 'AnswerPage',
+ meta: {
+ title: '成绩管理',
+ icon: 'answer'
+ },
+ alwaysShow: true,
+ children: [
+ {
+ path: 'list',
+ component: () => import('@/views/answer/list'),
+ name: 'AnswerPageList',
+ meta: { title: '答卷列表', noCache: true }
+ }
+ ]
+ },
{
path: '/message',
component: Layout,
diff --git a/source/vue/xzs-admin/src/views/answer/list.vue b/source/vue/xzs-admin/src/views/answer/list.vue
new file mode 100644
index 0000000..0abe28a
--- /dev/null
+++ b/source/vue/xzs-admin/src/views/answer/list.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+ {{row.userScore}} / {{row.paperScore}}
+
+
+
+
+ {{row.questionCorrect}} / {{row.questionCount}}
+
+
+
+
+
+
+
+
+
+
diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/paper/ExamPaperAnswerPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/paper/ExamPaperAnswerPageRequestVM.java
index fbbd12b..202794b 100644
--- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/paper/ExamPaperAnswerPageRequestVM.java
+++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/paper/ExamPaperAnswerPageRequestVM.java
@@ -4,7 +4,6 @@ import com.mindskip.xzs.base.BasePage;
public class ExamPaperAnswerPageRequestVM extends BasePage {
private Integer subjectId;
- private Integer status;
public Integer getSubjectId() {
return subjectId;
@@ -13,12 +12,4 @@ public class ExamPaperAnswerPageRequestVM extends BasePage {
public void setSubjectId(Integer subjectId) {
this.subjectId = subjectId;
}
-
- public Integer getStatus() {
- return status;
- }
-
- public void setStatus(Integer status) {
- this.status = status;
- }
}
diff --git a/source/xzs/src/main/resources/mapper/ExamPaperAnswerMapper.xml b/source/xzs/src/main/resources/mapper/ExamPaperAnswerMapper.xml
index 3b85680..c1f48f8 100644
--- a/source/xzs/src/main/resources/mapper/ExamPaperAnswerMapper.xml
+++ b/source/xzs/src/main/resources/mapper/ExamPaperAnswerMapper.xml
@@ -251,4 +251,16 @@
limit 1
+
+
+
diff --git a/source/xzs/src/main/resources/static/admin/index.html b/source/xzs/src/main/resources/static/admin/index.html
index 6d1e4a5..5fc3142 100644
--- a/source/xzs/src/main/resources/static/admin/index.html
+++ b/source/xzs/src/main/resources/static/admin/index.html
@@ -13,4 +13,4 @@
hm.src = 'https://hm.baidu.com/hm.js?cd8218cd51f800ed2b73e5751cb3f4f9'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
- })()