From 93abc4905cd40152142c1cecd8a6db15fd7d3b3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com>
Date: Thu, 10 Oct 2024 15:28:46 +0800
Subject: [PATCH] =?UTF-8?q?[=E4=BD=9C=E4=B8=9A=E6=89=B9=E6=94=B9]=20-=20?=
=?UTF-8?q?=E9=80=90=E9=A2=98=E5=88=86=E6=9E=90=E6=98=BE=E7=A4=BA=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/classTask/container/item-dialog.vue | 20 +++++++++----------
.../views/classTask/container/quizStats.vue | 14 +++++++------
.../src/views/classTask/teachClassTask.vue | 20 +++++++++----------
3 files changed, 28 insertions(+), 26 deletions(-)
diff --git a/src/renderer/src/views/classTask/container/item-dialog.vue b/src/renderer/src/views/classTask/container/item-dialog.vue
index ea7c03d..982a445 100644
--- a/src/renderer/src/views/classTask/container/item-dialog.vue
+++ b/src/renderer/src/views/classTask/container/item-dialog.vue
@@ -33,13 +33,13 @@
v-if="classWorkAnalysis.row.worktype == '习题训练'"
:type="classWorkAnalysis.view == 'quizStats' ? 'success' : ''"
@click="workHandle('quizStats')"
- >作业概况逐题分析
作业报告整体分析
@@ -136,12 +136,12 @@
-
+
-
+
@@ -188,7 +188,7 @@ const tableRadio = reactive({
const loading_dt_table = ref(false)
const isopen_dtwk_table = ref(false)
-// zdg: 作业概况
+// zdg: 逐题分析
const classWorkActiveData = reactive({
quizlist: [], // 当前习题列表
studentList: [], // 当前课程-所有学生
@@ -531,7 +531,7 @@ const escapeHtmlQuotes = (str) => {
return result;
}
-//#region 作业概况
+//#region 逐题分析
// 查看学生-作业概览
const workHandle = (type) => {
// 关闭右侧批阅ui
@@ -566,11 +566,11 @@ const getWorkFeedList = async() =>{
//#endregion
-//#regin 作业报告
+//#regin 整体分析
/*
author: yangws
time: 2024-8-06 16:35:33
- function:作业报告的处理
+ function: 整体分析的处理
*/
const handleClassOverviewOpen = (type) =>{
// 关闭右侧批阅ui
@@ -638,12 +638,12 @@ const closeDialog = () => {
watch(classWorkAnalysis, (newVal, oldVal) => {
if(newVal.view != 'quizStats'){
console.log('关闭zdg: 定时执行')
- clearInterval(classWorkActiveData.timerId) // 关闭定时器 作业概况的
+ clearInterval(classWorkActiveData.timerId) // 关闭定时器 逐题分析的
}
})
onUnmounted(() => {
- clearInterval(classWorkActiveData.timerId) // 关闭定时器 作业概况的
+ clearInterval(classWorkActiveData.timerId) // 关闭定时器 逐题分析的
})
defineExpose({
diff --git a/src/renderer/src/views/classTask/container/quizStats.vue b/src/renderer/src/views/classTask/container/quizStats.vue
index 58663a6..8783359 100644
--- a/src/renderer/src/views/classTask/container/quizStats.vue
+++ b/src/renderer/src/views/classTask/container/quizStats.vue
@@ -1,6 +1,6 @@
-
+
@@ -54,9 +54,9 @@
-
+
-
答题情况
+
提交情况
@@ -114,7 +114,9 @@ colorArr = [
]
// === 初始加载完 ===
-onMounted(() => {})
+onMounted(() => {
+ activeTopic.value = dataList.value.map((_, index) => index + 1);
+})
// === 方法(methods) ===
@@ -311,7 +313,7 @@ watchEffect(() => { initData() })
background: #F2F3F5;
height: 100%;
margin: 0 !important;
- .left{padding-left: 0 !important;}
+ .left{padding-left: 0 !important; height: 100%;}
.right{padding-right: 0 !important;}
.c-item{
padding: 10px;
@@ -360,7 +362,7 @@ watchEffect(() => { initData() })
margin-bottom: 10px;
}
.respond{
- height: calc(70vh - 65px);
+ height: calc(100% - 65px);
overflow: auto;
.el-space{padding: 5px;}
.card-warp{
diff --git a/src/renderer/src/views/classTask/teachClassTask.vue b/src/renderer/src/views/classTask/teachClassTask.vue
index e26025a..da6fb78 100644
--- a/src/renderer/src/views/classTask/teachClassTask.vue
+++ b/src/renderer/src/views/classTask/teachClassTask.vue
@@ -23,13 +23,13 @@
v-if="classWorkAnalysis.row.worktype == '习题训练'"
:type="classWorkAnalysis.view == 'quizStats' ? 'success' : ''"
@click="workHandle('quizStats')"
- >作业概况逐题分析
作业报告整体分析
@@ -126,12 +126,12 @@
-
+
-
+
@@ -175,7 +175,7 @@ const tableRadio = reactive({
const loading_dt_table = ref(false)
const isopen_dtwk_table = ref(false)
-// zdg: 作业概况
+// zdg: 逐题分析
const classWorkActiveData = reactive({
quizlist: [], // 当前习题列表
studentList: [], // 当前课程-所有学生
@@ -523,7 +523,7 @@ const escapeHtmlQuotes = (str) => {
return result;
}
-//#region 作业概况
+//#region 逐题分析
// 查看学生-作业概览
const workHandle = (type) => {
// 关闭右侧批阅ui
@@ -558,11 +558,11 @@ const getWorkFeedList = async() =>{
//#endregion
-//#regin 作业报告
+//#regin 整体分析
/*
author: yangws
time: 2024-8-06 16:35:33
- function:作业报告的处理
+ function: 整体分析的处理
*/
const handleClassOverviewOpen = (type) =>{
// 关闭右侧批阅ui
@@ -640,12 +640,12 @@ onMounted(() => {
watch(classWorkAnalysis, (newVal, oldVal) => {
if(newVal.view != 'quizStats'){
console.log('关闭zdg: 定时执行')
- clearInterval(classWorkActiveData.timerId) // 关闭定时器 作业概况的
+ clearInterval(classWorkActiveData.timerId) // 关闭定时器 逐题分析的
}
})
onUnmounted(() => {
- clearInterval(classWorkActiveData.timerId) // 关闭定时器 作业概况的
+ clearInterval(classWorkActiveData.timerId) // 关闭定时器 逐题分析的
})
// defineExpose({