Example #1
0
 public ActionResult DoBatchEdit(ControlCenterBatchVM vm, IFormCollection nouse)
 {
     if (!ModelState.IsValid || !vm.DoBatchEdit())
     {
         return(PartialView("BatchEdit", vm));
     }
     else
     {
         return(FFResult().CloseDialog().RefreshGrid().Alert("操作成功,共有" + vm.Ids.Length + "条数据被修改"));
     }
 }
Example #2
0
 public ActionResult DoBatchEdit(ControlCenterBatchVM vm, IFormCollection nouse)
 {
     if (!ModelState.IsValid || !vm.DoBatchEdit())
     {
         return(PartialView("BatchEdit", vm));
     }
     else
     {
         return(FFResult().CloseDialog().RefreshGrid().Alert(WalkingTec.Mvvm.Core.Program._localizer?["OprationSuccess"]));
     }
 }