/// <summary>
        /// 获取一览数据
        /// </summary>
        private void GetListByDay(DateTime?dateFrom, DateTime?dateTo, string filter)
        {
            filter = filter.Trim();
            var list = service.GetListByDay(dateFrom, dateTo)
                       .Where(x => string.IsNullOrEmpty(filter) ? true : x.Summary.Contains(filter)).ToList();

            if (list.Count() == 0)
            {
                this.grdExcel.Visibility = Visibility.Hidden;
            }
            else
            {
                this.grdExcel.Visibility = Visibility.Visible;
            }
            this.dataGeneral.DataContext = list;
        }