コード例 #1
0
        // 待审批的申请
        public IActionResult WaitingApproved(int id = 1)
        {
            var pageIndex = id <= 0 ? 1 : id;
            var data      = _service.MyWaitingApproveApprovals(CurrentUser.No, id, out var total);

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