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

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

@@ -0,0 +1,26 @@
import request from '@/utils/request'
// 查询轧辊磨削记录列表
export function listRollGrind(rollId) {
return request({ url: '/mes/rollGrind/list', method: 'get', params: { rollId } })
}
// 查询月度汇总
export function getMonthlyStats(rollId, year) {
return request({ url: '/mes/rollGrind/monthlyStats', method: 'get', params: { rollId, year } })
}
// 新增磨削记录
export function addRollGrind(data) {
return request({ url: '/mes/rollGrind', method: 'post', data })
}
// 修改磨削记录
export function updateRollGrind(data) {
return request({ url: '/mes/rollGrind', method: 'put', data })
}
// 删除磨削记录
export function delRollGrind(grindId) {
return request({ url: '/mes/rollGrind/' + grindId, method: 'delete' })
}