From c507331fb529a5516bbba200535d68e5fa65a8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=86=E4=B8=AA=E7=99=BD?= <543593352@qq.com> Date: Mon, 23 Dec 2024 14:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E8=AE=BE=E8=AE=A1=EF=BC=9A?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E7=B1=BB=E5=9E=8B=20tag=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/hooks/useGetHomework.js | 4 ++-- src/renderer/src/views/classTask/classTask.vue | 6 +++--- src/renderer/src/views/classTask/classTaskAssign.vue | 4 +++- .../classTask/newClassTaskAssign/Right/index.vue | 12 ++++++------ .../src/views/desktop/container/work-trend.vue | 4 ++-- src/renderer/src/views/tool/createHomework.js | 4 ++-- 6 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/renderer/src/hooks/useGetHomework.js b/src/renderer/src/hooks/useGetHomework.js index 0f78590..25c3aeb 100644 --- a/src/renderer/src/hooks/useGetHomework.js +++ b/src/renderer/src/hooks/useGetHomework.js @@ -87,7 +87,7 @@ const getHomeWorkList = async () => { // } else // 课标研读 目标设定 教材研读 框架梳理 学科定位 TODO 后续接入在添加 if (res.rows[i].worktype == '课堂展示') { - res.rows[i].workclass = 'primary'; + res.rows[i].workclass = 'success'; } else if (res.rows[i].worktype == '框架梳理') { res.rows[i].workclass = 'warning'; } else if (res.rows[i].worktype == '常规作业') { @@ -95,7 +95,7 @@ const getHomeWorkList = async () => { } else if (res.rows[i].worktype == '习题训练') { res.rows[i].workclass = 'danger'; } else if (res.rows[i].worktype == '科学实验') { - res.rows[i].workclass = 'danger'; + res.rows[i].workclass = 'primary'; } else { res.rows[i].workclass = 'primary'; } diff --git a/src/renderer/src/views/classTask/classTask.vue b/src/renderer/src/views/classTask/classTask.vue index 12beff4..9aebf05 100644 --- a/src/renderer/src/views/classTask/classTask.vue +++ b/src/renderer/src/views/classTask/classTask.vue @@ -154,14 +154,14 @@ const getClassWorkList = async () => { // ---------------------------------------------- // 处理任务类型的UI - if (list[i].worktype == '学习目标定位') { + if (list[i].worktype == '课堂展示') { list[i].workclass = 'success' list[i].workcodesList = JSON.parse(list[i].workcodes) - } else if (list[i].worktype == '教材研读') { + } else if (list[i].worktype == '科学实验') { list[i].workclass = 'primary' } else if (list[i].worktype == '框架梳理') { list[i].workclass = 'warning' - } else if (list[i].worktype == '学科定位') { + } else if (list[i].worktype == '常规作业') { list[i].workclass = 'info' } else if (list[i].worktype == '习题训练') { list[i].workclass = 'danger' diff --git a/src/renderer/src/views/classTask/classTaskAssign.vue b/src/renderer/src/views/classTask/classTaskAssign.vue index ba69513..cb8ae3a 100644 --- a/src/renderer/src/views/classTask/classTaskAssign.vue +++ b/src/renderer/src/views/classTask/classTaskAssign.vue @@ -437,13 +437,15 @@ const queryPushRecords = (row) => { // } else // 课标研读 目标设定 教材研读 框架梳理 学科定位 TODO 后续接入在添加 if (res.rows[i].worktype == '课堂展示') { - res.rows[i].workclass = 'primary'; + res.rows[i].workclass = 'success'; } else if (res.rows[i].worktype == '框架梳理') { res.rows[i].workclass = 'warning'; } else if (res.rows[i].worktype == '常规作业') { res.rows[i].workclass = 'info'; } else if (res.rows[i].worktype == '习题训练') { res.rows[i].workclass = 'danger'; + } else if (res.rows[i].worktype == '科学实验') { + res.rows[i].workclass = 'primary'; } else { res.rows[i].workclass = 'primary'; } diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/Right/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/Right/index.vue index a60bbcc..a1d1282 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/Right/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/Right/index.vue @@ -29,15 +29,15 @@ import { ElMessage } from 'element-plus' const emit = defineEmits(['itemClick']) const items = shallowRef([ - { title: '自主搜题', description: '上千万高质量习题资源,历届考试真题,每道题均有习题解析', icon: '#icon-soutibao-',type:'primary' }, - // { title: '校本题库', description: '本校公共题库资源。', icon: '#icon-soutibao-',type:'primary' }, - { title: '个人题库', description: '老师上传维护自己的个人题库。', icon: '#icon-soutibao-',type:'primary' }, + { title: '自主搜题', description: '上千万高质量习题资源,历届考试真题,每道题均有习题解析', icon: '#icon-soutibao-',type:'danger' }, + // { title: '校本题库', description: '本校公共题库资源。', icon: '#icon-soutibao-',type:'danger' }, + { title: '个人题库', description: '老师上传维护自己的个人题库。', icon: '#icon-soutibao-',type:'danger' }, // { title: '智能推荐', description: '通过对学生的薄弱知识点分析,推送不同难度的习题进行强化训练。', icon: '#icon-tubiao_wuxing-',type:'primary' }, - { title: '课堂展示', description: '通过课堂白板绘制作业,提升学生的创作思维能力。', icon: '#icon-huaban',type:'danger' }, - { title: '常规作业', description: '推送pdf、视频、音频、图片,学生可以拍照上传。', icon: '#icon-zhaoxiangji',type:'danger' }, + { title: '课堂展示', description: '通过课堂白板绘制作业,提升学生的创作思维能力。', icon: '#icon-huaban',type:'success' }, + { title: '常规作业', description: '推送pdf、视频、音频、图片,学生可以拍照上传。', icon: '#icon-zhaoxiangji',type:'info' }, // { title: 'AI设计作业', description: '通过AI助手,根据课标、教材、考试等分析结果,智能创建作业。', icon: '#icon-jiqiren_o',type:'danger' }, { title: '习题上传', description: '自己上传个人题库。', icon: '#icon-shangchuan',type:'danger' }, - { title: '科学实验', description: '学生完成虚拟仿真实验,并提交实验结果。', icon: '#icon-shangchuan',type:'danger' }, + { title: '科学实验', description: '学生完成虚拟仿真实验,并提交实验结果。', icon: '#icon-shangchuan',type:'primary' }, ]); const handleClick = (item) => { diff --git a/src/renderer/src/views/desktop/container/work-trend.vue b/src/renderer/src/views/desktop/container/work-trend.vue index 852bd75..3643a70 100644 --- a/src/renderer/src/views/desktop/container/work-trend.vue +++ b/src/renderer/src/views/desktop/container/work-trend.vue @@ -59,10 +59,10 @@ const getHomework = async () => { homeworkList.value = rows || []; homeworkList.value.forEach((item) => { // 处理任务类型的UI - if (item.worktype == '学习目标定位') { + if (item.worktype == '课堂展示') { item.workclass = 'success' item.workcodesList = JSON.parse(item.workcodes) - } else if (item.worktype == '教材研读') { + } else if (item.worktype == '科学实验') { item.workclass = 'primary' } else if (item.worktype == '框架梳理') { item.workclass = 'warning' diff --git a/src/renderer/src/views/tool/createHomework.js b/src/renderer/src/views/tool/createHomework.js index 5d64850..c77358c 100644 --- a/src/renderer/src/views/tool/createHomework.js +++ b/src/renderer/src/views/tool/createHomework.js @@ -81,10 +81,10 @@ export const getClassWorkList = async (id) => { // ---------------------------------------------- // 处理任务类型的UI - if (list[i].worktype == '学习目标定位') { + if (list[i].worktype == '课堂展示') { list[i].workclass = 'success' list[i].workcodesList = JSON.parse(list[i].workcodes) - } else if (list[i].worktype == '教材研读') { + } else if (list[i].worktype == '科学实验') { list[i].workclass = 'primary' } else if (list[i].worktype == '框架梳理') { list[i].workclass = 'warning' -- 2.44.0.windows.1