bonus.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import http from '@/utils/request'
  2. // 业绩分配 列表查询
  3. export function getAllocationPage (data) {
  4. return http.post('/employee/performance/page', data)
  5. }
  6. // 业绩分配 绩效分配
  7. export function saveAllocationGrant (data) {
  8. return http.post('/employee/performance/grant', data)
  9. }
  10. // 业绩分配 员工类型字典
  11. export function getAllocationEmployeeCategory (data) {
  12. return http.post('/employee/performance/category/dict', data)
  13. }
  14. // 业绩分配 检查审核状态
  15. // export function checkAllocationSubmitStatus (data) {
  16. // return http.post('/employee/performance/confirmation/check/submit', data)
  17. // }
  18. // 业绩分配 绩效分配统计
  19. export function getAllocationStatistics (data) {
  20. return http.post('/employee/performance/grant/statistics', data)
  21. }
  22. // 业绩分配 绩效分配统计
  23. export function saveAllocation (data) {
  24. return http.post('/employee/performance/submit/grant', data)
  25. }
  26. // 业绩分配 获取可分配机构类型
  27. export function getAllocationOrganizationCategory () {
  28. return http.post('/performance/salary/manage/current/employee/organization/category')
  29. }
  30. // 奖金审核 列表
  31. export function getBonusApprovePage (data) {
  32. return http.post('/employee/performance/confirmation/page', data)
  33. }
  34. // 奖金审核 审核
  35. export function saveBonusApproveConfirmation (data) {
  36. return http.post('/employee/performance/confirmation/approve', data)
  37. }
  38. // 奖金设置 列表
  39. export function getBonusSettingPage (data) {
  40. return http.post('/performance/configuration/page', data)
  41. }
  42. // 奖金设置 保存
  43. export function saveBonusSetting (data) {
  44. return http.post('/performance/configuration/save', data)
  45. }
  46. // 绩效分配管理配置列表
  47. export function getAllocationConfigList (data) {
  48. return http.post('/performance/salary/manage/employee/page', data)
  49. }
  50. // 绩效分配管理配置 保存
  51. export function saveAllocationConfig (data) {
  52. return http.post('/performance/salary/manage/employee/save', data)
  53. }
  54. // 绩效分配管理配置 删除
  55. export function deleteAllocationConfig (data) {
  56. return http.post('performance/salary/manage/employee/delete', data)
  57. }