import { BasicColumn, FormSchema } from '/@/components/Table'; export const columns: BasicColumn[] = [ { title: '机台编号', align: 'center', dataIndex: 'equipId' }, { title: '机台名称', align: 'center', dataIndex: 'equipName' }, { title: '机台类型', align: 'center', dataIndex: 'equipType' }, { title: '控制参数地址', align: 'center', dataIndex: 'mixConAddress' }, { title: '控制参数名称', align: 'center', dataIndex: 'mixConName' }, { title: '写入时间', align: 'center', dataIndex: 'writeTime' }, { title: '读写标识', align: 'center', dataIndex: 'rwFlag' }, ]; export const searchFormSchema: FormSchema[] = [ { label: '机台编号', field: 'equipId', component: 'JInput', colProps: { span: 6 } }, { label: '控制参数地址', field: 'mixConAddress', component: 'InputNumber', colProps: { span: 6 } }, ]; export const formSchema: FormSchema[] = [ { label: '', field: 'id', component: 'Input', show: false }, { label: '机台编号', field: 'equipId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '机台名称', field: 'equipName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '机台类型', field: 'equipType', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '控制参数地址', field: 'mixConAddress', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '控制参数名称', field: 'mixConName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 24 } }, { label: '写入时间', field: 'writeTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '读取时间', field: 'readTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } }, { label: '读写标识', field: 'rwFlag', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } }, ];