/// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        public JsonResult GetWeekData(int pageIndex = 1, int pageSize = 5, string goalName = "", int typeId = 0, int leaveId = 0, int stateId = 0, string dutyCommanyName = "", string dutyUserName = "", string begintime = "", string endtime = "")
        {
            WeekQueryData data = new WeekQueryData();

            data.pageIndex       = pageIndex;
            data.pageSize        = pageSize;
            data.goalName        = goalName;
            data.typeId          = typeId;
            data.leaveId         = leaveId;
            data.stateId         = stateId;
            data.dutyCommanyName = dutyCommanyName;
            data.dutyUserName    = dutyUserName;
            data.begintime       = begintime;
            data.endtime         = endtime;
            var weekdata = HelperHttpClient.GetAll("post", "WeekQuery/GetWeekList", data);
            var list     = JsonConvert.DeserializeObject <PageData <WeekData> >(weekdata);

            RedisHelper.Set("weekdata", list);
            return(Json(list));
        }
        public PageData <WeekData> GetWeekList([FromBody] WeekQueryData data)
        {
            var list = iWeekQueryRepository.GetWeekList(data.pageIndex, data.pageSize, data.goalName, data.typeId, data.leaveId, data.stateId, data.dutyCommanyName, data.dutyUserName, data.begintime, data.endtime);

            return(list);
        }