29 lines
1.9 KiB
Vue
29 lines
1.9 KiB
Vue
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: 'mixActAddress' },
|
|
{ title: '动作名称', align: 'center', dataIndex: 'mixActName' },
|
|
{ title: '写入时间', align: 'center', dataIndex: 'writeTime' },
|
|
{ title: '读写标识', align: 'center', dataIndex: 'rwFlag' },
|
|
];
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
{ label: '机台编号', field: 'equipId', component: 'JInput', colProps: { span: 6 } },
|
|
{ label: '动作地址', field: 'mixActAddress', 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: 'mixActAddress', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
|
{ label: '动作名称', field: 'mixActName', 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 } },
|
|
];
|