提交酸扎串联内容以及磨辊间

This commit is contained in:
2026-05-09 16:44:39 +08:00
parent 43fb05291e
commit 41d561f2f6
21 changed files with 1747 additions and 1 deletions

View File

@@ -48,3 +48,38 @@ export function getTimingRealtimeData(matId) {
method: 'get'
})
}
// 轧辊数据type/status 可选过滤
export function getRollData(type, status) {
return request({
url: '/sql-server-api/rolls',
method: 'get',
params: { type, status }
})
}
// 换辊历史(按轧辊号,配辊页用)
export function getRollHistory(rollId) {
return request({
url: '/sql-server-api/rolls/' + rollId + '/history',
method: 'get'
})
}
// 换辊历史列表(分页 + 过滤,历史页用)
export function getRollHistoryList(page = 1, pageSize = 50, rollId, standId) {
return request({
url: '/sql-server-api/rolls/history',
method: 'get',
params: { page, pageSize, rollId, standId }
})
}
// 换辊历史总条数
export function getRollHistoryCount(rollId, standId) {
return request({
url: '/sql-server-api/rolls/history/count',
method: 'get',
params: { rollId, standId }
})
}