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.
69 lines
1.1 KiB
69 lines
1.1 KiB
3 days ago
|
import { FormSchema } from '@/components/Form';
|
||
|
import { BasicColumn } from '@/components/Table';
|
||
|
|
||
|
|
||
|
export const iconiccolumns: BasicColumn[] = [
|
||
|
{
|
||
|
title: '文件名称',
|
||
|
width: 250,
|
||
|
dataIndex: 'name',
|
||
|
},
|
||
|
|
||
|
{
|
||
|
title: '文件类别',
|
||
|
width: 150,
|
||
|
dataIndex: 'periods',
|
||
|
},
|
||
|
{
|
||
|
title: '发布日期',
|
||
|
width: 200,
|
||
|
dataIndex: 'publishTime',
|
||
|
},
|
||
|
];
|
||
|
export const searchFormSchema: FormSchema[] = [
|
||
|
{
|
||
|
label: '文件类别',
|
||
|
field: 'periods',
|
||
|
component: 'Input',
|
||
|
colProps: { span: 5 },
|
||
|
},
|
||
|
{
|
||
|
label: '发布日期',
|
||
|
field: 'publishTime',
|
||
|
component: 'Input',
|
||
|
colProps: { span: 5 },
|
||
|
|
||
|
},
|
||
|
|
||
|
];
|
||
|
export const iconicformSchemas: FormSchema[] = [
|
||
|
{
|
||
|
label: '文件名称',
|
||
|
field: 'name',
|
||
|
component: 'Input',
|
||
|
required: true,
|
||
|
colProps: { span: 12 },
|
||
|
},
|
||
|
|
||
|
{
|
||
|
label: '文件类别',
|
||
|
field: 'periods',
|
||
|
required: true,
|
||
|
component: 'Input',
|
||
|
colProps: { span: 6 },
|
||
|
|
||
|
}, {
|
||
|
label: '发布日期',
|
||
|
field: 'publishTime',
|
||
|
component: 'DatePicker',
|
||
|
componentProps: {
|
||
|
valueFormat: 'YYYY-MM-DD',
|
||
|
|
||
|
},
|
||
|
required: true,
|
||
|
colProps: { span: 6},
|
||
|
|
||
|
},
|
||
|
|
||
|
];
|