salaryManagement.js
2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* @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)
}