feat:【ele】【crm】statistics 的部分(除 performance 外)

This commit is contained in:
YunaiV
2025-11-19 09:17:14 +08:00
parent 7baf8d7e06
commit 9dbfe579e2
20 changed files with 35 additions and 49 deletions

View File

@@ -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',