|
|
|
export default {
|
|
|
|
timeUnits: [
|
|
|
|
// 时间颗粒度
|
|
|
|
{ id: 0, value: '毫秒', format: 'x', cycle: 'YY-M-D HH:mm:ss', granularity: 'millisecond' },
|
|
|
|
{ id: 1, value: '秒', format: 'x', cycle: 'YY-M-D HH:mm:ss', granularity: 'second' },
|
|
|
|
{ id: 2, value: '分', format: 'ss', cycle: 'YY-M-D HH:mm', granularity: 'minute' },
|
|
|
|
{ id: 3, value: '时', format: 'mm', cycle: 'YY-M-D HH时', granularity: 'hour' },
|
|
|
|
{ id: 4, value: '天', format: 'D日 HH:mm', cycle: 'YY-M-D', granularity: 'day' },
|
|
|
|
{ id: 5, value: '周', format: 'D日 HH:mm', cycle: '', granularity: 'week' },
|
|
|
|
{ id: 6, value: '月', format: 'D日 H:m', cycle: 'YYYY年', granularity: 'month' },
|
|
|
|
{ id: 7, value: '季度', format: '', cycle: 'YYYY年', granularity: 'quarter' },
|
|
|
|
{ id: 8, value: '年', format: 'YYYY', cycle: '', granularity: 'year' },
|
|
|
|
{ id: 9, value: '年代', format: '', cycle: '', granularity: '' },
|
|
|
|
{ id: 10, value: '世纪', format: '', cycle: '', granularity: '' },
|
|
|
|
{ id: 11, value: '千年', format: '', cycle: '', granularity: '' },
|
|
|
|
],
|
|
|
|
};
|