为双机架完成轧辊,质量,模型等内容
This commit is contained in:
21
ruoyi-ui/src/api/mill/rollGrind.js
Normal file
21
ruoyi-ui/src/api/mill/rollGrind.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listRollGrind(rollId) {
|
||||
return request({ url: '/mill/roll/grind/list', method: 'get', params: { rollId } })
|
||||
}
|
||||
|
||||
export function getMonthlyStats(rollId, year) {
|
||||
return request({ url: '/mill/roll/grind/monthlyStats', method: 'get', params: { rollId, year } })
|
||||
}
|
||||
|
||||
export function addRollGrind(data) {
|
||||
return request({ url: '/mill/roll/grind', method: 'post', data })
|
||||
}
|
||||
|
||||
export function updateRollGrind(data) {
|
||||
return request({ url: '/mill/roll/grind', method: 'put', data })
|
||||
}
|
||||
|
||||
export function delRollGrind(grindId) {
|
||||
return request({ url: '/mill/roll/grind/' + grindId, method: 'delete' })
|
||||
}
|
||||
Reference in New Issue
Block a user