这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
1.4 KiB

import { useLocalization } from '/@/hooks/abp/useLocalization';
import { FormProps } from '/@/components/Form';
const { L } = useLocalization('AbpAuditLogging');
export function getSearchFormSchemas(): Partial<FormProps> {
return {
labelWidth: 100,
fieldMapToTime: [
['dateRange', ['startTime', 'endTime'], ['YYYY-MM-DDT00:00:00', 'YYYY-MM-DDT00:00:00']],
],
schemas: [
{
field: 'applicationName',
component: 'Input',
label: L('ApplicationName'),
colProps: { span: 6 },
},
{
field: 'userName',
component: 'Input',
label: L('UserName'),
colProps: { span: 6 },
},
{
field: 'clientId',
component: 'Input',
label: L('ClientId'),
colProps: { span: 6 },
},
{
field: 'identity',
component: 'Input',
label: L('Identity'),
colProps: { span: 6 },
},
{
field: 'actionName',
component: 'Input',
label: L('ActionName'),
colProps: { span: 6 },
},
{
field: 'correlationId',
component: 'Input',
label: L('CorrelationId'),
colProps: { span: 6 },
},
{
field: 'dateRange',
component: 'RangePicker',
label: L('StartTime'),
colProps: { span: 12 },
componentProps: {
style: {
width: '100%',
},
},
},
],
};
}