Esempio n. 1
0
 public HttpResponseMessage GetMonthPlanReport([FromUri] HomeRequest request)
 {
     try
     {
         var data = _Home.GetMonthPlanReport(request);
         return(AjaxResult.Success(data).ToJsonApi());
     }
     catch (Exception)
     {
         return(AjaxResult.Error("操作失败").ToJsonApi());
     }
 }
Esempio n. 2
0
        /// <summary>
        /// 月度计划统计图
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public ActionResult GetMonthPlanReport(HomeRequest request)
        {
            var data = _Home.GetMonthPlanReport(request);

            return(Content(data.ToJson()));
        }