Esempio n. 1
0
  /// <summary>
  /// 修改导购视图
  /// 负责人:谢海荣
  /// </summary>
  /// <returns></returns>
 public ActionResult Update(GuidUn model)
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text");
     ViewBag.GuidID = model.ID;
     return View(model);
 }
Esempio n. 2
0
 /// <summary>
 /// 新增导购
 /// 负责人:谢海荣
 /// </summary>
 /// <param name="model">导购实例</param>
 /// <returns>返回新增导购视图</returns>
 public ActionResult Create(int ShopInfoID)
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.GuidType   = new SelectList(unSel.GetGuidType(), "Value", "Text", -1);
     ViewBag.ShopInfoID = ShopInfoID;
     return(View());
 }
Esempio n. 3
0
 /// <summary>
 /// 新增导购
 /// 负责人:谢海荣
 /// </summary>
 /// <param name="model">导购实例</param>
 /// <returns>返回新增导购视图</returns>
 public ActionResult Create(int ShopInfoID)
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text",-1);
     ViewBag.ShopInfoID = ShopInfoID;
     return View();
 }
Esempio n. 4
0
 /// <summary>
 /// 修改导购视图
 /// 负责人:谢海荣
 /// </summary>
 /// <returns></returns>
 public ActionResult Update(GuidUn model)
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text");
     ViewBag.GuidID   = model.ID;
     return(View(model));
 }
Esempio n. 5
0
 /// <summary>
 /// 修改导购视图
 /// 负责人:谢海荣
 /// </summary>
 /// <returns></returns>
 public ActionResult Update(int ID)
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     GuidUnBll guBll = new GuidUnBll();
     GuidUn model = guBll.GetModelGuid(ID, LoginUser.UserBasic.EnterpriseID);
     ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text",model.GuidType);
     ViewBag.GuidID = ID;
     return View(model);
 }
Esempio n. 6
0
        /// <summary>
        /// 修改导购视图
        /// 负责人:谢海荣
        /// </summary>
        /// <returns></returns>
        public ActionResult Update(int ID)
        {
            Utility.SelectLists unSel = new Utility.SelectLists();
            GuidUnBll           guBll = new GuidUnBll();
            GuidUn model = guBll.GetModelGuid(ID, LoginUser.UserBasic.EnterpriseID);

            ViewBag.GuidType = new SelectList(unSel.GetGuidType(), "Value", "Text", model.GuidType);
            ViewBag.GuidID   = ID;
            return(View(model));
        }
Esempio n. 7
0
        // 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();
        }
Esempio n. 8
0
        // 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());
        }
Esempio n. 9
0
 // GET: AgentState/AgentShopInfo
 public ActionResult Index()
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.ShopInfoStatus = new SelectList(unSel.GetAgent_ShopInfo(), "Value", "Text", -1);
     return View();
 }
Esempio n. 10
0
 // GET: AgentState/AgentShopInfo
 public ActionResult Index()
 {
     Utility.SelectLists unSel = new Utility.SelectLists();
     ViewBag.ShopInfoStatus = new SelectList(unSel.GetAgent_ShopInfo(), "Value", "Text", -1);
     return(View());
 }