dailyReportApi.js
976 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
38
39
40
import api from '~/utils/request/request'
const { appId } = wx.getAccountInfoSync().miniProgram
const CODE = {
platformEntrance: 'SALES_ASSISTANT',
productCode: 'PC00c3'
}
class dailyReportApi {
// 销售员工日报详情查询
staffDailyReportDetail(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.detail',
...data
})
}
// 查询当周员工日报是否填写列表
staffDailyReportWeeklyList(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.weekly.list',
...data
})
}
// 销售员工日报填报
staffDailyReportSave(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.save',
...data
})
}
// 大区经理、总监视角销售人员日报概览查询
staffDailyReportManagerViewSelect(data) {
return api.post({
method: 'dj.api.sale.staff.dailyReport.manager.view.select',
...data
})
}
}
export default dailyReportApi