From 54ebbe88453f35705567e5d1ac4191dee42b3139 Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 30 Mar 2023 10:58:12 +0800 Subject: [PATCH 1/3] fix --- src/App.vue | 2 +- src/components/drawers/AddOpenCourse.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 268dc112..2d613ab7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,7 +33,7 @@ import {USER_PERMISSION} from "@/api/ThirdApi"; const store = useStore(); const isLogin = ref(false); -console.log("版本2.3.4------------"); +console.log("版本2.3.5------------"); // 监听关闭浏览器 let time1 = ref(0); diff --git a/src/components/drawers/AddOpenCourse.vue b/src/components/drawers/AddOpenCourse.vue index f1fbb424..a4afe25b 100644 --- a/src/components/drawers/AddOpenCourse.vue +++ b/src/components/drawers/AddOpenCourse.vue @@ -570,6 +570,8 @@ async function coursePlanConfirm() { } offCourseNewVisiable.value = false; tableRef.value.toLoading(); + // TODO 当点击选择了是否评估按钮 点击保存的时候没有选择评估 则是否需要评估重置为 0 不需要 + formData.value.evalFlag = formData.value.assessmentName ? 1 : 0; await request(COURSE_PLAN_EDIT, { ...formData.value }); handleCancelStu(); tableRef.value.fetch(); From fc6f0b227235e4de21b4e90ef2cf46070ee6927e Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 30 Mar 2023 13:50:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=E9=A1=B9=E7=9B=AE=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=9B=BE=E6=92=A4=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LearningPath.vue | 4 ++-- src/views/projectcenter/ProjectManage.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index 5a28afc6..535a3d53 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -138,11 +138,11 @@ 复制 - 删除 撤回结束 - + From 993e034f81c6ee8210d1e29c84957b4f2000e2de Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Thu, 30 Mar 2023 15:12:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=B0=8F=E7=BB=84=E9=95=BF=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=BC=80=E8=AF=BE=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E8=80=83=E8=AF=95=E6=97=B6=E5=8F=AA=E5=85=81=E8=AE=B8=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=97=B6=E9=97=B4=EF=BC=8C=E5=88=A0=E9=99=A4=E5=8F=AF?= =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=B7=BB=E5=8A=A0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/AddOpenCourse.vue | 4 ++ src/components/drawers/CommonTest.vue | 60 ++++++++++++++++++------ src/views/projectcenter/TaskPage.vue | 11 ++++- 3 files changed, 59 insertions(+), 16 deletions(-) diff --git a/src/components/drawers/AddOpenCourse.vue b/src/components/drawers/AddOpenCourse.vue index a4afe25b..5577840a 100644 --- a/src/components/drawers/AddOpenCourse.vue +++ b/src/components/drawers/AddOpenCourse.vue @@ -616,6 +616,10 @@ const changevalue = (e) => { console.log("changevalue", e, newarr, formData.value.attach); } +const logT = () => { + formData.value.examInfo = {}; +}; + defineExpose({ openDrawer });