public ActionResult Check(string id)//审核相应 { if (OWApply.GetExpire(id)) { Window win = new Window { ID = "windowOWApply", Title = "审核", Height = 500, Width = 800, BodyPadding = 5, Modal = true, CloseAction = CloseAction.Destroy, Loader = new ComponentLoader { Url = Url.Action("CheckOverWorkApply", "OverWorkApply", new { id = id }), DisableCaching = true, Mode = LoadMode.Frame }, Listeners = { Close = { Handler = "App.direct.person.OWApplyReload()", } } }; win.Render(RenderMode.Auto); } else { X.Msg.Alert("警告", "该审核任务已过期或不存在!").Show(); } return(this.Direct()); }