From ad51ed48d64a29467b38196cfd47ba1a5d3ed37f Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 12 三月 2025 22:28:52 +0800
Subject: [PATCH] 添加日报表统计

---
 src/api/student.js |   69 +++++++++++++++++++---------------
 1 files changed, 38 insertions(+), 31 deletions(-)

diff --git a/src/api/student.js b/src/api/student.js
index 739105b..93733af 100644
--- a/src/api/student.js
+++ b/src/api/student.js
@@ -43,6 +43,7 @@
         }
       }
     `,
+    fetchPolicy:'no-cache',
     variables: params,
   });
 }
@@ -89,6 +90,7 @@
         }
       }
     `,
+    fetchPolicy:'no-cache',
     variables: params,
   });
 }
@@ -131,6 +133,7 @@
         }
       }
     `,
+    fetchPolicy:'no-cache',
     variables: params,
   });
 }
@@ -177,41 +180,11 @@
         }
       }
     `,
+    fetchPolicy:'no-cache',
     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,
-  });
-}
 
 export function getDetails(params) {
   return apolloClient.query({
@@ -332,6 +305,40 @@
         }
       }
     `,
+    fetchPolicy:'no-cache',
+    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
+          }
+        }
+      }
+    `,
+    fetchPolicy:'no-cache',
     variables: params,
   });
 }

--
Gitblit v1.8.0