新增多个控制器以支持密炼相关功能,包括报警记录、自动卸料日志、物料对应、称量校验日志、密炼机动作状态等,提供分页查询、通过ID查询及导出Excel功能,增强系统的可用性与数据管理能力。

This commit is contained in:
geht
2026-06-02 18:53:40 +08:00
parent 38f22ef8bd
commit 2d142dbc9c
173 changed files with 7105 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
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 } },
];