湖州项目前端
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.

71 lines
1.3 KiB

9 months ago
import { FormSchema } from '@/components/Form';
import { BasicColumn } from '@/components/Table';
import { useDictStore } from '@/store/modules/dict';
export const countStatisticsColumns: BasicColumn[] = [
{
title: '责任单位',
width: 150,
dataIndex: 'fieldName',
},
{
title: '行政区划',
dataIndex: 'ischange',
width: 150,
},
{
title: '已提交稿件数量',
dataIndex: 'isuploadfile',
width: 150,
sorter: true,
}
];
export const searchFormSchema: FormSchema[] = [
{
label: '责任单位',
field: 'fieldName',
component: 'Input',
colProps: { span: 6 },
},
{
label: '行政区划',
field: 'fieldName',
component: 'Input',
colProps: { span: 6 },
},
]
export const countStatisticsFormSchema: FormSchema[] = [
{
label: '责任单位',
field: 'fieldName',
component: 'Input',
dynamicDisabled: true,
colProps: { span:12},
},
{
label: '行政区划',
field: 'ischange',
component: 'DictSelect',
componentProps: {
dictType: 'whether',
},
dynamicDisabled: true,
colProps: { span:12 },
},
{
label: '已提交稿件数量',
field: 'isuploadfile',
component: 'DictSelect',
componentProps: {
dictType: 'whether',
},
required: true,
colProps: { span: 12 },
}
];