/// <summary> /// 外派警员页面 /// </summary> /// <returns></returns> public ActionResult SolvePeople(int id) { //将操作的列ID 取到存在Session中 HttpContext.Session.SetString("info", JsonConvert.SerializeObject(id)); //外派警员的下拉列表 ViewBag.id = new SelectList(_alarm.GetRoles(), "ID", "RealName"); return(View()); }