From 74a00243db34c09952855059b81de9810a99cf08 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 20 六月 2024 11:04:03 +0800
Subject: [PATCH] feat:考试成绩组件
---
src/store/modules/grade.js | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 107 insertions(+), 7 deletions(-)
diff --git a/src/store/modules/grade.js b/src/store/modules/grade.js
index 1c21ed3..b7fbe28 100644
--- a/src/store/modules/grade.js
+++ b/src/store/modules/grade.js
@@ -9,6 +9,7 @@
examStartTime: '2021-01-01',
examEndTime: '2021-01-01',
examTime: 5,
+ examGrade: 60
});
const examType = ref({
@@ -51,9 +52,10 @@
],
"analyze": "闂皬鏈嬪弸",
"correct": "A",
- "right": "B",
+ "right": "A",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": true
},
{
"id": null,
@@ -83,7 +85,8 @@
"correct": "A",
"right": "B",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
}
]
},
@@ -118,7 +121,8 @@
"correct": "A,B",
"right": "A,B,C",
"score": "5",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
},
{
"id": null,
@@ -148,7 +152,101 @@
"correct": "A,D",
"right": "B,C",
"score": "5",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
+ },
+ {
+ "id": null,
+ "questionType": 1,
+ "gradeLevel": null,
+ "subjectId": 2,
+ "title": "1+1=锛�",
+ "items": [
+ {
+ "prefix": "A",
+ "content": "1"
+ },
+ {
+ "prefix": "B",
+ "content": "2"
+ },
+ {
+ "prefix": "C",
+ "content": "3"
+ },
+ {
+ "prefix": "D",
+ "content": "4"
+ }
+ ],
+ "analyze": "闂皬鏈嬪弸",
+ "correct": "A,B,D",
+ "right": "B,C",
+ "score": "5",
+ "difficult": 5,
+ "isRight": false
+ },
+ {
+ "id": null,
+ "questionType": 1,
+ "gradeLevel": null,
+ "subjectId": 2,
+ "title": "1+1=锛�",
+ "items": [
+ {
+ "prefix": "A",
+ "content": "1"
+ },
+ {
+ "prefix": "B",
+ "content": "2"
+ },
+ {
+ "prefix": "C",
+ "content": "3"
+ },
+ {
+ "prefix": "D",
+ "content": "4"
+ }
+ ],
+ "analyze": "闂皬鏈嬪弸",
+ "correct": "B,C",
+ "right": "B,C",
+ "score": "5",
+ "difficult": 5,
+ "isRight": true
+ },
+ {
+ "id": null,
+ "questionType": 1,
+ "gradeLevel": null,
+ "subjectId": 2,
+ "title": "1+1=锛�",
+ "items": [
+ {
+ "prefix": "A",
+ "content": "1"
+ },
+ {
+ "prefix": "B",
+ "content": "2"
+ },
+ {
+ "prefix": "C",
+ "content": "3"
+ },
+ {
+ "prefix": "D",
+ "content": "4"
+ }
+ ],
+ "analyze": "闂皬鏈嬪弸",
+ "correct": "",
+ "right": "B,C",
+ "score": "5",
+ "difficult": 5,
+ "isRight": false
}
]
},
@@ -184,7 +282,8 @@
"correct": "",
"right": "B",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
},
{
"id": null,
@@ -215,7 +314,8 @@
"correct": "D",
"right": "A",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
}
]
},
--
Gitblit v1.8.0