初始化仓库

This commit is contained in:
tao
2025-12-18 14:11:48 +08:00
parent e96f277a68
commit 54ec472bd4
1107 changed files with 158756 additions and 0 deletions

81
api/mes/shiftJob.js Normal file
View File

@@ -0,0 +1,81 @@
import request from '@/utils/request'
// 查询班次作业列表
export function listShiftJob(query) {
return request({
url: '/mes/shiftJob/list',
method: 'get',
params: query
})
}
// 模糊查询班次作业列表
export function listLikeShiftJob(query) {
return request({
url: '/mes/shiftJob/listLike',
method: 'get',
params: query
})
}
// 查询班次作业列表以及关联数据
export function listShiftJobWithAssociatedData(query) {
return request({
url: '/mes/shiftJob/withAssociatedData/list',
method: 'get',
params: query
})
}
// 高级查询班次作业列表
export function advListShiftJob(query) {
return request({
url: '/mes/shiftJob/advList',
method: 'get',
params: query
})
}
// 查询班次作业详细
export function getShiftJob(id) {
return request({
url: '/mes/shiftJob/' + id,
method: 'get'
})
}
// 查询班次作业详细
export function getShiftJobByShiftJobCode(shiftJobCode) {
return request({
url: '/mes/shiftJob/shiftJobCode/' + shiftJobCode,
method: 'get'
})
}
// 新增班次作业
export function addShiftJob(data) {
return request({
url: '/mes/shiftJob',
method: 'post',
data: data
})
}
// 修改班次作业
export function updateShiftJob(data) {
return request({
url: '/mes/shiftJob',
method: 'put',
data: data
})
}
// 删除班次作业
export function delShiftJob(id) {
return request({
url: '/mes/shiftJob/' + id,
method: 'delete'
})
}