コード例 #1
0
ファイル: PlanController.cs プロジェクト: zjchenxk/SYLS
        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);
        }
コード例 #2
0
ファイル: PlanController.cs プロジェクト: zjchenxk/SYLS
 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);
     }
 }