This commit is contained in:
砂糖
2025-07-25 15:09:08 +08:00
parent 4a567e6fb9
commit 3f455b773a
10 changed files with 1278 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询检查任务列表
export function listCheckTask(query) {
return request({
url: '/qc/checkTask/list',
method: 'get',
params: query
})
}
// 查询检查任务详细
export function getCheckTask(taskId) {
return request({
url: '/qc/checkTask/' + taskId,
method: 'get'
})
}
// 新增检查任务
export function addCheckTask(data) {
return request({
url: '/qc/checkTask',
method: 'post',
data: data
})
}
// 修改检查任务
export function updateCheckTask(data) {
return request({
url: '/qc/checkTask',
method: 'put',
data: data
})
}
// 删除检查任务
export function delCheckTask(taskId) {
return request({
url: '/qc/checkTask/' + taskId,
method: 'delete'
})
}