轧辊提交

This commit is contained in:
2026-04-29 14:04:12 +08:00
parent 01b6b810a6
commit 7e67bae35f
4 changed files with 34 additions and 34 deletions

View File

@@ -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' })
}