From 45792b3776cda2e1ada31755ffc226a663f90b48 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 19 三月 2025 15:32:23 +0800
Subject: [PATCH] 锁屏功能
---
src/api/business/reportPreparation.js | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/src/api/business/reportPreparation.js b/src/api/business/reportPreparation.js
index 4bef502..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
})
}
@@ -153,4 +145,23 @@
method: 'get',
params: params
})
-}
\ No newline at end of file
+}
+
+
+export function getURL(params) {
+ return resquest({
+ url: '/file/attachmentType/getURL',
+ method: 'get',
+ params: params
+ })
+}
+
+
+ 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