|
|
@@ -22,6 +22,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
{ |
|
|
|
private StuScoreExperimentIBLL stuScoreExperimentIBLL = new StuScoreExperimentBLL(); |
|
|
|
private UserIBLL userIBLL = new UserBLL(); |
|
|
|
private EADateArrangeIBLL eADateArrangeIBLL = new EADateArrangeBLL(); |
|
|
|
|
|
|
|
#region 视图功能 |
|
|
|
|
|
|
@@ -51,6 +52,17 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
[HttpGet] |
|
|
|
public ActionResult InputScoreIndex() |
|
|
|
{ |
|
|
|
//获取“教学工作安排”中“实训课成绩录入”的记录 |
|
|
|
var entity = eADateArrangeIBLL.GetEADateArrangeEntityByName("实训课成绩录入"); |
|
|
|
if (entity != null && entity.CheckMark == "1" && DateTime.Now > entity.MakeDate && DateTime.Now < entity.EndDate) |
|
|
|
{ |
|
|
|
ViewBag.CanInputFlag = true;//可以录入成绩标识 |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
ViewBag.CanInputFlag = false; |
|
|
|
} |
|
|
|
|
|
|
|
return View(); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|