public ActionResult ChangeStatus(FormCollection collection)
        {
            RoadFlow.Platform.WorkFlowTask   workFlowTask  = new RoadFlow.Platform.WorkFlowTask();
            RoadFlow.Data.Model.WorkFlowTask workFlowTask2 = null;
            string text  = string.Empty;
            string empty = string.Empty;

            empty = base.Request.QueryString["taskid"];
            if (MyExtensions.IsGuid(empty))
            {
                workFlowTask2 = workFlowTask.Get(MyExtensions.ToGuid(empty));
            }
            if (workFlowTask2 != null)
            {
                text = base.Request.Form["Status"];
                if (MyExtensions.IsInt(text))
                {
                    string oldXML = MyExtensions.Serialize((object)workFlowTask2);
                    workFlowTask2.Status = MyExtensions.ToInt(text);
                    workFlowTask.Update(workFlowTask2);
                    RoadFlow.Platform.Log.Add("改变了流程任务状态", "改变了流程任务状态", RoadFlow.Platform.Log.Types.流程相关, oldXML, MyExtensions.Serialize((object)workFlowTask2));
                    base.ViewBag.Script = "alert('设置成功!');new RoadUI.Window().reloadOpener();new RoadUI.Window().close();";
                }
            }
            base.ViewBag.Status = text;
            return(View());
        }