新增多个控制器以支持密炼相关功能,包括报警记录、自动卸料日志、物料对应、称量校验日志、密炼机动作状态等,提供分页查询、通过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,37 @@
import { BasicColumn, FormSchema } from '/@/components/Table';
export const columns: BasicColumn[] = [
{ title: 'GUID', align: 'center', dataIndex: 'guid' },
{ title: '设备ID', align: 'center', dataIndex: 'equipId' },
{ title: '机台名称', align: 'center', dataIndex: 'equipName' },
{ title: '计划编号', align: 'center', dataIndex: 'planId' },
{ title: '卸料车号', align: 'center', dataIndex: 'xlCarNum' },
{ title: '卸料条码', align: 'center', dataIndex: 'xlBarcode' },
{ title: 'RFID', align: 'center', dataIndex: 'rfid' },
{ title: '写入时间', align: 'center', dataIndex: 'writeTime' },
{ title: '交互标识', align: 'center', dataIndex: 'mesFlag' },
];
export const searchFormSchema: FormSchema[] = [
{ label: '计划编号', field: 'planId', component: 'JInput', colProps: { span: 6 } },
{
label: '写入时间', field: 'writeTime', component: 'RangePicker',
componentProps: { valueType: 'Date', placeholder: ['开始时间', '结束时间'] },
colProps: { span: 8 },
},
];
export const formSchema: FormSchema[] = [
{ label: '', field: 'id', component: 'Input', show: false },
{ label: 'GUID', field: 'guid', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '设备ID', field: 'equipId', component: 'InputNumber', 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: 'planId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '卸料车号', field: 'xlCarNum', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '卸料条码', field: 'xlBarcode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: 'RFID', field: 'rfid', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '写入时间', field: 'writeTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '读取时间', field: 'readTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '交互标识', field: 'mesFlag', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
];