|
|
|
@ -222,6 +222,7 @@ namespace TeacherExt.Controllers
|
|
|
|
|
return this.NoContent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//model = entity.To<EditTeacherModel>();
|
|
|
|
|
this.EntityToModel(entity, model);
|
|
|
|
|
this.ToEditModel(entity, model);
|
|
|
|
|
model.LoginName = login.LoginName;
|
|
|
|
@ -559,7 +560,7 @@ namespace TeacherExt.Controllers
|
|
|
|
|
ViewData.SelectList(o => model.Nation, () => this.GetNation(model.Nation));
|
|
|
|
|
ViewData.SelectList(o => model.Politics, () => this.GetPolitics(model.Politics));
|
|
|
|
|
ViewData.SelectList(o => model.MaxTitle, () => this.GetTitle(model.MaxTitle));
|
|
|
|
|
ViewData.SelectList(o => model.NotMaxTitle, () => this.GetTitle(model.MaxTitle));
|
|
|
|
|
ViewData.SelectList(o => model.NotMaxTitle, () => this.GetTitle(model.NotMaxTitle));
|
|
|
|
|
ViewData.SelectList(o => model.Nationality, () => this.GetNationality(model.Nationality));
|
|
|
|
|
ViewData.SelectList(o => model.UserType, () => this.GetUserType(model.UserType));
|
|
|
|
|
ViewData.SelectList(o => model.PostType, () => this.GetPostType(model.PostType));
|
|
|
|
@ -664,7 +665,7 @@ namespace TeacherExt.Controllers
|
|
|
|
|
row.Export("AD", headers, () => teacher.FullTimeSchool)?.SetCell(++colIndex, style, teacher.FullTimeSchool);
|
|
|
|
|
row.Export("AE", headers, () => teacher.FullTimeSchoolType)?.SetCell(++colIndex, style, teacher.FullTimeSchoolType);
|
|
|
|
|
row.Export("AF", headers, () => teacher.FullTimeSchoolMajor)?.SetCell(++colIndex, style, teacher.FullTimeSchoolMajor);
|
|
|
|
|
row.Export("AG", headers, () => teacher.FullTimeSchoolEducation)?.SetCell(++colIndex, style, teacher.FullTimeSchoolEducation);
|
|
|
|
|
row.Export("AG", headers, () => teacher.FullTimeSchoolEducation)?.SetCell(++colIndex, style, educations.GetText(teacher.FullTimeSchoolEducation));
|
|
|
|
|
row.Export("AH", headers, () => teacher.FullTimeSchoolEducationDate)?.SetCell(++colIndex, style, teacher.FullTimeSchoolEducationDate);
|
|
|
|
|
row.Export("AI", headers, () => teacher.JobTimeSchool)?.SetCell(++colIndex, style, teacher.JobTimeSchool);
|
|
|
|
|
row.Export("AJ", headers, () => teacher.JobTimeSchoolType)?.SetCell(++colIndex, style, teacher.JobTimeSchoolType);
|
|
|
|
|