|
@@ -56,6 +56,7 @@
|
|
|
</PageWrapper>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
+ import { type Recordable } from '@vben/types';
|
|
|
import { computed, defineComponent, unref, ref } from 'vue';
|
|
|
import { BasicForm, FormSchema, ApiSelect } from '/@/components/Form/index';
|
|
|
import { CollapseContainer } from '/@/components/Container';
|
|
@@ -624,10 +625,28 @@
|
|
|
{
|
|
|
field: '[startTime, endTime]',
|
|
|
label: '时间范围',
|
|
|
+ component: 'TimeRangePicker',
|
|
|
+ componentProps: {
|
|
|
+ format: 'HH:mm:ss',
|
|
|
+ placeholder: ['开始时间', '结束时间'],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: '[startDate, endDate]',
|
|
|
+ label: '日期范围',
|
|
|
+ component: 'RangePicker',
|
|
|
+ componentProps: {
|
|
|
+ format: 'YYYY-MM-DD',
|
|
|
+ placeholder: ['开始日期', '结束日期'],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: '[startDateTime, endDateTime]',
|
|
|
+ label: '日期时间范围',
|
|
|
component: 'RangePicker',
|
|
|
componentProps: {
|
|
|
format: 'YYYY-MM-DD HH:mm:ss',
|
|
|
- placeholder: ['开始时间', '结束时间'],
|
|
|
+ placeholder: ['开始日期、时间', '结束日期、时间'],
|
|
|
showTime: { format: 'HH:mm:ss' },
|
|
|
},
|
|
|
},
|