feat(mes/roll): 新增轧辊磨削记录通用查询和报表页面

1. 新增通用查询接口,支持按轧辊ID、产线ID、时间范围筛选磨削记录
2. 重构后端列表接口,支持不传轧辊ID查询全部记录
3. 修复硬度字段类型转换问题,将未倒角转为0数值
4. 新增磨辊报表页面,支持统计分析和图表展示
This commit is contained in:
2026-05-25 17:31:46 +08:00
parent 95c23462c9
commit 6f7a85025d
8 changed files with 505 additions and 8 deletions

View File

@@ -177,11 +177,14 @@
</el-table-column>
<!-- 操作者自动填入仅展示 -->
<el-table-column label="操作者" align="center" width="72">
<el-table-column label="操作者" align="center" width="100">
<template slot-scope="{row}">
<span :class="isEditing(row) ? 'auto-operator' : ''">
<el-input v-if="isEditing(row)" v-model="editRow.operator"
size="mini" placeholder="选填" />
<span v-else class="remark-text">{{ row.operator || '' }}</span>
<!-- <span :class="isEditing(row) ? 'auto-operator' : ''">
{{ isEditing(row) ? currentUserName : (row.operator || '—') }}
</span>
</span> -->
</template>
</el-table-column>