コード例 #1
0
        /// <summary>
        /// 异步加载定时任务
        /// </summary>
        /// <param name="dRequest">数据请求</param>
        /// <returns></returns>
        public ActionResult Read([DataSourceRequest] DataSourceRequest dRequest)
        {
            var areaResult          = ScheduledTaskService.TaskList(dRequest.Page, dRequest.PageSize, null, null);
            DataSourceResult result = new DataSourceResult()
            {
                Data  = areaResult.Data,
                Total = areaResult.Total
            };

            return(Json(result));
        }