Ejemplo n.º 1
0
 public ActionResult Import(PatientImportVM vm, IFormCollection nouse)
 {
     if (vm.ErrorListVM.EntityList.Count > 0 || !vm.BatchSaveData())
     {
         return(PartialView(vm));
     }
     else
     {
         return(FFResult().CloseDialog().RefreshGrid().Alert(WalkingTec.Mvvm.Core.Program._localizer["ImportSuccess", vm.EntityList.Count.ToString()]));
     }
 }
Ejemplo n.º 2
0
 public ActionResult Import(PatientImportVM vm, IFormCollection nouse)
 {
     if (vm.ErrorListVM.EntityList.Count > 0 || !vm.BatchSaveData())
     {
         return(PartialView(vm));
     }
     else
     {
         return(FFResult().CloseDialog().RefreshGrid().Alert("成功导入 " + vm.EntityList.Count.ToString() + " 行数据"));
     }
 }