123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- import http from '@/utils/request'
- // 薪酬计算
- // 计算配置 - 分页查询
- export function getConfigPage (data) {
- return http.get('/configurations/page', data)
- }
- // 计算配置 - 获取分类字典
- export function getConfigCateGories (data) {
- return http.get('/configurations/categories', data)
- }
- // 计算配置 - 删除配置
- export function deleteConfig (id) {
- return http.delete(`/configurations/${id}`)
- }
- // 计算配置 - 查新配置
- export function getConfig (id) {
- return http.get(`/configurations/${id}`)
- }
- // 计算配置 - 新增配置
- export function addConfig (param) {
- return http.post('/configurations', param)
- }
- // 计算配置 - 更新配置
- export function updateConfig (param) {
- return http.put('/configurations', param)
- }
- // 薪酬对比 - 钻取查询
- export function getComparisonByEmployee (param) {
- return http.post('/employee/performance/record/page', param)
- }
- // 薪酬对比 - 对比员工清单
- export function getComparisonPage (param) {
- return http.post('/employee/performance/record/employee/page', param)
- }
- // 薪酬对比 - 上传手工模版
- export function uploadComparisonTemplate (param) {
- return http.upload('/employee/performance/record/manual/upload', param)
- }
- // 薪酬对比 - 下载手工模版
- export function downloadComparisonTemplate () {
- return http.download('/employee/performance/record/download/template')
- }
- // 薪酬对比 - 查看已确认绩效
- export function getComparisonConfirm (data) {
- return http.post('/employee/performance/confirmation/page', data)
- }
- // 薪酬对比 - 确认绩效
- export function confirmComparisonVersion (data) {
- return http.post('/employee/performance/confirmation/save', data)
- }
- // 工资单 - 分页查询
- export function getPayrollPage (data) {
- return http.post('/employee/payroll/page', data)
- }
- // 工资单 - 导出报表
- export function downloadPayroll (data) {
- return http.download('/employee/payroll/download/export', data)
- }
- // 业绩分配 列表查询
- export function getAllocationPage (data) {
- return http.post('/employee/performance/page', data)
- }
- // 业绩分配 绩效分配
- export function saveAllocationGrant (data) {
- return http.post('/employee/performance/grant', data)
- }
- // 业绩分配 员工类型字典
- export function getAllocationEmployeeCategory (data) {
- return http.post('/employee/performance/category/dict', data)
- }
- // 业绩分配 检查审批状态
- export function checkAllocationSubmitStatus (data) {
- return http.post('/employee/performance/confirmation/check/submit', data)
- }
- // 业绩分配 绩效分配统计
- export function getAllocationStatistics (data) {
- return http.post('/employee/performance/grant/statistics', data)
- }
- // 业绩分配 绩效分配统计
- export function saveAllocation (data) {
- return http.post('/employee/performance/submit/grant', data)
- }
- // 绩效方案 分页查询
- export function getSolutionPage (data) {
- return http.post('/performance/solution/page', data)
- }
- // 绩效方案 删除
- export function deleteSolution (data) {
- return http.post('/performance/solution/delete', data)
- }
- // 绩效方案 详情
- export function getSolutionDetails (data) {
- return http.post('/performance/solution/detail', data)
- }
- // 绩效方案 保存
- export function saveSolution (data) {
- return http.post('/performance/solution/save', data)
- }
|