/// <summary> /// 直营店编辑页面 /// 负责人:谢海荣 /// </summary> /// <param name="model">直营店实例</param> /// <returns></returns> public ActionResult Update(ShopInfoView model) { ChannelGroupBll chn = new ChannelGroupBll(); ViewBag.ChannelGroupID = new SelectList(chn.getList(LoginUser.UserBasic.EnterpriseID), "ID", "GroupName"); return(View(model)); }
/// <summary> /// 新增代理商 /// </summary> /// <returns></returns> public ActionResult Agent_Create() { ChannelGroupBll chn = new ChannelGroupBll(); IList<ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); return View(); }
/// <summary> /// 跳转修改代理商 /// 负责人:谢海荣 /// </summary> /// <param name="model">修改model实例</param> /// <returns></returns> public ActionResult Edit(AgentView model) { ChannelGroupBll chn = new ChannelGroupBll(); IList <ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); return(View(model)); }
// GET: Agent public ActionResult Index() { ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel=new Utility.SelectLists(); IList<ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.AgentStatus = new SelectList(unSel.GetAgent(), "Value", "Text",-1); return View(); }
public ActionResult ShowList(int pageIndex, int pageSize) { string eid = LoginUser.UserBasic.EnterpriseID; pageIndex = pageIndex == 0 ? 1 : pageIndex; var data = bll.GetGG(pageSize, pageIndex, eid); var shit = cgbll.getList(eid); ViewBag.List = data; ViewBag.cList = shit; return(PartialView()); }
// GET: Agent public ActionResult Index() { ChannelGroupBll chn = new ChannelGroupBll(); Utility.SelectLists unSel = new Utility.SelectLists(); IList <ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); ViewBag.AgentStatus = new SelectList(unSel.GetAgent(), "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(); }
/// <summary> /// 代理商门店管理 /// 负责人:代理商列表 /// </summary> /// <returns></returns> public ActionResult Agent_Index(int ID = 0) { AreasBll abll = new AreasBll(); ChannelGroupBll chn = new ChannelGroupBll(); IList <ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ID = ID; ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); 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()); }
/// <summary> /// 代理商门店管理 /// 负责人:代理商列表 /// </summary> /// <returns></returns> public ActionResult Agent_Index(int ID =0) { AreasBll abll = new AreasBll(); ChannelGroupBll chn = new ChannelGroupBll(); IList<ChannelGroup> modelList = chn.getList(LoginUser.UserBasic.EnterpriseID); ViewBag.ID = ID; ViewBag.ChannelGroupID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelID = new SelectList(modelList, "ID", "GroupName"); ViewBag.ChannelPush = new SelectList(modelList, "ID", "GroupName"); return View(); }
/// <summary> /// 直营店编辑页面 /// 负责人:谢海荣 /// </summary> /// <param name="model">直营店实例</param> /// <returns></returns> public ActionResult Update(ShopInfoView model) { ChannelGroupBll chn = new ChannelGroupBll(); ViewBag.ChannelGroupID = new SelectList(chn.getList(LoginUser.UserBasic.EnterpriseID), "ID", "GroupName"); return View(model); }