From ed36047f6ce0b91dad25efc10c8a0e83dd533a68 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 20 三月 2026 17:15:37 +0800
Subject: [PATCH] change
---
src/api/personnelManagement/class.js | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/api/personnelManagement/class.js b/src/api/personnelManagement/class.js
index cdba456..19f742f 100644
--- a/src/api/personnelManagement/class.js
+++ b/src/api/personnelManagement/class.js
@@ -5,7 +5,7 @@
// 缁╂晥绠$悊-鐝-鍒嗛〉鏌ヨ
export function page(query) {
return request({
- url: "/performanceShift/page",
+ url: "/personalShift/page",
method: "get",
params: query,
});
@@ -14,7 +14,7 @@
// 缁╂晥绠$悊-鐝-骞翠唤鍒嗛〉鏌ヨ
export function pageYear(query) {
return request({
- url: "/performanceShift/pageYear",
+ url: "/personalShift/pageYear",
method: "get",
params: query,
});
@@ -23,7 +23,7 @@
// 缁╂晥绠$悊-鐝-鎺掔彮
export function add(data) {
return request({
- url: "/performanceShift/add",
+ url: "/personalShift/add",
method: "post",
data: data,
});
@@ -68,9 +68,10 @@
// 缁╂晥绠$悊-鐝-瀵煎嚭
export function exportFile(query) {
return request({
- url: "/performanceShift/export",
+ url: "/personalShift/export",
method: "get",
params: query,
+ responseType: "blob",
});
}
@@ -86,7 +87,7 @@
// 缁╂晥绠$悊-鐝-鐝鐘舵�佷慨鏀�
export function update(data) {
return request({
- url: "/performanceShift/update",
+ url: "/personalShift/update",
method: "post",
data: data,
});
@@ -105,4 +106,13 @@
url: '/system/user/userListNoPage',
method: 'get'
})
+}
+
+// 鏌ヨ鍦ㄨ亴鍛樺伐鍙拌处
+export function staffOnJobListPage(query) {
+ return request({
+ url: '/staff/staffOnJob/listPage',
+ method: 'get',
+ params: query,
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3