zhanghua
2025-03-26 dec67f13e2ecb4d5c57b7fa8300b8184bcab57bc
src/api/attendance.js
@@ -4,15 +4,17 @@
export function getData(params) {
  return apolloClient.query({
    query: gql`
      query vars($staffId: Int!, $beginDate: LocalDate!, $endDate: LocalDate!, $pageIn: PageIn!) {
      query vars($staffId: Int!, $beginDate: LocalDate!, $endDate: LocalDate!,$reportType:String!, $pageIn: PageIn!) {
        findPlayerAttendanceSummary(
          staffId: $staffId
          beginDate: $beginDate
          endDate: $endDate
          reportType: $reportType
          pageIn: $pageIn
        ) {
          ls {
            playerName
            courseDate
            state
            voucherName
            qty