feat: 新增酸轧系统实时跟踪和实绩功能

- 添加实时跟踪页面,支持查询Gauge和Shape数据
- 新增实绩页面,展示钢卷生产数据和工艺图表
- 优化钢卷追踪结果展示,增加创建步骤卷号显示
- 调整酸轧系统菜单结构,新增"实绩"和"实时"选项
- 扩展工艺图表展示,增加开卷机、温度等参数
- 修改计划列表分页大小为10
- 移除无用代码和注释
This commit is contained in:
2026-04-29 10:40:16 +08:00
parent 5a56094e4f
commit 73c461f0e4
10 changed files with 762 additions and 59 deletions

View File

@@ -162,8 +162,6 @@ const DICT_SPEC_TYPE = 'wms_process_spec_type'
const DICT_LINE = 'wms_process_spec_line'
const DEFAULT_SPEC_TYPES = [
{ dictLabel: '工艺规程', dictValue: 'PROCESS', dictSort: 10 },
{ dictLabel: '标准', dictValue: 'STANDARD', dictSort: 20 }
]
export default {
@@ -303,19 +301,19 @@ export default {
}
let tableLines = []
try {
const res = await listProductionLine({ pageNum: 1, pageSize: 500 })
tableLines = (res.rows || []).map(p => {
const idStr = this.normalizeLineIdString(p.lineId) || (p.lineId != null ? String(p.lineId).trim() : '')
return {
lineId: idStr,
lineName: p.lineName,
lineCode: p.lineCode
}
}).filter(p => p.lineId)
} catch (e2) {
console.error('产线列表加载失败', e2)
}
// try {
// const res = await listProductionLine({ pageNum: 1, pageSize: 500 })
// tableLines = (res.rows || []).map(p => {
// const idStr = this.normalizeLineIdString(p.lineId) || (p.lineId != null ? String(p.lineId).trim() : '')
// return {
// lineId: idStr,
// lineName: p.lineName,
// lineCode: p.lineCode
// }
// }).filter(p => p.lineId)
// } catch (e2) {
// console.error('产线列表加载失败', e2)
// }
const tableIdSet = new Set(tableLines.map(l => String(l.lineId)))
const next = []