コード例 #1
0
        /// <summary>
        /// 按钮关联权限
        /// </summary>
        /// <param name="id">按钮ID</param>
        /// <returns></returns>
        public ActionResult RelationButton(string id)
        {
            TS_FUNCTIONDTO fcDto = new TS_FUNCTIONDTO();

            fcDto.ButtonID    = id;
            fcDto.MenuFuncs   = basicsService.GetMenuFuncs();
            fcDto.ButtonFuncs = basicsService.GetButtonFuncs();
            fcDto.FunID       = basicsService.GetButtonFun(id);
            return(View(fcDto));
        }