综合办公系统
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.

performance.js 999B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * @Author: wrh
  3. * @Date: 2024-09-23 14:23:36
  4. * @LastEditors: wrh
  5. * @LastEditTime: 2024-09-23 14:31:00
  6. */
  7. import request from '@/utils/request'
  8. // 查询绩效审批列表
  9. export function listPerformance(query) {
  10. return request({
  11. url: '/oa/performance/list',
  12. method: 'get',
  13. params: query
  14. })
  15. }
  16. // 查询绩效审批详细
  17. export function getPerformance(performanceId) {
  18. return request({
  19. url: '/oa/performance/' + performanceId,
  20. method: 'get'
  21. })
  22. }
  23. // 新增绩效审批
  24. export function addPerformance(data) {
  25. return request({
  26. url: '/oa/performance',
  27. method: 'post',
  28. data: data
  29. })
  30. }
  31. // 修改绩效审批
  32. export function updatePerformance(data) {
  33. return request({
  34. url: '/oa/performance',
  35. method: 'put',
  36. data: data
  37. })
  38. }
  39. // 删除绩效审批
  40. export function delPerformance(performanceId) {
  41. return request({
  42. url: '/oa/performance/' + performanceId,
  43. method: 'delete'
  44. })
  45. }