/// <summary> /// 根据状态选择下一步办理类型 /// </summary> /// <param name="state"></param> /// <returns></returns> public static List <Model.HandleStep> GetNetAuditStepByState(string state) { List <Model.HandleStep> handleSteps = new List <Model.HandleStep>(); if (state == BLL.Const.APPCheckSpecial_Compile || state == BLL.Const.APPCheckSpecial_ReCompile) { Model.HandleStep step1 = new Model.HandleStep(); step1.Id = Const.APPCheckSpecial_Check; step1.Name = "下一步"; handleSteps.Add(step1); Model.HandleStep step8 = new Model.HandleStep(); step8.Id = Const.APPCheckSpecial_ApproveCompleted; step8.Name = "审批完成"; handleSteps.Add(step8); } else if (state == BLL.Const.APPCheckSpecial_Check) { Model.HandleStep step1 = new Model.HandleStep(); step1.Id = Const.APPCheckSpecial_Check; step1.Name = "下一步"; handleSteps.Add(step1); Model.HandleStep step8 = new Model.HandleStep(); step8.Id = Const.APPCheckSpecial_ApproveCompleted; step8.Name = "审批完成"; handleSteps.Add(step8); } return(handleSteps); }
/// <summary> /// 获取危险观察登记状态集合 /// </summary> /// <returns>危险观察登记状态集合</returns> public static List <Model.HandleStep> GetStatesList() { List <Model.HandleStep> handleSteps = new List <Model.HandleStep>(); Model.HandleStep handleStep1 = new Model.HandleStep(); handleStep1.Id = "1"; handleStep1.Name = "待整改"; handleSteps.Add(handleStep1); Model.HandleStep handleStep2 = new Model.HandleStep(); handleStep2.Id = "2"; handleStep2.Name = "已整改"; handleSteps.Add(handleStep2); Model.HandleStep handleStep3 = new Model.HandleStep(); handleStep3.Id = "3"; handleStep3.Name = "已闭环"; handleSteps.Add(handleStep3); Model.HandleStep handleStep4 = new Model.HandleStep(); handleStep4.Id = "4"; handleStep4.Name = "已作废"; handleSteps.Add(handleStep4); return(handleSteps); }