|
|
@@ -1,5 +1,6 @@ |
|
|
|
using Learun.Application.TwoDevelopment.EducationalAdministration; |
|
|
|
using Learun.Util; |
|
|
|
using System; |
|
|
|
using System.Data; |
|
|
|
using System.Web.Mvc; |
|
|
|
|
|
|
@@ -15,6 +16,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
public class TeacherPlanCheckController : MvcControllerBase |
|
|
|
{ |
|
|
|
private TeacherPlanCheckIBLL teacherPlanCheckIBLL = new TeacherPlanCheckBLL(); |
|
|
|
private EADateArrangeIBLL eADateArrangeIBLL = new EADateArrangeBLL(); |
|
|
|
|
|
|
|
#region 视图功能 |
|
|
|
|
|
|
@@ -25,7 +27,18 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
[HttpGet] |
|
|
|
public ActionResult Index() |
|
|
|
{ |
|
|
|
return View(); |
|
|
|
//获取“教学工作安排”中“教学教案检查打分”的记录 |
|
|
|
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> |
|
|
|
/// 表单页 |
|
|
|