轧辊提交
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function listPlan(query) {
|
||||
return request({ url: '/mill/plan/list', method: 'get', params: query })
|
||||
return request({ url: '/mill/production-plan/list', method: 'get', params: query })
|
||||
}
|
||||
export function getPlan(id) {
|
||||
return request({ url: `/mill/plan/${id}`, method: 'get' })
|
||||
return request({ url: `/mill/production-plan/${id}`, method: 'get' })
|
||||
}
|
||||
export function addPlan(data) {
|
||||
return request({ url: '/mill/plan', method: 'post', data })
|
||||
return request({ url: '/mill/production-plan', method: 'post', data })
|
||||
}
|
||||
export function updatePlan(data) {
|
||||
return request({ url: '/mill/plan', method: 'put', data })
|
||||
return request({ url: '/mill/production-plan', method: 'put', data })
|
||||
}
|
||||
export function delPlan(id) {
|
||||
return request({ url: `/mill/plan/${id}`, method: 'delete' })
|
||||
return request({ url: `/mill/production-plan/${id}`, method: 'delete' })
|
||||
}
|
||||
export function moveUpPlan(id) {
|
||||
return request({ url: `/mill/plan/moveUp/${id}`, method: 'put' })
|
||||
return request({ url: `/mill/production-plan/moveUp/${id}`, method: 'put' })
|
||||
}
|
||||
export function moveDownPlan(id) {
|
||||
return request({ url: `/mill/plan/moveDown/${id}`, method: 'put' })
|
||||
return request({ url: `/mill/production-plan/moveDown/${id}`, method: 'put' })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user