| | |
| | | using System.IO; |
| | | using System.Web; |
| | | using System.Web.Mvc; |
| | | using System.Web.Script.Serialization; |
| | | |
| | | namespace DIXWeb.Web |
| | | { |
| | |
| | | { |
| | | UserInfo ui = Util.SessionHelper.Session["UserInfo"] as UserInfo; |
| | | Receive receive = this._workListBusiness.GetMyNeedDealt(Code, ui.Id, page, rows); |
| | | return Json(receive); |
| | | return GetResultMax(receive); |
| | | } |
| | | public ActionResult ApproveAgree(int[] BillflowIdArr, string Remark,string AppendixUrl = "") |
| | | { |
| | |
| | | } |
| | | return Json(record); |
| | | } |
| | | |
| | | public ActionResult ApproveAgreeAll(string Remark, string AppendixUrl = "") |
| | | { |
| | | Receive record = null; |
| | | try |
| | | { |
| | | DateTime now = DateTime.Now; |
| | | UserInfo ui = Util.SessionHelper.Session["UserInfo"] as UserInfo; |
| | | record = this._workListBusiness.ApproveAgreeAll(ui.Id, Remark, AppendixUrl); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | record = new Receive() |
| | | { |
| | | Code = 500, |
| | | Message = ex.Message |
| | | }; |
| | | } |
| | | return Json(record); |
| | | } |
| | | |
| | | public ActionResult ApproveRefuse(int[] BillflowIdArr, string Remark) |
| | | { |
| | | Receive record = null; |
| | |
| | | } |
| | | return Json(receive); |
| | | } |
| | | |
| | | private ContentResult GetResultMax(Receive receive) { |
| | | JavaScriptSerializer serializer = new JavaScriptSerializer(); |
| | | serializer.MaxJsonLength = Int32.MaxValue; |
| | | ContentResult result = new ContentResult |
| | | { |
| | | Content = serializer.Serialize(receive), |
| | | ContentType = "application/json" |
| | | }; |
| | | return result; |
| | | } |
| | | } |
| | | } |
| | | //5105955045 张小东 5105955047 |