综合办公系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * @Author: wrh
  3. * @Date: 2024-09-19 16:09:52
  4. * @LastEditors: wrh
  5. * @LastEditTime: 2024-09-27 11:21:46
  6. */
  7. import request from '@/utils/request'
  8. // 查询员工工资列表
  9. export function listWage(query) {
  10. return request({
  11. url: '/oa/wage/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询员工工资详细
  17. export function getWage(wageId) {
  18. return request({
  19. url: '/oa/wage/' + wageId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增员工工资
  24. export function addWage(data) {
  25. return request({
  26. url: '/oa/wage',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改员工工资
  32. export function updateWage(data) {
  33. return request({
  34. url: '/oa/wage',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除员工工资
  40. export function delWage(wageId) {
  41. return request({
  42. url: '/oa/wage/' + wageId,
  43. method: 'delete'
  44. })
  45. }
  46. // 删除员工工资
  47. export function delWageBatch(performanceId) {
  48. return request({
  49. url: '/oa/wage/batch/' + performanceId,
  50. method: 'delete'
  51. })
  52. }