+
总分:
100分
-
+
+ 得分:
+ {{thisScore}}分
+
+
考试时长:
{{time}}分钟
+
+ 排名:
+ {{ranking === 0 ? 1 : ranking}}
+
-
- - {{item.name}}
-
+
+ - {{item.name}}
+
@@ -67,6 +75,7 @@ export default {
return {
paperName: '',
time: 0,
+ ranking: 1,
selectVisible: false,
tabs: [
{
@@ -100,7 +109,7 @@ export default {
'userId'
]),
...mapState('achievement', [
- 'id','assessmentId','stuId'
+ 'id','assessmentId','stuId','thisScore'
])
},
mounted() {
@@ -112,6 +121,7 @@ export default {
.then(res => {
this.paperName = res.paperName
this.time = res.time
+ this.ranking = res.ranking
this.allData = res.data
let tabs = this.tabs
res.data.list1.length || (tabs[0].show = false)
diff --git a/src/pages/achievement/list/examResults.vue b/src/pages/achievement/list/examResults.vue
index 0c937c8..527d643 100644
--- a/src/pages/achievement/list/examResults.vue
+++ b/src/pages/achievement/list/examResults.vue
@@ -69,7 +69,7 @@
-
+
查看详情
@@ -181,7 +181,8 @@ export default {
this.setAssDetailInfo({
id: row.paperId,
assessmentId: row.assessmentId,
- stuId: row.stuId
+ stuId: row.stuId,
+ thisScore: row.thisScore
})
this.$router.push('detail')
},
@@ -192,7 +193,8 @@ export default {
assessmentId: this.assessmentId,
assessmentName: this.assessmentName,
classId: this.classId,
- stuId: this.userId
+ stuId: this.userId,
+
})
this.$router.push('statistics')
}else{
diff --git a/src/pages/achievement/list/practiceResults.vue b/src/pages/achievement/list/practiceResults.vue
index f37173c..240f392 100644
--- a/src/pages/achievement/list/practiceResults.vue
+++ b/src/pages/achievement/list/practiceResults.vue
@@ -230,6 +230,7 @@ export default {
show(row){
this.setPracDetailInfo({
practiseId: this.practiseId,
+ score: row.score
})
this.$router.push('/practice/detail')
},
diff --git a/src/pages/assessment/detail/index.vue b/src/pages/assessment/detail/index.vue
index 21ae397..295b6db 100644
--- a/src/pages/assessment/detail/index.vue
+++ b/src/pages/assessment/detail/index.vue
@@ -6,16 +6,20 @@
总分:
100分
+
+ 得分:
+ {{thisScore}}分
+
考试时长:
- {{time}}分钟
+ {{timeSpent}}分钟
@@ -100,7 +104,7 @@ export default {
'userId'
]),
...mapState('achievement', [
- 'id','assessmentId','stuId'
+ 'id','assessmentId','stuId','timeSpent','thisScore'
])
},
mounted() {
diff --git a/src/pages/assessment/monitor/index.vue b/src/pages/assessment/monitor/index.vue
index 29b57c9..28ace72 100644
--- a/src/pages/assessment/monitor/index.vue
+++ b/src/pages/assessment/monitor/index.vue
@@ -43,7 +43,6 @@