From 3a8c5ce0987df263e897f26fbbb8196e4a7b6eea Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 02 七月 2024 11:55:06 +0800
Subject: [PATCH] feat:网页端打开会议
---
src/store/modules/grade.js | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 112 insertions(+), 8 deletions(-)
diff --git a/src/store/modules/grade.js b/src/store/modules/grade.js
index 1c21ed3..01466b0 100644
--- a/src/store/modules/grade.js
+++ b/src/store/modules/grade.js
@@ -1,6 +1,6 @@
import { ref, computed } from 'vue';
import { defineStore } from 'pinia';
-export const useGradeStore = defineStore('exam', () => {
+export const useGradeStore = defineStore('grade', () => {
const examInfo = ref({
examId: 1,
examName: '鑰冭瘯鍚嶇О',
@@ -9,6 +9,7 @@
examStartTime: '2021-01-01',
examEndTime: '2021-01-01',
examTime: 5,
+ examGrade: 60
});
const examType = ref({
@@ -31,6 +32,7 @@
"gradeLevel": null,
"subjectId": 2,
"title": "1+1=锛�",
+ "img": '/test_question.png',
"items": [
{
"prefix": "A",
@@ -51,9 +53,10 @@
],
"analyze": "闂皬鏈嬪弸",
"correct": "A",
- "right": "B",
+ "right": "A",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": true
},
{
"id": null,
@@ -83,7 +86,8 @@
"correct": "A",
"right": "B",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
}
]
},
@@ -96,6 +100,7 @@
"gradeLevel": null,
"subjectId": 2,
"title": "1+1=锛�",
+ "img": '/test_question.png',
"items": [
{
"prefix": "A",
@@ -118,7 +123,8 @@
"correct": "A,B",
"right": "A,B,C",
"score": "5",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
},
{
"id": null,
@@ -148,7 +154,102 @@
"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=锛�",
+ "img": '/test_question.png',
+ "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
}
]
},
@@ -162,6 +263,7 @@
"subjectId": 2,
"title": "娴嬭瘯闊抽1",
"audioFile": '/test.mp3',
+ "img": '/test_question.png',
"items": [
{
"prefix": "A",
@@ -184,7 +286,8 @@
"correct": "",
"right": "B",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
},
{
"id": null,
@@ -215,7 +318,8 @@
"correct": "D",
"right": "A",
"score": "3",
- "difficult": 5
+ "difficult": 5,
+ "isRight": false
}
]
},
--
Gitblit v1.8.0