medical-store-performance-report.js
1.39 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
import request from '@/utils/request'
/**
* 获取医美门店业绩报表
* @param {{ startDate: string, endDate: string, sectionType: string, teacherId?: string }} data
*/
export function getMedicalStorePerformanceReport(data) {
return request({
url: '/api/Extend/LqMedicalStorePerformanceReport/GetReport',
method: 'post',
data
})
}
/**
* 获取医美门店业绩报表筛选选项(部门 + 老师)
*/
export function getMedicalStorePerformanceFilterOptions() {
return request({
url: '/api/Extend/LqMedicalStorePerformanceReport/GetFilterOptions',
method: 'get'
})
}
/**
* 获取医美门店业绩报表成交明细
* @param {{
* startDate: string,
* endDate: string,
* storeId: string,
* sectionType: string,
* teacherId?: string,
* dealScope: 'All' | 'PreSales' | 'AfterSales',
* currentPage: number,
* pageSize: number
* }} data
*/
export function getMedicalStorePerformanceDealDetail(data) {
return request({
url: '/api/Extend/LqMedicalStorePerformanceReport/GetDealDetail',
method: 'post',
data
})
}
/**
* 导出医美门店业绩报表门店明细
* @param {{ startDate: string, endDate: string, sectionType: string, teacherId?: string }} data
*/
export function exportMedicalStorePerformanceReport(data) {
return request({
url: '/api/Extend/LqMedicalStorePerformanceReport/ExportReport',
method: 'post',
data
})
}