public ActionResult IndexModel(int Id) { try { ViewBag.lishow = lishow; ViewBag.ashow = "war"; ViewBag.LfetShow = LfetShow; ViewBag.ashow = "war"; ViewBag.location = "所在位置:<a href='" + Url.Content("~/Warning/Index") + "'>布控管理</a> >>布控项详情"; UserInfo user = (UserInfo)Session["userInfo"]; BKBJ.AuditInfo audit = new AuditDAL().GetAuditInfoById(Id, user.ID); ViewBag.NetbarType = ChangeValue.GetLocaTypeList(); ViewBag.deploy = audit; ViewBag.DSArea = new AuditDAL().GetAreaList(); } catch (SqlException sqlex) { Logger.ErrorLog(sqlex, null); } catch (Exception ex) { Logger.ErrorLog(ex, null); } return(View()); }
public ActionResult AddIndex() { ViewBag.lishow = lishow; ViewBag.ashow = "war"; ViewBag.LfetShow = LfetShow; ViewBag.ashow = "war"; ViewBag.location = "所在位置:<a href='" + Url.Content("~/Warning/Index") + "'>布控管理</a> >>添加布控项"; ViewBag.DSArea = new AuditDAL().GetAreaList(); ViewBag.NetbarType = ChangeValue.GetLocaTypeList(); return(View()); }