// GET: ShopInfo /// <summary> /// 直营店视图 /// 负责人:谢海荣 /// </summary> /// <returns></returns> public ActionResult Enterprise_Index(string shopNameValue="") { AreasBll abll = new AreasBll(); ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel = new Utility.SelectLists(); IList<ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.shopName = shopNameValue; ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.ShopInfoStatus = new SelectList(unSel.GetShopInfo(), "Value", "Text", -1); return View(); }
// GET: ShopInfo /// <summary> /// 直营店视图 /// 负责人:谢海荣 /// </summary> /// <returns></returns> public ActionResult Enterprise_Index(string shopNameValue = "") { AreasBll abll = new AreasBll(); ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel = new Utility.SelectLists(); IList <ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.shopName = shopNameValue; ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.ShopInfoStatus = new SelectList(unSel.GetShopInfo(), "Value", "Text", -1); return(View()); }