@@ -345,9 +345,10 @@ let classWorkForm = reactive({
chooseWorkLists: props.propsformobj.chooseWorkLists?cloneDeep(props.propsformobj.chooseWorkLists):[], // 作业框架梳理list
fileHomeworkList: props.propsformobj.fileHomeworkList?cloneDeep(props.propsformobj.fileHomeworkList):[], // 常规作业文件列表
whiteboardObj: props.propsformobj.whiteboardObj?cloneDeep(props.propsformobj.whiteboardObj):'', // 作业资源 - 课堂展示 白板
+ question: props.propsformobj.question?cloneDeep(props.propsformobj.question):'', // 作业资源 - 课堂展示 输入的问题
}); // 提交的作业内容
// ---------------------------------------------------
-const listWorkType = ref(['习题训练', '框架梳理', '课堂展示', '常规作业']); //作业类型
+const listWorkType = ref(['习题训练', '课堂展示', '常规作业']); //作业类型
// 课堂展示-------
const boardLoading = ref(false);
@@ -633,6 +634,7 @@ const handleClassWorkSave = async () => {
let canvasJson = proxy.$refs.boardref.getCanvasJson()
let canvasBase64 = await proxy.$refs.boardref.getCanvasBase64()
// 课堂展示提交内容
+ cform.worktag = classWorkForm.question;
cform.title = classWorkForm.title;
cform.workcodes = JSON.stringify({json: canvasJson, base64: canvasBase64});
cform.entpcourseworklist = JSON.stringify([{'id':-1, 'score': '10'}]);
@@ -643,6 +645,7 @@ const handleClassWorkSave = async () => {
classWorkForm.worktype = "课堂展示";
classWorkForm.uniquekey = props.propsformobj.uniquekey, // 作业唯一标识 作业名称
classWorkForm.title = "";
+ classWorkForm.question = "";
classWorkForm.quizlist = [], // 作业习题列表内容
// 情况选择的资源缓存
@@ -851,6 +854,7 @@ const editWork = async (cform) =>{
let canvasJson = proxy.$refs.boardref.getCanvasJson()
let canvasBase64 = await proxy.$refs.boardref.getCanvasBase64()
cform.workcodes = JSON.stringify({json: canvasJson, base64: canvasBase64});
+ cform.worktag = classWorkForm.question;
}
else if (classWorkForm.worktype=='常规作业') {
// 1.更新作业任务下的课堂展示内容 (这里未做校验, 直接将当前文件对象更新过去)
diff --git a/src/renderer/src/views/classTask/newClassTask.vue b/src/renderer/src/views/classTask/newClassTask.vue
index 16e2df2..a5bbdf4 100644
--- a/src/renderer/src/views/classTask/newClassTask.vue
+++ b/src/renderer/src/views/classTask/newClassTask.vue
@@ -67,6 +67,7 @@ const classWorkForm = reactive({
chooseWorkLists: classtaskObj? JSON.parse(classtaskObj).chooseWorkLists : [],// 设计中的框架梳理list
fileHomeworkList: classtaskObj? JSON.parse(classtaskObj).fileHomeworkList : [],// 设计中的常规文件作业list
whiteboardObj: classtaskObj? JSON.parse(classtaskObj).whiteboardObj : '',// 设计中的 课堂展示 板书作业
+ question: classtaskObj? JSON.parse(classtaskObj).question : '',// 设计中的 课堂展示 输入的问题
})
--
2.44.0.windows.1
From 38b17333ab37d5ee781a8ff55bccd725ef89bc03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com>
Date: Sat, 19 Oct 2024 17:17:16 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/classTask/container/item-dialog.vue | 22 +++++++++----------
.../src/views/classTask/teachClassTask.vue | 22 +++++++++----------
2 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/renderer/src/views/classTask/container/item-dialog.vue b/src/renderer/src/views/classTask/container/item-dialog.vue
index 1cb08cd..3d76d25 100644
--- a/src/renderer/src/views/classTask/container/item-dialog.vue
+++ b/src/renderer/src/views/classTask/container/item-dialog.vue
@@ -13,7 +13,7 @@
- {{ classWorkAnalysis.title }}答题情况
+ {{ classWorkAnalysis.title }}完成情况
{{
classWorkAnalysis.worktype
}}
@@ -33,13 +33,13 @@
v-if="classWorkAnalysis.row.worktype == '习题训练'"
:type="classWorkAnalysis.view == 'quizStats' ? 'success' : ''"
@click="workHandle('quizStats')"
- >逐题分析逐题讲评
整体分析训练报告
@@ -141,12 +141,12 @@
-
+
-
+
@@ -193,7 +193,7 @@ const tableRadio = reactive({
const loading_dt_table = ref(false)
const isopen_dtwk_table = ref(false)
-// zdg: 逐题分析
+// zdg: 逐题讲评
const classWorkActiveData = reactive({
quizlist: [], // 当前习题列表
studentList: [], // 当前课程-所有学生
@@ -536,7 +536,7 @@ const escapeHtmlQuotes = (str) => {
return result;
}
-//#region 逐题分析
+//#region 逐题讲评
// 查看学生-作业概览
const workHandle = (type) => {
// 关闭右侧批阅ui
@@ -571,11 +571,11 @@ const getWorkFeedList = async() =>{
//#endregion
-//#regin 整体分析
+//#regin 训练报告
/*
author: yangws
time: 2024-8-06 16:35:33
- function: 整体分析的处理
+ function: 训练报告的处理
*/
const handleClassOverviewOpen = (type) =>{
// 关闭右侧批阅ui
@@ -643,12 +643,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/teachClassTask.vue b/src/renderer/src/views/classTask/teachClassTask.vue
index 9ad1ad0..06c03d6 100644
--- a/src/renderer/src/views/classTask/teachClassTask.vue
+++ b/src/renderer/src/views/classTask/teachClassTask.vue
@@ -3,7 +3,7 @@
-
+
-
+
@@ -180,7 +180,7 @@ const tableRadio = reactive({
const loading_dt_table = ref(false)
const isopen_dtwk_table = ref(false)
-// zdg: 逐题分析
+// zdg: 逐题讲评
const classWorkActiveData = reactive({
quizlist: [], // 当前习题列表
studentList: [], // 当前课程-所有学生
@@ -528,7 +528,7 @@ const escapeHtmlQuotes = (str) => {
return result;
}
-//#region 逐题分析
+//#region 逐题讲评
// 查看学生-作业概览
const workHandle = (type) => {
// 关闭右侧批阅ui
@@ -563,11 +563,11 @@ const getWorkFeedList = async() =>{
//#endregion
-//#regin 整体分析
+//#regin 训练报告
/*
author: yangws
time: 2024-8-06 16:35:33
- function: 整体分析的处理
+ function: 训练报告的处理
*/
const handleClassOverviewOpen = (type) =>{
// 关闭右侧批阅ui
@@ -645,12 +645,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({
--
2.44.0.windows.1