zhanghua
2025-03-12 ad51ed48d64a29467b38196cfd47ba1a5d3ed37f
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