This commit is contained in:
joshen
2025-03-19 21:03:47 +08:00
parent 92cbc0bbcd
commit 11277aebe2

View File

@@ -3940,7 +3940,7 @@ function onFocusEnd(){
state.changeName = true
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
state.examInfo = {};
// state.examInfo = {};
//清除缓存
state.cstm_hs = true;
};
@@ -4003,7 +4003,7 @@ function onFocusEnd(){
let t = state.signCom ? "1," : "0,";
let p = state.comLeave ? "1" : "0";
let type = t.concat(p);
let postData = {
const postData = {
offcourseId: state.offcourseId,
id: state.offcoursePlanId, //开课ID,不传代表新增
address: state.xjkkinputV2,
@@ -4027,12 +4027,12 @@ function onFocusEnd(){
// teacher: state.member.name,
offteachers: state.offteachers,
workInfo: state.workInfo, //提交的作业信息
//提交的考试信息
examInfo: state.examInfo, //提交的考试信息
beforeStart: state.beforeValue, //考勤 开始前
afterStart: state.afterStartValue, //考勤 开始后
score: state.scoreParams,
};
if(state.kk_eidt){
/*if(state.kk_eidt){
//编辑
postData.examInfo = state.examInfo;
}else{
@@ -4043,7 +4043,7 @@ function onFocusEnd(){
}
console.log("postData gxdata data" ,postData);
console.log("postData gxdata data" ,postData);*/
if(!postData.name){
return message.error("请输入开课名称");
}