public JsonResult Update(AttendanceDto dto, ApiAttenFlag attenFlag)
        {
            AttendanceDto atten = _attendanceContract.Edit(dto.Id);

            if (atten == null)
            {
                return(Json(new OperationResult(OperationResultType.Error, "数据不存在")));
            }
            int              flag             = (int)attenFlag;
            OperationResult  oper             = _attendanceRepairContract.ApplyRepair(atten.AdminId, dto.Id, flag);
            AttendanceRepair attendancerepair = _attendanceRepairContract.AttendanceRepairs.FirstOrDefault(x => x.AttendanceId == dto.Id && x.ApiAttenFlag == flag);

            if (attendancerepair == null)
            {
                return(Json(new OperationResult(OperationResultType.Error, "数据不存在")));
            }
            AttendanceRepairDto apair = _attendanceRepairContract.Edit(attendancerepair.Id);

            apair.VerifyType = (int)VerifyFlag.Pass;
            oper             = _attendanceRepairContract.Verify(apair);
            return(Json(oper));
        }
        public ActionResult Verify(int Id)
        {
            AttendanceRepairDto dto = _attendanceRepairContract.Edit(Id);

            return(PartialView(dto));
        }