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
| export const compareItem = {
| type: 'none', // year-yoy/month-yoy等
| resultData: 'percent', // 对比差sub,百分比percent等
| field: '',
| custom: {
| field: '',
| calcType: '0', // 0-增长值,1-增长率
| timeType: '0', // 0-固定日期,1-日期区间
| currentTime: '',
| compareTime: '',
| currentTimeRange: [],
| compareTimeRange: []
| }
| }
|
| export const compareYearList = [{ name: 'year_mom', value: 'year_mom' }]
|
| export const compareMonthList = [
| { name: 'month_mom', value: 'month_mom' },
| { name: 'year_yoy', value: 'year_yoy' }
| ]
|
| export const compareDayList = [
| { name: 'day_mom', value: 'day_mom' },
| { name: 'month_yoy', value: 'month_yoy' },
| { name: 'year_yoy', value: 'year_yoy' }
| ]
|
|