mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
1. 线上 BUG
This commit is contained in:
@@ -3939,6 +3939,9 @@ function onFocusEnd(){
|
|||||||
}]
|
}]
|
||||||
state.changeName = true
|
state.changeName = true
|
||||||
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
|
state.xjkkinputV3 = [moment().format('YYYY-MM-DD HH:mm'),'']
|
||||||
|
|
||||||
|
state.examInfo = {};
|
||||||
|
//清除缓存
|
||||||
state.cstm_hs = true;
|
state.cstm_hs = true;
|
||||||
};
|
};
|
||||||
const handleCancelStu = () => {
|
const handleCancelStu = () => {
|
||||||
@@ -4000,7 +4003,7 @@ function onFocusEnd(){
|
|||||||
let t = state.signCom ? "1," : "0,";
|
let t = state.signCom ? "1," : "0,";
|
||||||
let p = state.comLeave ? "1" : "0";
|
let p = state.comLeave ? "1" : "0";
|
||||||
let type = t.concat(p);
|
let type = t.concat(p);
|
||||||
const postData = {
|
let postData = {
|
||||||
offcourseId: state.offcourseId,
|
offcourseId: state.offcourseId,
|
||||||
id: state.offcoursePlanId, //开课ID,不传代表新增
|
id: state.offcoursePlanId, //开课ID,不传代表新增
|
||||||
address: state.xjkkinputV2,
|
address: state.xjkkinputV2,
|
||||||
@@ -4024,12 +4027,23 @@ function onFocusEnd(){
|
|||||||
// teacher: state.member.name,
|
// teacher: state.member.name,
|
||||||
offteachers: state.offteachers,
|
offteachers: state.offteachers,
|
||||||
workInfo: state.workInfo, //提交的作业信息
|
workInfo: state.workInfo, //提交的作业信息
|
||||||
examInfo: state.examInfo, //提交的考试信息
|
//提交的考试信息
|
||||||
beforeStart: state.beforeValue, //考勤 开始前
|
beforeStart: state.beforeValue, //考勤 开始前
|
||||||
afterStart: state.afterStartValue, //考勤 开始后
|
afterStart: state.afterStartValue, //考勤 开始后
|
||||||
score: state.scoreParams,
|
score: state.scoreParams,
|
||||||
};
|
};
|
||||||
console.log(postData);
|
if(state.kk_eidt){
|
||||||
|
//编辑
|
||||||
|
postData.examInfo = state.examInfo;
|
||||||
|
}else{
|
||||||
|
//新建
|
||||||
|
postData.examInfo = state.examInfo;
|
||||||
|
postData.examInfo.examinationTestId = null;
|
||||||
|
postData.examInfo.id = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
console.log("postData gxdata data" ,postData);
|
||||||
if(!postData.name){
|
if(!postData.name){
|
||||||
return message.error("请输入开课名称");
|
return message.error("请输入开课名称");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user