From 32f10392ab00b07e85c0b4229037c30af7c3f28e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 27 一月 2026 10:42:49 +0800
Subject: [PATCH] 浪潮对接单点登录:mis调整2
---
src/api/personnelManagement/onboarding.js | 41 ++++++++++++++++++++++++-----------------
1 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/src/api/personnelManagement/onboarding.js b/src/api/personnelManagement/onboarding.js
index 7212afa..2632bbd 100644
--- a/src/api/personnelManagement/onboarding.js
+++ b/src/api/personnelManagement/onboarding.js
@@ -1,42 +1,49 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
// 鏌ヨ浜哄憳鍏ヨ亴鍒楄〃
export function staffJoinListPage(query) {
return request({
- url: '/staff/staffJoinLeaveRecord/listPage',
- method: 'get',
+ url: "/staff/staffJoinLeaveRecord/listPage",
+ method: "get",
params: query,
- })
+ });
}
// 鏂板浜哄憳鍏ヨ亴
export function staffJoinAdd(query) {
return request({
- url: '/staff/staffJoinLeaveRecord/add',
- method: 'post',
+ url: "/staff/staffJoinLeaveRecord/add",
+ method: "post",
data: query,
- })
+ });
}
// 淇敼浜哄憳鍏ヨ亴
export function staffJoinUpdate(query) {
return request({
- url: '/staff/staffJoinLeaveRecord/update',
- method: 'post',
+ url: "/staff/staffJoinLeaveRecord/update",
+ method: "post",
data: query,
- })
+ });
}
// 鏌ヨ鍛樺伐鍏ヨ亴淇℃伅
export function getStaffJoinInfo(query) {
return request({
- url: '/staff/staffJoinLeaveRecord/' + query,
- method: 'get',
+ url: "/staff/staffJoinLeaveRecord/" + query,
+ method: "get",
data: query,
- })
+ });
}
// 鍒犻櫎鍛樺伐
export function staffJoinDel(query) {
return request({
- url: '/staff/staffJoinLeaveRecord/del',
- method: 'delete',
+ url: "/staff/staffJoinLeaveRecord/del",
+ method: "delete",
data: query,
- })
-}
\ No newline at end of file
+ });
+}
+
+export function getStaffOnJob() {
+ return request({
+ url: "/staff/staffOnJob/list",
+ method: "get",
+ });
+}
--
Gitblit v1.9.3