示例#1
0
        public IActionResult User()
        {
            strLoginType    = HttpContext.Session.GetString("logintype");
            strLoginStoreNo = HttpContext.Session.GetString("loginstoreno");
            if (strLoginType.Equals("3"))
            {
                return(RedirectToAction("Error", "Home"));
            }

            ViewBag.ThisPage     = "직원관리";
            ViewBag.LoginType    = strLoginType;
            ViewBag.LoginStoreNo = strLoginStoreNo;
            ViewBag.TeamNameDDLB = CommonDDLB.TeamNameDDLB(Convert.ToInt64(strLoginStoreNo));
            ViewBag.BPLevelDDLB  = CommonDDLB.BPLevelDDLB(Convert.ToInt64(strLoginStoreNo));

            ViewBag.UseStateDDLB    = CommonDDLB.UseStateDDLB("상태선택");
            ViewBag.MemberStoreDDLB = CommonDDLB.MemberStoreNameDDLB();

            return(View());
        }
示例#2
0
        public JsonResult GetChangedBPLevelDDLB(UserModel user)
        {
            string BPLevelDDLB = CommonDDLB.BPLevelDDLB(user.MemberStoreNo);

            return(Json(BPLevelDDLB));
        }