diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index b176fae..85f7cc6 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -65,7 +65,7 @@ export default { isReg: false, loginForm: { username: '13563422432', - password: 'huoran123', + password: '111aaa', }, loginRules: { username: [{ required: true, message: '请输入用户名', trigger: 'blur' }], diff --git a/src/pages/achievement/assessment/index.vue b/src/pages/achievement/assessment/index.vue index 6a4c70f..2ea3ac5 100644 --- a/src/pages/achievement/assessment/index.vue +++ b/src/pages/achievement/assessment/index.vue @@ -6,20 +6,24 @@ 总分: 100分 +
+ 得分: + {{score}}分 +
考试时长: {{time}}分钟
排名: - {{ranking}} + {{ranking === 0 ? 1 : ranking}}
@@ -105,7 +109,7 @@ export default { 'userId' ]), ...mapState('achievement', [ - 'id','assessmentId' + 'id','assessmentId','score' ]) }, mounted() { diff --git a/src/pages/achievement/list/examResults.vue b/src/pages/achievement/list/examResults.vue index 43e5c9c..b42a9e0 100644 --- a/src/pages/achievement/list/examResults.vue +++ b/src/pages/achievement/list/examResults.vue @@ -84,7 +84,8 @@ export default { show(row){ this.setInfo({ id: row.paperId, - assessmentId: row.id + assessmentId: row.assessmentId, + score: row.thisScore }) this.$router.push('assessment') }, diff --git a/src/pages/achievement/list/practiceResults.vue b/src/pages/achievement/list/practiceResults.vue index 93e9d88..12c8184 100644 --- a/src/pages/achievement/list/practiceResults.vue +++ b/src/pages/achievement/list/practiceResults.vue @@ -22,9 +22,21 @@ - - - + + + + + + + + + - - diff --git a/src/pages/practice/list/myPractice.vue b/src/pages/practice/list/myPractice.vue index 9abb495..256bff9 100644 --- a/src/pages/practice/list/myPractice.vue +++ b/src/pages/practice/list/myPractice.vue @@ -27,9 +27,17 @@ {{getDegreeName(scope.row.degree)}} - + + + - + + +