zhanghua
2025-10-29 92ce7d104ce175cf869bdf9ee87ce4123805050e
src/api/class.js
@@ -78,3 +78,15 @@
    variables: params,
  });
}
export function findClassAttendance(params) {
  return apolloClient.query({
    query: gql`query vars($staffId:Int!,$campusId:Int, $beginDate:LocalDate!,$endDate:LocalDate!,$pageIn:PageIn!){
        findClassAttendance(staffId:$staffId,campusId:$campusId, beginDate:$beginDate,endDate:$endDate,pageIn:$pageIn)
        {ls{teamId teamName completeCount leaveCount absenceCount allCount staffName placeName}  pageOut{total index size} } }
    `,
    fetchPolicy:'no-cache',
    variables: params,
  });
}