From 77737f4e73f7267170b9b06fc73d1610c29c0661 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 12 Nov 2024 13:18:35 +0800
Subject: [PATCH] 新增
---
src/api/specialWorkSystem/specialIndex/index.ts | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/api/specialWorkSystem/specialIndex/index.ts b/src/api/specialWorkSystem/specialIndex/index.ts
index b57ff7e..5b71079 100644
--- a/src/api/specialWorkSystem/specialIndex/index.ts
+++ b/src/api/specialWorkSystem/specialIndex/index.ts
@@ -4,27 +4,41 @@
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'
});
},
getMydepList: (data: object) => {
return request({
- url: import.meta.env.VITE_API_URL + `/work/page/my-dep/list`,
+ url: import.meta.env.VITE_API_URL + `/specialwork9step/working/page/my-dep/list`,
+ method: 'post',
+ data: data
+ });
+ },
+ getWorkRecord: (data: object) => {
+ return request({
+ url: import.meta.env.VITE_API_URL + `/specialwork9step/work/log`,
+ 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