salaryManagement.js 1.9 KB
// 工资绩效
import request from "./request"

// 提成方案审批列表
export function getConfigApprovetList(data) {
  data.method = `dj.staff.api.performance.config.approve.page`
  return request(data)
}

// 门店提成方案列表(以门店为维度)
export function getStoreConfigList(data) {
  data.method = `dj.staff.api.performance.store.config.page`
  return request(data)
}

// 提成方案列表(以方案为维度)
export function getConfigList(data) {
  data.method = `dj.staff.api.performance.config.page`
  return request(data)
}

// 提成方案审批详情
export function getConfigApprovetDetail(data) {
  data.method = `dj.staff.api.performance.config.approve.detail`
  return request(data)
}

// 查询系统审批人查询人列表
export function getApproveConfig(data = {}) {
  data.method = `dj.staff.api.performance.approve.config.get`
  return request(data)
}

//考勤/工资申诉分页查询
export function getSalaryAppealList(data) {
  data.method = `dj.staff.api.salaryappeal.page`
  return request(data)
}

//查询申诉详情
export function getSalaryAppealDetail(data) {
  data.method = `dj.staff.api.salaryappeal.detail`
  return request(data)
}
//工资申诉去答复
export function replySalaryAppeal(data) {
  data.method = `dj.staff.api.salaryappeal.reply`
  return request(data)
}
//绩效规则配置详情

export function getPerfRuleConfigDetail(data = {}) {
  data.method = `dj.staff.api.perf.rule.config.detail`
  return request(data)
}
// 绩效规则配置编辑
export function updatePerfRuleConfig(data) {
  data.method = `dj.staff.api.perf.rule.config.update`
  return request(data)
}
// 绩效统计导出
export function exportPerfRule(data) {
  data.method = `dj.staff.api.perf.rule.export`
  return request(data)
}
//提成方案提交审批

export function submitConfigApprove(data) {
  data.method = `dj.staff.api.performance.config.approve.submit`
  return request(data)
}