api.js
892 Bytes
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
// const api = wx.$request
import api from '~/utils/request/request.js'
// const api = wx.$request
module.exports = {
/** 查询当周员工日报是否填写列表 */
dailyReportWeekly(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.weekly.list',
...data,
})
},
/** 销售员工日报详情查询 */
dailyReportWeeklyDetail(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.detail',
...data,
})
},
/** 销售员工日报填报 */
dailyReportSave(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.save',
...data,
})
},
/** 大区经理、总监视角销售人员日报查询 */
dailyReportSelect(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.manager.view.select',
...data,
})
},
}