Example #1
0
        // 我的申请
        public IActionResult Index(int id = 1)
        {
            var user      = User;
            var pageIndex = id <= 0 ? 1 : id;
            var data      = _service.MyApprovals(CurrentUser.No, id, out var total);

            ViewBag.PageIndex   = pageIndex;
            ViewBag.RecordCount = total;
            return(View(data));
        }