123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- 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 getComparisonSchemeList (data) {
- return http.post('/employee/performance/record/scheme/page', data)
- }
- // 薪酬对比 - 方案字典
- export function getComparisonSchemeDict (data) {
- return http.post('/employee/performance/record/scheme/dict', 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 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)
- }
- // 绩效计算 模板
- export function getSalaryCalculateTemplate (data) {
- return http.get('/performance/file/tmplate/lists', data)
- }
- // 绩效计算 绩效文件上传(批量)
- export function uploadSalaryCalculateFiles (data, options) {
- return http.upload('/performance/file/upload', data, options)
- }
- // 绩效计算 绩效文件上传历史
- export function getSalaryCalculateFiles (data) {
- return http.post('/performance/file/list', data)
- }
- // 固定薪资 薪酬级别列表
- export function getSalaryFixedLevelList () {
- return http.post('/salary/level/manage/list')
- }
- // 固定薪资 上传
- export function uploadSalaryFixedLevel (data) {
- return http.upload('/salary/level/manage/upload', data)
- }
- // 固定薪资 下载模板
- export function downloadSalaryFixedLevel (data) {
- return http.download('/salary/level/manage/tmplate/export', data)
- }
- // 固定薪资 导出数据
- export function exportSalaryFixedLevel (data) {
- return http.download('/salary/level/manage/download/export', data)
- }
- // 固定薪资 基础薪资
- export function getSalaryFixedList (data) {
- return http.post('/digitizationData/employee/salary/page', data)
- }
- // 固定薪资 基础薪资导出
- export function exportSalaryFixedList (data) {
- return http.download('/digitizationData/employee/basic/salary/download/export', data)
- }
- // 薪酬等级字典
- export function getSalaryLevelDict () {
- return http.post('/salary/level/manage/dict')
- }
- // 固定工资统计分析 机构固定薪资趋势图
- export function getSalaryFixedStatistics (data) {
- return http.post('/organization/basic/salary/month/trend', data)
- }
- // 固定工资统计分析 员工固定薪资趋势图
- export function getSalaryFixedEmployeeStatistics (data) {
- return http.post('/employee/basic/salary/month/trend', data)
- }
- // 客户分润认领
- export function getCustomerProfitSharingClaim (data) {
- return http.post('/customer/performance/customer/page', data)
- }
|