From a39a30492416c94491097319be2fed895b513d7d Mon Sep 17 00:00:00 2001 From: joshen Date: Wed, 19 Mar 2025 21:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 8a862ea0..c65ce13e 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -4003,7 +4003,7 @@ function onFocusEnd(){ let t = state.signCom ? "1," : "0,"; let p = state.comLeave ? "1" : "0"; let type = t.concat(p); - const postData = { + let postData = { offcourseId: state.offcourseId, id: state.offcoursePlanId, //开课ID,不传代表新增 address: state.xjkkinputV2, @@ -4027,12 +4027,11 @@ function onFocusEnd(){ // teacher: state.member.name, offteachers: state.offteachers, workInfo: state.workInfo, //提交的作业信息 - examInfo: state.examInfo, //提交的考试信息 + // examInfo: state.examInfo, //提交的考试信息 beforeStart: state.beforeValue, //考勤 开始前 afterStart: state.afterStartValue, //考勤 开始后 score: state.scoreParams, }; - //todo 为了合并代码 if(state.kk_eidt){ //编辑 postData.examInfo = state.examInfo; @@ -4044,7 +4043,7 @@ function onFocusEnd(){ } - console.log("postData gxdata data" ,postData);*/ + console.log("postData gxdata data" ,postData); if(!postData.name){ return message.error("请输入开课名称"); }