入职离职初步完成

This commit is contained in:
2025-02-16 18:41:56 +08:00
parent 75acf69848
commit 15a8480784
33 changed files with 3438 additions and 5 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询离职管理列表
export function listOffboarding(query) {
return request({
url: '/system/offboarding/list',
method: 'get',
params: query
})
}
// 查询离职管理详细
export function getOffboarding(offboardingId) {
return request({
url: '/system/offboarding/' + offboardingId,
method: 'get'
})
}
// 新增离职管理
export function addOffboarding(data) {
return request({
url: '/system/offboarding',
method: 'post',
data: data
})
}
// 修改离职管理
export function updateOffboarding(data) {
return request({
url: '/system/offboarding',
method: 'put',
data: data
})
}
// 删除离职管理
export function delOffboarding(offboardingId) {
return request({
url: '/system/offboarding/' + offboardingId,
method: 'delete'
})
}