From f7258ebfaa7775f89c727a5356b851030a61ea37 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 06 三月 2026 15:13:43 +0800
Subject: [PATCH] 排班接口对接
---
src/api/personnelManagement/class.js | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/api/personnelManagement/class.js b/src/api/personnelManagement/class.js
index cdba456..f5ae299 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,7 +68,7 @@
// 缁╂晥绠$悊-鐝-瀵煎嚭
export function exportFile(query) {
return request({
- url: "/performanceShift/export",
+ url: "/personalShift/export",
method: "get",
params: query,
});
@@ -86,7 +86,7 @@
// 缁╂晥绠$悊-鐝-鐝鐘舵�佷慨鏀�
export function update(data) {
return request({
- url: "/performanceShift/update",
+ url: "/personalShift/update",
method: "post",
data: data,
});
@@ -105,4 +105,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