public ActionResult EfficiencyTotal(SearchEfficiencyTotalModel searchModel)
 {
     return View("EfficiencyTotal", new SearchEfficiencyTotalModel()
     {
         SearchDate = DateTime.Now.Date
     });
 }
 /// <summary>
 /// 作者:Kylin
 /// 时间:2014.08.08
 /// 描述:获取Area SA效率分析统计报表数据集
 /// </summary>
 /// <param name="searchModel"></param>
 /// <returns></returns>
 public ActionResult SearchEfficiencyTotal(SearchEfficiencyTotalModel searchModel)
 {
     ViewBag.TeacherTypeCode = searchModel.TeacherTypeCode;
     searchModel.SearchDate = searchModel.SearchDate ?? new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
     return PartialView("_EfficiencyList", ReportBLL.GetTeacherEfficiencyTotal(searchModel.BranchId, searchModel.SearchDate.Value, searchModel.TeacherType));
 }
Example #3
0
 public ActionResult LTEfficiencyTotal(SearchEfficiencyTotalModel searchModel)
 {
     ViewData["TeacherType"] = ConvertEnum.TeacherTypeForLT;
     return View("EfficiencyTotal", new SearchEfficiencyTotalModel()
     {
         SearchDate = DateTime.Now.Date,
         TeacherType = ConvertEnum.TeacherTypeForLT
     });
 }