From 9c91c96c4c1dca21670abfa7a0c879a734a888de Mon Sep 17 00:00:00 2001
From: lxp <1928192722@qq.com>
Date: 星期五, 14 三月 2025 20:09:37 +0800
Subject: [PATCH] 工时管理
---
src/api/business/reportPreparation.js | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/api/business/reportPreparation.js b/src/api/business/reportPreparation.js
index 7bbc9f3..4537467 100644
--- a/src/api/business/reportPreparation.js
+++ b/src/api/business/reportPreparation.js
@@ -51,7 +51,7 @@
export function getUserList(params) {
return resquest({
- url: '/approveConfig/getUserList',
+ url: '/performanceShift/getUserList',
method: 'get',
params: params
})
@@ -97,14 +97,6 @@
})
}
-export function downReport(params) {
- return resquest({
- url: '/insReport/downReport',
- method: 'get',
- params: params
- })
-}
-
export function upReportUrl(data) {
return resquest({
url: '/insReport/upReportUrl',
@@ -117,7 +109,7 @@
return resquest({
url: '/insReport/examineReport',
method: 'post',
- data: data
+ params: data
})
}
@@ -125,7 +117,7 @@
return resquest({
url: '/insReport/ratifyReport',
method: 'post',
- data: data
+ params: data
})
}
@@ -162,4 +154,14 @@
method: 'get',
params: params
})
-}
\ No newline at end of file
+}
+
+
+ export function downReport(params) {
+ return resquest({
+ url: '/insReport/downReport',
+ method: 'get',
+ params: params,
+ responseType: 'blob'
+ })
+ }
\ No newline at end of file
--
Gitblit v1.9.3