Commit ffb45734 authored by 罗超's avatar 罗超

1

parent d1b5018a
......@@ -344,7 +344,6 @@ export default {
LessonPlan: '', //教案名称
IsTemplate: 0, //是否设置成模板0-否,1-是
LessonPlanList: [], //老师教案详情
ClassDate:"",
},
TeacherName: '', //教师名字
WorkDate: '', //时间
......@@ -397,12 +396,12 @@ export default {
this.addMsg.ClassPlanId = data.ClassPlanId;
this.addMsg.LessonPlan = data.LessonPlan;
this.addMsg.IsTemplate = data.IsTemplate;
this.addMsg.ClassDate=data.ClassStartTime.slice(0,10);
if (data.LessonPlanList == null) {
this.addMsg.LessonPlanList = [];
} else {
this.addMsg.LessonPlanList = data.LessonPlanList;
this.addMsg.LessonPlanList.forEach(x => {
x.ClassDate=data.ClassStartTime.slice(0,10);
x.LessonPlanProjectsList.push({
ProjectContent: ''
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment