feat:【ele】【crm】statistics 的部分(除 performance 外)
This commit is contained in:
@@ -31,17 +31,18 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
fieldName: 'times',
|
||||
label: '时间范围',
|
||||
component: 'RangePicker',
|
||||
// TODO @AI:这里有问题,只选择年份
|
||||
componentProps: {
|
||||
...getRangePickerDefaultProps(),
|
||||
presets: {},
|
||||
picker: 'year',
|
||||
showTime: false,
|
||||
format: 'YYYY',
|
||||
ranges: {},
|
||||
},
|
||||
defaultValue: [
|
||||
formatDateTime(beginOfDay(new Date(new Date().getFullYear(), 0, 1))),
|
||||
formatDateTime(endOfDay(new Date(new Date().getFullYear(), 11, 31))),
|
||||
] as [Date, Date],
|
||||
],
|
||||
},
|
||||
{
|
||||
fieldName: 'deptId',
|
||||
|
||||
Reference in New Issue
Block a user