public IActionResult ExportExcel(SysDictionaryItemListVM vm)
        {
            vm.SearcherMode = vm.Ids != null && vm.Ids.Count > 0 ? ListVMSearchModeEnum.CheckExport : ListVMSearchModeEnum.Export;
            var data = vm.GenerateExcel();

            return(File(data, "application/vnd.ms-excel", $"Export_SysDictionaryItem_{DateTime.Now.ToString("yyyy-MM-dd")}.xls"));
        }
 public string Search(SysDictionaryItemListVM vm)
 {
     return(vm.GetJson(false));
 }