public ActionResult AgreeDeliverPlan(string id) { string strMessage; PlanSystem plan = new PlanSystem(); bool bSuccess = plan.SubmitDeliverPlan(long.Parse(id), true, "", LoginAccountId, LoginStaffName, out strMessage); var ret = new { Success = bSuccess, Message = strMessage }; return Json(ret); }
public ActionResult DisagreeDeliverPlan(string id, string disagreeopinion) { string strErrText; PlanSystem plan = new PlanSystem(); if (plan.SubmitDeliverPlan(long.Parse(id), false, disagreeopinion, LoginAccountId, LoginStaffName, out strErrText)) { return Json(string.Empty); } else { return Json(strErrText); } }