zhanghua
2024-09-12 64adf0faa3ee49de1d4ba3abe6c9de5bb565f44b
src/api/student.js
@@ -181,37 +181,6 @@
  });
}
export function getDeleted(params) {
  return apolloClient.query({
    query: gql`
      query vars(
        $staffId: Int!
        $itemType: ItemType!
        $keyword: String
        $pageIn: PageIn!
      ) {
        findDeletedItem(
          staffId: $staffId
          itemType: $itemType
          keyword: $keyword
          pageIn: $pageIn
        ) {
          ls {
            id
            name
            modifyTime
          }
          pageOut {
            total
            index
            size
          }
        }
      }
    `,
    variables: params,
  });
}
export function getDetails(params) {
  return apolloClient.query({
@@ -335,3 +304,35 @@
    variables: params,
  });
}
//已停用
export function getDeleted(params) {
  return apolloClient.query({
    query: gql`
      query vars(
        $staffId: Int!
        $itemType: ItemType!
        $keyword: String
        $pageIn: PageIn!
      ) {
        findDeletedItem(
          staffId: $staffId
          itemType: $itemType
          keyword: $keyword
          pageIn: $pageIn
        ) {
          ls {
            id
            name
            modifyTime
          }
          pageOut {
            total
            index
            size
          }
        }
      }
    `,
    variables: params,
  });
}