salaryManagement.js 2.13 KB
/*
 * @Author: 'wangzhihui' '1733904062@qq.com'
 * @Date: 2026-01-21 11:17:18
 * @LastEditors: 'wangzhihui' '1733904062@qq.com'
 * @LastEditTime: 2026-01-22 17:11:52
 * @FilePath: \dj-car-life-system\src\api\salaryManagement.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 工资绩效
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)
}