//提交申诉 private void DoSubmitApply() { string Id = RequestData.Get("Id") + ""; var Ent = UsrChildWelfare.TryFind(Id); if (Ent != null) { Ent.WorkFlowState = "1"; //提交申诉 Ent.DoUpdate(); this.PageState.Add("State", "1"); } }
//审批处理 private void doAppSubmit() { string State = RequestData.Get("State") + ""; string Advise = RequestData.Get("Advise") + ""; string preAdvice = RequestData.Get("preAdvice") + ""; //以前的意见 SysUser UserEnt = SysUser.Find(UserInfo.UserID); UsrChildWelfare Ent = UsrChildWelfare.TryFind(id); if (Ent != null) { string tempStr = string.Empty; if (!string.IsNullOrEmpty(Advise)) { //tempStr = Advise + "\r\n----------工号: " + UserEnt.WorkNo + " 审批人: " + UserEnt.LoginName + "\r\n"; } Ent.WorkFlowState = State; Ent.Result = Advise; Ent.DoUpdate(); } }