api.js
1.96 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
74
// const api = wx.$request
import api from '~/utils/request/request.js'
// const api = wx.$request
module.exports = {
/** 工资申诉概览信息查询:
* appealMonth-申诉月份(YYYY-MM)
*/
getSummaryInfo(data) {
return api.post(
'dj.api.staff.miniprogram.salaryapply.summary',
data,
[],
'/rop-dj-staff-miniprogram/router'
)
},
/** 工资申诉订单统计查询
* appealMonth-申诉月份(YYYY-MM)
* sceneType-(0-会员权益/升级;1-精品升级;2-次新车转化;3-售后众筹;4-积分商城)
* merchantId- 4S店ID
*/
getStatistics(data) {
return api.post(
'dj.api.staff.miniprogram.salaryapply.order.statistics',
data,
[],
'/rop-dj-staff-miniprogram/router'
)
},
/** 工资申诉复议记录查询
* appealMonth-申诉月份(YYYY-MM)
*/
getReplyList(data) {
return api.post(
'dj.api.staff.miniprogram.salaryapply.reply.list',
data,
[],
'/rop-dj-staff-miniprogram/router'
)
},
/** 新增平板录音申诉
* appealType-申诉类型(1:考勤,2:平板录音)
* appealMonth-sceneType-merchantId-padRecordNum
*/
createSalaryapply(data) {
return api.post(
'dj.api.staff.miniprogram.salaryapply.pad.create',
data,
[],
'/rop-dj-staff-miniprogram/router'
)
},
/** 工资申诉最新记录查询
* appealMonth-申诉月份(YYYY-MM)
* appealType-申诉类型(1:考勤,2:平板录音)
*/
getApplyLatest(data) {
return api.post(
'dj.api.staff.miniprogram.salaryapply.latest',
data,
[],
'/rop-dj-staff-miniprogram/router'
)
},
/** 4s店查询对应的园区店 */
querySceneRefByShop(data) {
return api.post('dj.api.scenemerchantref.querySceneRefByShop', data)
},
/** 获取所有销售列表 */
getEmployeeAllList(data) {
return api.post('dj.api.smartcarlife.employee.getAll', data)
},
}