This commit is contained in:
qsh
2024-07-18 18:17:47 +08:00
parent f45123126d
commit f56305505f
9 changed files with 231 additions and 119 deletions

20
src/api/home/salary.js Normal file
View File

@@ -0,0 +1,20 @@
import request from '@/config/axios'
// 生成工资条
export const createSalarySlip = async (data) => {
return await request.post({ url: '/admin-api/oa/user-salary-grant/create', data })
}
// 导入工资条
export const importSalarySlip = async (params) => {
return await request.get({ url: '/admin-api/oa/user-salary-grant/import', params })
}
// 修改工资条
export const updateSalarySlip = async (data) => {
return await request.put({ url: '/admin-api/oa/user-salary-grant/update', data })
}
// 封存
export const sealupSalarySlip = async (data) => {
return await request.post({ url: '/admin-api/oa/user-salary-grant/confirm', data })
}