综合办公系统
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

performanceStaff.js 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * @Author: wrh
  3. * @Date: 2025-06-05 11:11:47
  4. * @LastEditors: Please set LastEditors
  5. * @LastEditTime: 2025-06-06 09:35:20
  6. */
  7. import request from '@/utils/request'
  8. // 查询cmc员工绩效列表
  9. export function listPerformanceStaff(query) {
  10. return request({
  11. url: '/oa/performanceStaff/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询cmc员工绩效详细
  17. export function getPerformanceStaff(performanceStaffId) {
  18. return request({
  19. url: '/oa/performanceStaff/' + performanceStaffId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增cmc员工绩效
  24. export function addPerformanceStaff(data) {
  25. return request({
  26. url: '/oa/performanceStaff',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改cmc员工绩效
  32. export function updatePerformanceStaff(data) {
  33. return request({
  34. url: '/oa/performanceStaff',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除cmc员工绩效
  40. export function delPerformanceStaff(performanceStaffId) {
  41. return request({
  42. url: '/oa/performanceStaff/' + performanceStaffId,
  43. method: 'delete'
  44. })
  45. }
  46. // 查询部门绩效列表
  47. export function getMonthPerformanceList(query) {
  48. return request({
  49. url: '/oa/performanceStaff/monthPerformance',
  50. method: 'get',
  51. params: query
  52. })
  53. }