这是基于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.
 
 
 
 
 
 

44 lines
933 B

import { useLocalization } from '/@/hooks/abp/useLocalization';
import { FormProps, FormSchema } from '/@/components/Form';
const { L } = useLocalization('AbpSaas');
export function getSearchFormSchemas(): Partial<FormProps> {
return {
labelWidth: 120,
schemas: [
{
field: 'filter',
component: 'Input',
label: L('Search'),
colProps: { span: 24 },
},
],
};
}
export function getModalFormSchemas(): FormSchema[] {
return [
{
field: 'id',
component: 'Input',
label: 'id',
show: false,
dynamicDisabled: true,
},
{
field: 'concurrencyStamp',
component: 'Input',
label: 'concurrencyStamp',
show: false,
dynamicDisabled: true,
},
{
field: 'displayName',
component: 'Input',
label: L('DisplayName:EditionName'),
colProps: { span: 24 },
required: true,
},
];
}