From 77737f4e73f7267170b9b06fc73d1610c29c0661 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 12 十一月 2024 13:18:35 +0800
Subject: [PATCH] 新增

---
 src/api/specialWorkSystem/specialIndex/index.ts |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/api/specialWorkSystem/specialIndex/index.ts b/src/api/specialWorkSystem/specialIndex/index.ts
index 5affc2d..5b71079 100644
--- a/src/api/specialWorkSystem/specialIndex/index.ts
+++ b/src/api/specialWorkSystem/specialIndex/index.ts
@@ -4,21 +4,21 @@
     return {
         analyseType: (data: object) => {
             return request({
-                url: import.meta.env.VITE_API_URL + `/specialWork/analyse/everyType/dep`,
+                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/everyType/dep`,
                 method: 'post',
                 data: data
             });
         },
         analyseAllWork: (data: object) => {
             return request({
-                url: import.meta.env.VITE_API_URL + `/specialWork/analyse/allWork/dep`,
+                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/allWork/dep`,
                 method: 'post',
                 data: data
             });
         },
         analyseDepMonth: (data: number) => {
             return request({
-                url: import.meta.env.VITE_API_URL + `/specialWork/analyse/12month/dep?depId=${data}`,
+                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/12month/dep?depId=${data}`,
                 method: 'get'
             });
         },
@@ -35,6 +35,13 @@
                 method: 'post',
                 data: data
             });
+        },
+        getWorkWarning: (data: object) => {
+            return request({
+                url: import.meta.env.VITE_API_URL + `/specialwork9step/statistic/work/warning`,
+                method: 'post',
+                data: data
+            });
         }
     };
 }

--
Gitblit v1.9.2