import { FormSchema } from '@/components/Form'; import { BasicColumn } from '@/components/Table'; export const countStatisticsColumns: BasicColumn[] = [ { title: '责任单位', width: 150, dataIndex: 'dutyWorkplace', }, { title: '行政区划', dataIndex: 'adminDivision', width: 150, }, { title: '已提交稿件数量', dataIndex: 'countNumber', width: 150, sorter: true, } ]; export const searchFormSchema: FormSchema[] = [ { label: '责任单位', field: 'dutyWorkplace', component: 'Input', colProps: { span: 6 }, }, { label: '行政区划', field: 'adminDivision', component: 'Input', colProps: { span: 6 }, }, ] export const countStatisticsFormSchema: FormSchema[] = [ {label:"id", field: 'id', component: 'Input', show:false, }, { label: '责任单位', field: 'dutyWorkplace', required: true, component: 'Select', componentProps: { options:[] }, colProps: { span:12}, }, { label: '行政区划', field: 'adminDivision', required: true, component: 'Select', componentProps: { options:[] }, colProps: { span:12 }, }, { label: '已提交稿件数量', field: 'countNumber', component: 'InputNumber', required: true, colProps: { span: 12 }, } ];